ID:               21007
 Updated by:       [EMAIL PROTECTED]
 Reported By:      holliwell at gmx dot net
-Status:           Open
+Status:           Closed
 Bug Type:         PHP options/info functions
 Operating System: all
 PHP Version:      4.3.0
-Assigned To:      
+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.




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

[2003-01-04 10:02:10] axel_kollmorgen at hotmail dot com

having "html_errors" "off" causing phpinfo() outputting text-only
doesn't make any sense to me, neither. i completely support
[EMAIL PROTECTED]: phpinfo() is not an error, so it shouldn't depend on
"html_errors".

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

[2002-12-29 23:56:01] [EMAIL PROTECTED]

Please explain why this is intended behavior, it does not make sense to
me.  html_errors is for html_errors, it's documented as such in
php.ini:

; Disable the inclusion of HTML tags in error messages.
;html_errors = Off

This says nothing about phpinfo() and IMHO it shouldn't affect it at
all.  The patch that resulted in this change is here:

* add phpinfo() support for CLI.
http://cvs.php.net/diff.php/php4/ext/standard/info.c?r1=1.193&r2=1.194

Why is html_errors being used in this way?  When html_errors = off,
errors remain readable when viewing in a browser but this textual
version of phpinfo() == complete fubar in the browser (yes, one can use
<pre>).  One might turn html_errors off, for example, to use
error_prepend_string/error_append_string in some way.  Or they just
don't want html in the errors... I don't see how this has anything to
do with phpinfo() output.  Why doesn't that patch instead check if sapi
= cli? 

A person shouldn't be forced to have this textual phpinfo() if they
decide to not include html in php generated errors.  Please explain. 
phpinfo() is not an error! :)

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

[2002-12-14 15:17:42] [EMAIL PROTECTED]

Where?  Put the information in this bug report.

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

[2002-12-14 13:39:31] davidbulock at tech-center dot com

I've submitted a note to document this behavior in the PHP Manual.

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

[2002-12-14 06:31:19] holliwell at gmx dot net

If this is intended behaviour, this seems to be a doc problem, since I
can't find anything about in the docs.

Regards
Friedhelm Betz

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

The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
    http://bugs.php.net/21007

-- 
Edit this bug report at http://bugs.php.net/?id=21007&edit=1

Reply via email to