summaryrefslogtreecommitdiff
path: root/Zend/tests/bug50005.phpt
blob: 2ed055a129e61dfd95ff6ce626172cf8052c34f0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
--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 a in :%d
Stack trace:
#0 {main}
  thrown in Unknown on line %d