[Phpmyadmin-devel] Issue with closing tags at the end of the file
hugues.peccatte at gmail.com
Thu Mar 5 19:12:24 CET 2015
2015-03-05 13:56 GMT+01:00 Marc Delisle <marc at infomarc.info>:
> Rahul Kadyan a écrit :
> > Hi everyone,
> > In all files of phpMyAdmin source code, closing tag (?>) is included at
> > end of file. Most frameworks like zend or symfony or laravel suggest to
> > omit closing tag to prevent accidental output of whites paces. In some
> > situations output may send headers which makes the application incapable
> > to control response headers.
> > My question is: Is there any specific reason for doing so?
> > secondly: Can we omit closing tags at the end of file?
> The most authoritative reference I could find is
> but we have a mix of files of pure PHP code and not pure PHP code, as
> can be seen with
> git grep '<?php'
> (It would be a good time to improve those "not pure" files).
> Marc Delisle (phpMyAdmin)
I agree that we should remove ?> closing files.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Developers