3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php class google{}function __autoload($c){eval("class _$c{} class $c{}");echo strlen($c);}function g($x){class_exists($x);} g('bing'); g('bing'); g('google');
based on GFUg4
Output for 7.2.0
Deprecated: __autoload() is deprecated, use spl_autoload_register() instead in /in/tW0Gg on line 3 4
Output for 5.3.18 - 7.1.10
4