3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php function __autoload($class) { echo $class; } unserialize('O:7:"a/../s\x00"::{}');
based on MHY0T
Output for 4.3.10 - 4.4.9, 5.0.3 - 5.6.28, 7.0.0 - 7.1.0
Notice: unserialize(): Error at offset 12 of 20 bytes in /in/tdBis on line 7
Output for hhvm-3.10.0 - 3.12.0
Notice: Unable to unserialize: [O:7:"a/../s\x00"::{}]. Expected '"' but got 'x'. 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