3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php class obj { function unserialize() { echo 'haha'; } } unserialize('O:3:"obj":');
Output for 7.0.20, 7.1.5 - 7.2.11
Warning: Bad unserialize data in /in/S7c7u on line 8 Notice: unserialize(): Error at offset 8 of 10 bytes in /in/S7c7u on line 8
Output for 4.3.2 - 7.0.14, 7.1.0
Notice: unserialize(): Error at offset 13 of 10 bytes in /in/S7c7u on line 8
Output for 4.3.0 - 4.3.1
Notice: unserialize() [http://www.php.net/function.unserialize]: Error at offset 13 of 10 bytes in /in/S7c7u on line 8