#27877 [Opn->Fbk]: error_reporting sets to 0 after @

From: Date: Tue, 06 Apr 2004 07:06:13 +0000
Subject: #27877 [Opn->Fbk]: error_reporting sets to 0 after @
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-57570@lists.php.net to get a copy of this message
ID: 27877 Updated by: derick@php.net Reported By: oleg at e-kazan dot ru -Status: Open +Status: Feedback Bug Type: Unknown/Other Function Operating System: Linux RedHat 8.0 PHP Version: 4.3.6RC1 New Comment: 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 Previous Comments: ------------------------------------------------------------------------ [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

« previous php.bugs (#57570) next »