I am just reading in the php manual:
Why do we still have them in the core files of XH? Should we not better take them out?http://php.net wrote:If a file is pure PHP code, it is preferable to omit the PHP closing tag at the end of the file.
Why do we still have them in the core files of XH? Should we not better take them out?http://php.net wrote:If a file is pure PHP code, it is preferable to omit the PHP closing tag at the end of the file.
Well, the closing PHP tags are required by the PEAR codings standards. But yes, the PEAR coding standards are somewhat antiquated -- we may consider choosing something else. It's all the same to me. Actually, I rarely if ever had a problem with the closing PHP tags.svasti wrote:Why do we still have them in the core files of XH? Should we not better take them out?http://php.net wrote:If a file is pure PHP code, it is preferable to omit the PHP closing tag at the end of the file.
OKcmb wrote:Well, the closing PHP tags are required by the PEAR codings standards.