Re: cvs: php-src(PHP_5_2) /ext/json json.c utf8_to_utf16.c /ext/json/tests bug43941.phpt
| From: | Stanislav Malyshev | Date: | Fri, 22 Aug 2008 17:48:10 +0000 |
| Subject: | Re: cvs: php-src(PHP_5_2) /ext/json json.c utf8_to_utf16.c /ext/json/tests bug43941.phpt | ||
| References: | 1 2 | Groups: | php.cvs |
| Request: | Send a blank email to php-cvs+get-52598@lists.php.net to get a copy of this message | ||
Hi!
Why do we need this check here, wouldn't it already be executed by the internal error handler?IIRC, it plays kind of opposite to what happens to the error handler - if display_errors is on, nothing is printed, in order not to put that error message into wrong context. I'm not sure it's that useful, but I remember somebody asking for it. My personal opinion is that running production server with display_errors=on means one already have shot oneself in the foot, but you know. IIRC there are some other places which do the same. -- Stanislav Malyshev, Zend Software Architect stas@zend.com http://www.zend.com/ (408)253-8829 MSN: stas@zend.com