I have a very strange situation: code shown below should print no error in PHP.
try { throw new Exception('foo'); } catch(Exception $e) { // here could be some custom functions to handle errors die(); } On my computer it prints
( ! ) SCREAM: Error suppression ignored for ( ! ) Exception: foo. in D:\wamp\www\index.php on line 4 Why? Which php ini option does that?
$e = 5/0;did print an error (if only it werent in try&catch block)