1--TEST-- 2testing @ and error_reporting - 8 3--FILE-- 4<?php 5 6error_reporting(E_ALL & ~E_DEPRECATED); 7 8function foo1($arg) { 9} 10 11function foo2($arg) { 12} 13 14function foo3() { 15 error_reporting(E_ALL); 16 echo $undef3; 17 throw new Exception("test"); 18} 19 20try { 21 @foo1(@foo2(@foo3())); 22} catch (Exception $e) { 23} 24 25var_dump(error_reporting()); 26 27echo "Done\n"; 28?> 29--EXPECTF-- 30Notice: Undefined variable: undef3 in %s on line %d 31int(32767) 32Done 33