Version 5.95, following PHP file is marked as invalid by the built-in parser:
<?php
echo "Hello world! There is no php-close tag at the end of this file...";
|
The error message is: "Reached the end of the document before the ending... ?> ..."
The thing is, that...
- PHP runs such a script without any problem
- i *want* miss the PHP close tag. It helps to prevent the "HTTP headers already sent" errors, because I don't need to beware of whitespaces at the end of included files.
Is there a way how to make the code above valid? (I haven't found such setting)
If not, I'd propose to change back the parser's behavior.