Bug #68139 [Fbk->NoF]: Why phpinfo() relies on sapi instead of directive html_errors?
| From: | ab@php.net | Date: | Mon, 13 Oct 2014 16:14:58 +0000 |
| Subject: | Bug #68139 [Fbk->NoF]: Why phpinfo() relies on sapi instead of directive html_errors? | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-188071@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=68139&edit=1
ID: 68139
Updated by: ab@php.net
Reported by: someone dot wanted dot to dot be dot unknown at
gmail dot com
Summary: Why phpinfo() relies on sapi instead of directive
html_errors?
-Status: Feedback
+Status: No Feedback
Type: Bug
Package: CGI/CLI related
Operating System: Windows
PHP Version: 5.5.17
Block user comment: N
Private report: N
Previous Comments:
------------------------------------------------------------------------
[2014-10-04 09:49:40] ab@php.net
What do html_errors have to do with phpinfo? Please tell instead, what your issue in the first place
is.
Thanks.
------------------------------------------------------------------------
[2014-10-02 22:11:42] someone dot wanted dot to dot be dot unknown at gmail dot com
Description:
------------
I'm greatly impressed that phpinfo() does not allow configuring html or plain text should be
printed.
Developers, you allow change the behavior of
var_dump by means of
html_errors directive. But why *** you did not this with phpinfo too? I
hope you start thinking about that problem at least.
Srr for emotions, but this is inconsistency in language api.
Test script:
---------------
<?php
phpinfo();
Expected result:
----------------
HTML output in any sapi, depending on html_errors directive or similar.
Actual result:
--------------
plain-text result.
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=68139&edit=1