This is an error 404
There are `0` results
preferences:
153.37 ms | 1398 KiB | 7 Q<?php
class A{
protected $stuff = 10;
function test(){
return new class($this){
function __construct(A $s){
$this->s = $s;
}
function asd(){
return (function(){
return $this->s->stuff;
})->bindTo($this, A::class)();
}
};
}
}
$x = new A;
echo $x->test()->asd();