3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php function __autoload($class_name) { include $class_name . '.php'; } $class = 'Foo..Test'; var_dump($class instanceof stdClass); ?>
based on q1E3r
Output for 7.2.0
Deprecated: __autoload() is deprecated, use spl_autoload_register() instead in /in/bhY8R on line 4 bool(false)
Output for 5.3.17 - 5.4.16, 5.4.18 - 7.1.10
bool(false)
Output for 5.4.17

Process exited with code 137.