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