On 24/06/10 23:08, Ashley Sheridan wrote:
On Thu, 2010-06-24 at 23:02 +0100, Tim Schofield wrote:

Very strange, as

<?

define( 'LOG_NORMAL',  0 );
define( 'LOG_WARNiNG', 1 );
define( 'LOG_ERROR',   2 );

echo 'LOG_NORMAL '  . LOG_NORMAL  ."\n";
echo 'LOG_WARNiNG ' . LOG_WARNiNG ."\n";
echo 'LOG_ERROR '   . LOG_ERROR   ."\n";

?>

seems to work fine

Tim


It would, you misspelt LOG_WARNING with a lowercase 'i' ;)

Thanks,
Ash
http://www.ashleysheridan.co.uk


Thats what I was trying to illustrate, it worked with lower case i but not with upper case, but James has explained it.

Thanks
Tim

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to