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.
 
 

31 lines
400 B

--TEST--
place-holder
--FILE--
<?php
class TestPlaceHolder {
static function foo()
{
$fn4 = (static::bar(...));
$fn4();
}
static function bar()
{
var_dump(__METHOD__);
}
}
class TestPlaceHolder2 extends TestPlaceHolder {
static function bar()
{
echo "baz\n";
}
}
function main()
{
TestPlaceHolder2::foo();
}
?>
--EXPECT--
baz