Re: [PHP] Unexpected behaviour from define()

2010-06-25 Thread James Long
k for 'display_errors = 1' in php.ini since I was seeing error messages for other errors. Thanks again. Jim On Fri, Jun 25, 2010 at 10:38:39AM +0100, Richard Quadling wrote: > On 24 June 2010 22:41, James Long wrote: > error_reporting(-1); > ini_set('display_errors',

[PHP] Re: Unexpected behaviour from define()

2010-06-24 Thread James Long
On Thu, Jun 24, 2010 at 02:41:51PM -0700, James Long wrote: > Perhaps I am missing something basic here. > > Why does the LOG_WARNING constant take on a value of 4, when > it is defined with a value of 1? > > Thank you! > > Jim Answering my own question here LOG_WA

[PHP] Unexpected behaviour from define()

2010-06-24 Thread James Long
Perhaps I am missing something basic here. Why does the LOG_WARNING constant take on a value of 4, when it is defined with a value of 1? Thank you! Jim $ cat bug.php $ php bug.php LOG_NORMAL 0 LOG_WARNING 4 LOG_ERROR 2 $ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visi