|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2002-07-23 12:48 UTC] derick@php.net
[2002-07-23 16:09 UTC] paul dot php at burney dot ws
[2002-08-24 01:00 UTC] php-bugs at lists dot php dot net
[2002-08-24 08:33 UTC] sniper@php.net
[2003-06-01 07:18 UTC] helly@php.net
|
|||||||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Tue Dec 02 06:00:01 2025 UTC |
It would appear that the error_reporting function in PHP 4.2.2 doesn't work correctly. (Apache 1.3.26) Here is a sample script. In php.ini, the error level is set to E_ALL ^ E_NOTICE. <?php error_reporting(E_ALL); phpinfo(); ?> In the resulting web page, it shows both the local value and the master value of error_reporting as 2039, instead of 2047 for the local value. The following does work correctly: <?php ini_set('error_reporting', E_ALL); phpinfo(); ?> That shows 2047 for the local value and 2039 for the master value. PHP configuration: './configure' '--prefix=/usr/local/php-4.2.2' '--with-mysql=/usr' '--with-pgsql=/usr' '--enable-trans-sid' '--with-config-file-path=/usr/local/php' '--with-zlib' '--enable-yp' '--enable-ftp' '--enable-magic-quotes' '--enable-force-cgi-redirect' '--enable-discard-path' '--with-kerberos'