| 
        php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login | 
 Patch bug60444.phpt for Reproducible crash Bug #60444Patch version 2011-12-05 08:19 UTC Return to Bug #60444 | Download this patchPatch 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
         | 
    
            
                 
                Copyright © 2001-2025 The PHP GroupAll rights reserved.  | 
        Last updated: Tue Nov 04 06:00:01 2025 UTC |