3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $a = array(); array_push($a, "pic1"); array_push($a, "pic2"); array_push($a, "pic3"); array_push($a, "pic4"); $serializedData = serialize($a); echo $serializedData; ?>
Output for 4.3.0 - 7.1.0
a:4:{i:0;s:4:"pic1";i:1;s:4:"pic2";i:2;s:4:"pic3";i:3;s:4:"pic4";}