ID:               22895
 Updated by:       [EMAIL PROTECTED]
 Reported By:      [EMAIL PROTECTED]
-Status:           Assigned
+Status:           Closed
 Bug Type:         Output Control
 Operating System: Linux
 PHP Version:      5CVS-2003-03-26 (dev)
 Assigned To:      helly
 New Comment:

This bug has been fixed in CVS.

In case this was a PHP problem, snapshots of the sources are packaged
every three hours; this change will be in the next snapshot. You can
grab the snapshot at http://snaps.php.net/.
 
In case this was a documentation problem, the fix will show up soon at
http://www.php.net/manual/.

In case this was a PHP.net website problem, the change will show
up on the PHP.net site and on the mirror sites in short time.
 
Thank you for the report, and for helping us make PHP better.

The error output is controlled by these settings:
display_errors
log_errors
html_errors
report_zend_debug

having all of them to 1 and setting log file to stdout
results in every error reported thrice.

I changed some defaults now.


Previous Comments:
------------------------------------------------------------------------

[2003-03-26 07:45:29] [EMAIL PROTECTED]

Marcus, could you have a look at this?

------------------------------------------------------------------------

[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

Reply via email to