3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $arr2 = array(1); $arr = array($arr2); echo serialize($arr);
Output for 4.3.0 - 7.1.0
a:1:{i:0;a:1:{i:0;i:1;}}