3v4l.org

run code in 300+ PHP versions simultaneously
<?php class ClassWithCall { function __call($name, $arguments) { var_dump(func_get_args()); } } $cc = new ClassWithCall(); $cc->{'any string here'}(123);

preferences:
43.57 ms | 404 KiB | 5 Q