xref: /PHP-5.6/Zend/tests/bug60444.phpt (revision 1d6c98a1)
1--TEST--
2Bug #60444 (Segmentation fault with include & class extending)
3--FILE--
4<?php
5class Foo {
6	public function __construct() {
7		eval("class Bar extends Foo {}");
8		Some::foo($this);
9	}
10}
11class Some {
12	public static function foo(Foo $foo) {
13	}
14}
15new Foo;
16echo "done\n";
17--EXPECT--
18done
19