3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $x = array("g", "lol", "hhh", "gob" , "pinapple"); var_dump($x);
Output for 4.3.0 - 5.6.28, hhvm-3.10.0 - 3.12.0, 7.0.0 - 7.1.0
array(5) { [0]=> string(1) "g" [1]=> string(3) "lol" [2]=> string(3) "hhh" [3]=> string(3) "gob" [4]=> string(8) "pinapple" }