dis-bench / src /php /php-src /Zend /tests /exceptions /bug50005.phpt
meddyrat's picture
Replace repository contents with the original corrected artifact
1e94262
Raw History Blame Contribute Delete
330 Bytes
--TEST--
Bug #50005 (Throwing through Reflection modified Exception object makes segmentation fault)
--FILE--
<?php
class a extends exception {
public function __construct() {
$this->file = "";
}
}
throw new a;
?>
--EXPECTF--
Fatal error: Uncaught a in :%d
Stack trace:
#0 {main}
thrown in Unknown on line %d