6b61441bd9
The interpreter fix was different than the jit/ir fix because ##translateFPushObjMethodD()##'s ##i.inputs[0]->rtt.valueClass()## is null (with a TODO in the code to make it not null). It then goes into the slowpath. Another one like this and I think I should have a different attribute for static closures :(
8 linhas
93 B
PHP
8 linhas
93 B
PHP
<?php
|
|
|
|
function a() {
|
|
$a = static function() { var_dump(true); };
|
|
$a->__invoke();
|
|
}
|
|
a();
|