|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2003-03-26 07:45 UTC] edink@php.net
[2003-03-30 08:12 UTC] helly@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sat Oct 25 01:00:01 2025 UTC |
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 '{'