3v4l.org

run code in 300+ PHP versions simultaneously
<?php class Example { public function __call($prop, &$args) { var_dump($prop, $value); } } $e = new Example; $e->foo('bar', 'baz');
Output for 5.3.0 - 5.3.28, 5.4.0 - 5.4.27
Fatal error: Method Example::__call() cannot take arguments by reference in /in/h1Z6V on line 6
Process exited with code 255.

preferences:
180.31 ms | 1395 KiB | 64 Q