summaryrefslogtreecommitdiff
path: root/Zend/tests/bug50005.phpt
blob: 8b3817cd5f292aced555975c1203c74332bec97e (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