bug48428.phpt 266 B

12345678910111213
  1. --TEST--
  2. Bug #48428 (crash when exception is thrown while passing function arguments)
  3. --FILE--
  4. <?php
  5. try {
  6. function x() { throw new Exception("ERROR"); }
  7. x(x());
  8. } catch(Exception $e) {
  9. echo($e -> getMessage());
  10. }
  11. ?>
  12. --EXPECT--
  13. ERROR