3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php function __autoload($class) { echo $class; } unserialize('O:7:"a/../s\x00"::{}');
based on MHY0T
Output for 7.2.0
Deprecated: __autoload() is deprecated, use spl_autoload_register() instead in /in/tdBis on line 3 Notice: unserialize(): Error at offset 12 of 20 bytes in /in/tdBis on line 7
Output for 4.3.10 - 4.4.9, 5.0.3 - 7.1.10
Notice: unserialize(): Error at offset 12 of 20 bytes in /in/tdBis on line 7
Output for 5.0.0 - 5.0.2
a/../s\ Notice: unserialize(): Error at offset 18 of 20 bytes in /in/tdBis on line 7
Output for 4.3.2 - 4.3.9
Notice: unserialize(): Error at offset 18 of 20 bytes in /in/tdBis on line 7
Output for 4.3.0 - 4.3.1
Notice: unserialize() [http://www.php.net/function.unserialize]: Error at offset 18 of 20 bytes in /in/tdBis on line 7