3v4l.org

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