3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $name = array (); $name [0] = "nahid"; $name [1] = "zahid"; var_dump($name);?>
Output for 4.3.0 - 7.1.0
array(2) { [0]=> string(5) "nahid" [1]=> string(5) "zahid" }