3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php spl_autoload_register(); var_dump(unserialize('O:5:"ZO2j7":0:{}'));
based on VIK1p
Output for 7.1.25 - 7.3.1
Warning: spl_autoload(): open_basedir restriction in effect. File(zo2j7.inc) is not within the allowed path(s): (/tmp:/in:/etc) in /in/7ZfMk on line 5 Warning: spl_autoload(): open_basedir restriction in effect. File(zo2j7.php) is not within the allowed path(s): (/tmp:/in:/etc) in /in/7ZfMk on line 5 object(__PHP_Incomplete_Class)#1 (1) { ["__PHP_Incomplete_Class_Name"]=> string(5) "ZO2j7" }
Output for 7.1.20
Warning: spl_autoload(): open_basedir restriction in effect. File(zo2j7.inc) is not within the allowed path(s): (/tmp:/in) in /in/7ZfMk on line 5 Warning: spl_autoload(): open_basedir restriction in effect. File(zo2j7.php) is not within the allowed path(s): (/tmp:/in) in /in/7ZfMk on line 5 object(__PHP_Incomplete_Class)#1 (1) { ["__PHP_Incomplete_Class_Name"]=> string(5) "ZO2j7" }
Output for 7.0.6 - 7.1.10
object(__PHP_Incomplete_Class)#1 (1) { ["__PHP_Incomplete_Class_Name"]=> string(5) "ZO2j7" }
Output for 7.0.0 - 7.0.5
Fatal error: Uncaught LogicException: Class ZO2j7 could not be loaded in /in/7ZfMk:5 Stack trace: #0 [internal function]: spl_autoload('ZO2j7') #1 /in/7ZfMk(5): unserialize('O:5:"ZO2j7":0:{...') #2 {main} thrown in /in/7ZfMk on line 5
Process exited with code 255.
Output for 5.3.19 - 5.6.28
Fatal error: Uncaught exception 'LogicException' with message 'Class ZO2j7 could not be loaded' in /in/7ZfMk:5 Stack trace: #0 [internal function]: spl_autoload('ZO2j7') #1 /in/7ZfMk(5): unserialize('O:5:"ZO2j7":0:{...') #2 {main} thrown in /in/7ZfMk on line 5
Process exited with code 255.