3v4l.org

run code in 300+ PHP versions simultaneously
<?php class Lazy{ public function __call($method, $arguments){ $arguments = implode(', ', $arguments); echo 'Call to method '.$method.'() with arguments '.$arguments.' failed'; } } $lazy = new Lazy(); $lazy->a('foo', 'bar'); // Call to a() with arguments foo, bar failed

preferences:
44.53 ms | 402 KiB | 5 Q