3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $str = 'O:18:"ReflectionFunctioni":1:{s:4:"name";s:7:"phpinfo";}'; $obj1 = unserialize($str);
based on FmFPv
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 24 of 56 bytes in /in/Rao8g on line 4
Output for hhvm-3.12.0
Notice: Unable to unserialize: [O:18:"ReflectionFunctioni":1:{s:4:"name";s:7:"phpinfo";}]. Expected '"' but got 'i'. in /in/Rao8g on line 4
Output for hhvm-3.10.0

Process exited with code 153.
Output for 4.3.2 - 4.3.9, 5.0.0 - 5.0.2
Notice: unserialize(): Error at offset 29 of 56 bytes in /in/Rao8g on line 4
Output for 4.3.0 - 4.3.1
Notice: unserialize() [http://www.php.net/function.unserialize]: Error at offset 29 of 56 bytes in /in/Rao8g on line 4