#27877 [Fbk->Csd]: error_reporting sets to 0 after @
| From: | oleg at e-kazan dot ru | Date: | Tue, 06 Apr 2004 07:44:05 +0000 |
| Subject: | #27877 [Fbk->Csd]: error_reporting sets to 0 after @ | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-57573@lists.php.net to get a copy of this message | ||
ID: 27877
User updated by: oleg at e-kazan dot ru
Reported By: oleg at e-kazan dot ru
-Status: Feedback
+Status: Closed
Bug Type: Unknown/Other Function
Operating System: Linux RedHat 8.0
PHP Version: 4.3.6RC1
New Comment:
It works correctly.
Previous Comments:
------------------------------------------------------------------------
[2004-04-06 03:06:12] derick@php.net
Please try using this CVS snapshot:
http://snaps.php.net/php4-STABLE-latest.tar.gz
For Windows:
http://snaps.php.net/win32/php4-win32-STABLE-latest.zip
------------------------------------------------------------------------
[2004-04-06 02:46:58] oleg at e-kazan dot ru
Description:
------------
error_reporting sets to 0 after @
Reproduce code:
---------------
<?
error_reporting(E_ALL);
function a()
{
@$a = 1;
};
var_dump(error_reporting());
a();
var_dump(error_reporting());
?>
Expected result:
----------------
int(2047)
int(2047)
Actual result:
--------------
int(2047)
int(0)
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=27877&edit=1