3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php var_dump(unserialize('s:4:"ryat"x'));
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/lJuYr on line 3 bool(false)
Output for 5.3.19 - 5.6.20, 7.0.0 - 7.0.5
string(4) "ryat"