ID: 22895 Updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] -Status: Open +Status: Assigned Bug Type: Output Control Operating System: Linux PHP Version: 5CVS-2003-03-26 (dev) -Assigned To: +Assigned To: helly New Comment:
Marcus, could you have a look at this? Previous Comments: ------------------------------------------------------------------------ [2003-03-26 07:08:11] [EMAIL PROTECTED] PHP cli outputs errors in text AND html when using it like: php application.php However, it does _not_ output HTML errors if you use the '-r' syntax: $ php -r try Command line code(1) : Parse error - parse error, unexpected $end, expecting '{' But from a file: $ cat application.php <?php try ?> $ php application.php <br /> <b>Parse error</b>: parse error, unexpected ';', expecting '{' in <b>/home/mfischer/src/php/ze2/apptest/application.php</b> on line <b>1</b><br /> /home/mfischer/src/php/ze2/apptest/application.php(1) : Parse error - parse error, unexpected ';', expecting '{' ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=22895&edit=1