3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $x = array("g", "lol", "hhh", "gob" , "pinapple"); var_dump($x); echo count($x);
Output for 4.3.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" } 5