note 88291 deleted from function.error-reporting by danbrown
| From: | danbrown@php.net | Date: | Mon, 19 Jan 2009 17:01:42 +0000 |
| Subject: | note 88291 deleted from function.error-reporting by danbrown | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-149465@lists.php.net to get a copy of this message | ||
Note Submitter: johan at bluemoonit dot net
----
To Remy: I'm pretty sure the & operator doesn't do the same as the | operator:
<?php
error_reporting( E_ERROR & E_STRICT);
echo error_reporting(); //echos 0
error_reporting( E_ERROR | E_STRICT);
echo error_reporting(); //echos 2049
?>
So your standardizing is incorrect.