3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php function __autoload($c){echo $c;} echo defined('foo::bar');
based on 8HfD3
Output for 5.0.0 - 5.2.3, 5.2.13 - 7.1.0
foo
Output for 5.2.4 - 5.2.12
foo Fatal error: Class 'foo' not found in /in/NNWPA on line 5
Process exited with code 255.
Output for 4.3.5 - 4.4.9
Output for 4.3.0 - 4.3.4
0