From 89206cfca46de78a138eb7d5bde7dccdbc7c02ce Mon Sep 17 00:00:00 2001 From: Ilia Alshanetsky Date: Mon, 29 Mar 2004 00:52:20 +0000 Subject: [PATCH] MFH: Fixed bug #27731 (error_reporting() inside @ block fails to set error_reporting level). --- NEWS | 2 ++ tests/lang/bug27731.phpt | 10 ++++++++++ 2 files changed, 12 insertions(+) create mode 100644 tests/lang/bug27731.phpt diff --git a/NEWS b/NEWS index 1dfca4c398..8a3274a849 100644 --- a/NEWS +++ b/NEWS @@ -2,6 +2,8 @@ PHP 4 NEWS ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||| ?? ??? 2004, Version 4.3.6 - Fixed bug #27732 (Fixed compilation bug inside php_sab_info.h). (Ilia) +- Fixed bug #27731 (error_reporting() inside @ block fails to set + error_reporting level). (Ilia) - Fixed bug #27719 (mktime issues on and around DST changeover). (Rasmus) - Fixed bug #27717 (Test Failures when compiled on 64-bit mode). (Ard, Derick) - Fixed bug #27687 (Bug Adding Default Charset to 'text/*' Content-Type diff --git a/tests/lang/bug27731.phpt b/tests/lang/bug27731.phpt new file mode 100644 index 0000000000..0c72d43504 --- /dev/null +++ b/tests/lang/bug27731.phpt @@ -0,0 +1,10 @@ +--TEST-- +Bug #27731 (error_reporing() call inside @ block does not work correctly) +--FILE-- + +--EXPECT-- +int(0) -- 2.50.1