mirror of
https://github.com/php/php-src.git
synced 2024-12-20 23:39:46 +08:00
20 lines
332 B
Plaintext
20 lines
332 B
Plaintext
|
--TEST--
|
||
|
Bug #50005 (Throwing through Reflection modified Exception object makes segmentation fault)
|
||
|
--FILE--
|
||
|
<?php
|
||
|
|
||
|
class a extends exception {
|
||
|
public function __construct() {
|
||
|
$this->file = null;
|
||
|
}
|
||
|
}
|
||
|
|
||
|
throw new a;
|
||
|
|
||
|
?>
|
||
|
--EXPECTF--
|
||
|
Fatal error: Uncaught exception 'a' in :%d
|
||
|
Stack trace:
|
||
|
#0 {main}
|
||
|
thrown in Unknown on line %d
|