Confirmed users
1,209
edits
No edit summary |
|||
Line 6: | Line 6: | ||
== No new line at EOF == | == No new line at EOF == | ||
[http://pear.php.net/manual/en/standards.file.php Leaving a new line] at the end of a .php file after the ?> will make horrible things happen for HTTP headers. '''Do not follow this standard'''. | [http://pear.php.net/manual/en/standards.file.php Leaving a new line] at the end of a .php file after the ?> will make horrible things happen for HTTP headers. '''Do not follow this standard'''. | ||
: (In that case, the PHP documentation [http://www.php.net/manual/en/language.basic-syntax.instruction-separation.php suggests removing the closing tag at the end of the file altogether].) | |||
= Comments and PHPDoc = | = Comments and PHPDoc = |