3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php echo serialize([1,2,4]); echo "\n\n"; var_export([1,2,3,4]);
Output for 5.6.0 - 5.6.30, hhvm-3.15.4, 7.0.0 - 7.3.0rc3
a:3:{i:0;i:1;i:1;i:2;i:2;i:4;} array ( 0 => 1, 1 => 2, 2 => 3, 3 => 4, )