3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $out = array('one', 'two', 'three'); echo 'Serialized: '.serialize($out).'<br>'; echo 'Unserialized: '.print_r(unserialize(serialize($out)), true);
Output for 4.3.0 - 7.2.0
Serialized: a:3:{i:0;s:3:"one";i:1;s:3:"two";i:2;s:5:"three";}<br>Unserialized: Array ( [0] => one [1] => two [2] => three )