3v4l.org

run code in 300+ PHP versions simultaneously
<?php class Object { public $func; }; $f = new Object(); $f->func = function($a) { echo "--{$a}--"; }; // $f->func("hi"); $func = $f->func; $func("bye");

This is an error 404

There are `0` results


preferences:
147.68 ms | 1399 KiB | 7 Q