File:  [ELWIX - Embedded LightWeight unIX -] / embedaddon / php / Zend / tests / bug60444.phpt
Revision 1.1: download - view: text, annotated - select for diffs - revision graph
Tue May 29 12:34:36 2012 UTC (12 years, 11 months ago) by misho
CVS tags: MAIN, HEAD
Initial revision

--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

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>