3v4l.org

run code in 200+ 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 - 7.1.7
Notice: unserialize(): Error at offset 0 of 121 bytes in /in/tat9f on line 2
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