3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $arr = ['one', 'terefere']; $serialized = serialize($arr); var_dump($serialized); var_dump(unserialize($serialized));
based on 1Z1DE
Output for 5.6.0 - 5.6.30, hhvm-3.15.4, 7.0.0 - 7.2.6
string(39) "a:2:{i:0;s:3:"one";i:1;s:8:"terefere";}" array(2) { [0]=> string(3) "one" [1]=> string(8) "terefere" }