Hi,

If a trailing white space remains after a PHP closing tag, it will be
sent to the brower
and this can break the data flow sent to the client. For example, if
we want to change the
HTTP header or sent gzipped content. Such issue are very painful to debug.
Another point is for PHP itself a EOF is more simple to parse than a
to the caracter string
"?>".
Is it possible to update the
https://forge.indepnet.net/projects/glpi/wiki/CodingStandards
to forbid such closing tag ?> at the end of the files.

Two related articles:
http://codeigniter.com/user_guide/general/styleguide.html#php_closing_tag
http://blog.rogeriopvl.com/archives/php-files-closing-the-php-tag-or-not/

Best regards,
-- 
     Gonéri Le Bouder

_______________________________________________
Glpi-dev mailing list
Glpi-dev@gna.org
https://mail.gna.org/listinfo/glpi-dev

Reply via email to