3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php function __autoload($class) { var_export($class); print "\n"; } $x = []; $x[] = class_exists('null.2'); var_export($x);
based on 5uhgP
Output for 7.2.0 - 7.3.0rc3
Deprecated: __autoload() is deprecated, use spl_autoload_register() instead in /in/qH9TT on line 3 array ( 0 => false, )
Output for 5.6.0 - 5.6.30, hhvm-3.15.4, 7.0.0 - 7.1.20
array ( 0 => false, )