3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php var_dump(unserialize('O:8:"stdClass":+:{}')); var_dump(unserialize('a:+:{}'));
Output for 7.1.10 - 7.2.0
Notice: unserialize(): Error at offset 17 of 19 bytes in /in/v3hUY on line 3 bool(false) Notice: unserialize(): Error at offset 0 of 6 bytes in /in/v3hUY on line 4 bool(false)
Output for 5.0.0 - 7.1.7
object(stdClass)#1 (0) { } Notice: unserialize(): Error at offset 0 of 6 bytes in /in/v3hUY on line 4 bool(false)
Output for 4.3.2 - 4.4.9
object(stdClass)(0) { } Notice: unserialize(): Error at offset 0 of 6 bytes in /in/v3hUY on line 4 bool(false)
Output for 4.3.0 - 4.3.1
object(stdClass)(0) { } Notice: unserialize() [http://www.php.net/function.unserialize]: Error at offset 0 of 6 bytes in /in/v3hUY on line 4 bool(false)