3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php unserialize("a:2:{i:0;a:1:{s:7:'user_id';s:1:'8';}i:1;a:1:{s:7:'user_id';s:1:'8';}}");
Output for 4.3.2 - 5.6.28, 7.0.0 - 7.1.0
Notice: unserialize(): Error at offset 14 of 70 bytes in /in/hnb9Y on line 3
Output for hhvm-3.12.0
Notice: Unable to unserialize: [a:2:{i:0;a:1:{s:7:'user_id';s:1:'8';}i:1;a:1:{s:7:'user_id';s:1:'8';}}]. Expected '"' but got '''. in /in/hnb9Y on line 3
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 14 of 70 bytes in /in/hnb9Y on line 3