3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $obj = unserialize('O:1:"Y":7:{s:1:"a";N;s:1:"b";i:2;s:4:"*c";N;s:4:"*d";s:1:"d";s:4:"Ye";N;s:4:"Yi";s:3:"bar";s:4:"Xi";s:3:"foo";}');
based on SRT4V
Output for 4.3.10 - 4.4.9, 5.0.3 - 7.1.0
Notice: unserialize(): Error at offset 42 of 111 bytes in /in/OYr4A on line 4
Output for 4.3.2 - 4.3.9, 5.0.0 - 5.0.2
Notice: unserialize(): Error at offset 55 of 111 bytes in /in/OYr4A on line 4
Output for 4.3.0 - 4.3.1
Notice: unserialize() [http://www.php.net/function.unserialize]: Error at offset 55 of 111 bytes in /in/OYr4A on line 4