diff options
Diffstat (limited to 'Zend/tests/error_reporting08.phpt')
-rw-r--r-- | Zend/tests/error_reporting08.phpt | 32 |
1 files changed, 0 insertions, 32 deletions
diff --git a/Zend/tests/error_reporting08.phpt b/Zend/tests/error_reporting08.phpt deleted file mode 100644 index 362aa37650..0000000000 --- a/Zend/tests/error_reporting08.phpt +++ /dev/null @@ -1,32 +0,0 @@ ---TEST-- -testing @ and error_reporting - 8 ---FILE-- -<?php - -error_reporting(E_ALL); - -function foo1($arg) { -} - -function foo2($arg) { -} - -function foo3($arg) { - error_reporting(E_ALL|E_STRICT); - echo $undef3; - throw new Exception("test"); -} - -try { - @foo1(@foo2(@foo3())); -} catch (Exception $e) { -} - -var_dump(error_reporting()); - -echo "Done\n"; -?> ---EXPECTF-- -Notice: Undefined variable: undef3 in %s on line %d -int(8191) -Done |