bug73337.phpt 287 B

123456789
  1. --TEST--
  2. Bug #73337 (try/catch not working with two exceptions inside a same operation)
  3. --FILE--
  4. <?php
  5. class d { function __destruct() { throw new Exception; } }
  6. try { new d + new d; } catch (Exception $e) { print "Exception properly caught\n"; }
  7. ?>
  8. --EXPECT--
  9. Exception properly caught