3v4l.org

run code in 300+ PHP versions simultaneously
<?php // Everything you enter here will be executed by our servers. Try it! class A { function __call() {print 1;} } $a = new A; $a->a();
Output for 5.3.0 - 5.3.27, 5.4.0 - 5.4.17
Fatal error: Method A::__call() must take exactly 2 arguments in /in/j3muN on line 7
Process exited with code 255.

preferences:
177.61 ms | 1395 KiB | 53 Q