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] [EMAIL PROTECTED]

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

Reply via email to