3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $serialized = 'a:3:{i:0;s:5:"example1";i:1;s:6:"sa";i:2;s:6:"ass";}'; var_dump(unserialize($serialized));
Output for 4.3.10 - 4.4.9, 5.0.3 - 7.1.0
Notice: unserialize(): Error at offset 19 of 52 bytes in /in/Dp6J7 on line 3 bool(false)
Output for 4.3.2 - 4.3.9, 5.0.0 - 5.0.2
Notice: unserialize(): Error at offset 21 of 52 bytes in /in/Dp6J7 on line 3 bool(false)
Output for 4.3.0 - 4.3.1
Notice: unserialize() [http://www.php.net/function.unserialize]: Error at offset 21 of 52 bytes in /in/Dp6J7 on line 3 bool(false)