3v4l.org

run code in 300+ PHP versions simultaneously
<?php class a { function b() { $pa = '1'; $func = function($this) use ($pa) { $this->property = $pa; }; } } a::b();

This is an error 404

There are `0` results


preferences:
154.57 ms | 1390 KiB | 7 Q