php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Return to Bug #60444
Patch bug60444.phpt revision 2011-12-05 08:19 UTC by laruence@php.net
Patch bug60444.patch revision 2011-12-05 08:18 UTC by laruence@php.net

Patch bug60444.phpt for Reproducible crash Bug #60444

Patch version 2011-12-05 08:19 UTC

Return to Bug #60444 | Download this patch
Patch Revisions:

Developer: laruence@php.net

--TEST--
Bug #60444 (Segmentation fault with include & class extending)
--FILE--
<?php
class Foo {
	public function __construct() {
		$content = "class Some { public static function foo(Foo \$foo) {} } class Bar extends Foo {}";
		eval($content);
		Some::foo($this);
	}
}

new Foo;
echo "done";
?>
--EXPECT--
done
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Tue Dec 03 18:01:30 2024 UTC