Closed (fixed)
Project:
Maestro
Version:
7.x-1.x-dev
Component:
Code
Priority:
Minor
Category:
Task
Assigned:
Reporter:
Created:
3 Sep 2011 at 12:11 UTC
Updated:
27 May 2014 at 19:38 UTC
Jump to comment: Most recent
See http://drupal.org/coding-standards :
Removing it eliminates the possibility for unwanted whitespace at the end of files which can cause "header already sent" errors, XHTML/XML validation issues, and other problems.
The closing delimiter at the end of a file is optional.
PHP.net itself removes the closing delimiter from the end of its files (example: prepend.inc), so this can be seen as a "best practice."
| Comment | File | Size | Author |
|---|---|---|---|
| maestro_no_php_close.patch | 1.22 KB | aron novak |
Comments
Comment #1
aron novakComment #2
_randy commentedFixed in git
Comment #3.0
(not verified) commentedcorrect broken link