bug50005.phpt 330 B

12345678910111213141516171819
  1. --TEST--
  2. Bug #50005 (Throwing through Reflection modified Exception object makes segmentation fault)
  3. --FILE--
  4. <?php
  5. class a extends exception {
  6. public function __construct() {
  7. $this->file = "";
  8. }
  9. }
  10. throw new a;
  11. ?>
  12. --EXPECTF--
  13. Fatal error: Uncaught a in :%d
  14. Stack trace:
  15. #0 {main}
  16. thrown in Unknown on line %d