3v4l.org

run code in 300+ PHP versions simultaneously
<?php class Myclass{ public function __call($name, $args){ echo "calling method '$name' ". implode(',', $args); } } $class = new Myclass; $class->hello("calling undefined method");

preferences:
48.03 ms | 402 KiB | 5 Q