TypePHP 编译器 https://swoole.com/aot/
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

27 lines
362 B

--TEST--
Bug #27535 (Objects pointing to each other cause Apache to crash)
--FILE--
<?php
class Class1
{
public $_Class2_obj;
}
class Class2
{
public $storage = '';
function __construct()
{
$this->storage = new Class1();
$this->storage->_Class2_obj = $this;
}
}
function main() {
$foo = new Class2();
}
?>
--EXPECT--