3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php echo unserialize('{i:0;s:1:"1";i:1;s:12:"dingchaobing";i:2;i:2592000;i:3;a:2:{s:4:"role";s:5:"admin";s:8:"agent_id";N;}i:4;s:8:"rIZ4la9r";}');
based on 5pd4S
Output for 4.3.2 - 5.6.28, 7.0.0 - 7.1.0
Notice: unserialize(): Error at offset 0 of 121 bytes in /in/tat9f on line 2
Output for hhvm-3.12.0
Notice: Unable to unserialize: [{i:0;s:1:"1";i:1;s:12:"dingchaobing";i:2;i:2592000;i:3;a:2:{s:4:"role";s:5:"admin";s:8:"agent_id";N;}i:4;s:8:"rIZ4la9r";}]. Expected ':' but got 'i'. in /in/tat9f on line 2
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 121 bytes in /in/tat9f on line 2