mirror of
https://github.com/php/php-src.git
synced 2024-09-21 09:57:23 +00:00
30a082cb16
Closes GH-6891
20 lines
330 B
PHP
20 lines
330 B
PHP
--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
|