--TEST-- Bug #65372 (Segfault in gc_zval_possible_root when return reference fails) --FILE-- Manager = $this; } public static function &GetCurrent() { return ChildClass::Get(); } public static function &Get() { return parent::Get(); } } $staff = ChildClass::GetCurrent(); ?> --EXPECTF-- Notice: Only variable references should be returned by reference in %sbug65372.php on line 30