3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $serialized = 'a:3:{i:0;s:5:"apple";i:1;s:6:"banana";i:2;s:6:"aaaa";}'; var_dump(unserialize($serialized));
Output for 4.3.10 - 4.4.9, 5.0.3 - 5.6.28, 7.0.0 - 7.1.0
Notice: unserialize(): Error at offset 53 of 54 bytes in /in/cDWvl on line 3 bool(false)
Output for hhvm-3.12.0
Notice: Unable to unserialize: [a:3:{i:0;s:5:"apple";i:1;s:6:"banana";i:2;s:6:"aaaa";}]. Expected '"' but got '}'. in /in/cDWvl on line 3 bool(false)
Output for hhvm-3.10.0

Process exited with code 153.
Output for 4.3.2 - 4.3.9, 5.0.0 - 5.0.2
Notice: unserialize(): Error at offset 56 of 54 bytes in /in/cDWvl on line 3 bool(false)
Output for 4.3.0 - 4.3.1
Notice: unserialize() [http://www.php.net/function.unserialize]: Error at offset 56 of 54 bytes in /in/cDWvl on line 3 bool(false)