3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $a = unserialize('s:4:"test"X'); var_dump($a);
based on qXBS5
Output for 5.6.21 - 5.6.28, 7.0.6 - 7.2.0
Notice: unserialize(): Error at offset 10 of 11 bytes in /in/vQhNd on line 3 bool(false)
Output for 5.3.22 - 5.6.20, 7.0.0 - 7.0.5
string(4) "test"