3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $str = '"O:9:"Exception":1:{s:10:"'."\0*\0".'message";s:2:"<>";}'; $obj1 = unserialize($str);
based on lRfcl
Output for 4.3.2 - 5.6.28, 7.0.0 - 7.1.0
Notice: unserialize(): Error at offset 0 of 48 bytes in /in/Z0c76 on line 4
Output for hhvm-3.12.0
Notice: Unable to unserialize: ["O:9:"Exception":1:{s:10:"]. Expected ':' but got 'O'. in /in/Z0c76 on line 4
Output for hhvm-3.10.0

Process exited with code 153.
Output for 4.3.0 - 4.3.1
Notice: unserialize() [http://www.php.net/function.unserialize]: Error at offset 0 of 48 bytes in /in/Z0c76 on line 4