3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $dogs = array(); $dogs[] = "rex"; $dogs[] = "smokey"; var_dump($dogs);
Output for 5.2.13 - 7.2.0
array(2) { [0]=> string(3) "rex" [1]=> string(6) "smokey" }