#20196 closed defect (bug) (invalid)
No PHP closure tag in index.php
| Reported by: | carldanley | Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | General | Version: | 3.4 |
| Severity: | trivial | Keywords: | needs-patch |
| Cc: | Focuses: |
Description
small bug, thats all. also, this is my first patch. index.php is missing a php closure tag.
Attachments (1)
Change History (4)
#1
@
14 years ago
- Milestone Awaiting Review
- Resolution → invalid
- Status new → closed
#2
@
14 years ago
Indeed, leaving closing PHP tags off files is valid, acceptable, and in some cases even preferred (see http://www.php.net/manual/en/language.basic-syntax.instruction-separation.php for a note). As dd32 points out, we recently altered our standard to omit them everywhere. But thanks for the patch!
Note:
See TracTickets
for help on using tickets.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
the fix for this.