3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $ar = array(); $ar[] = "Selamat pagi dunia"; $ar[] = "Selamat malam dunia"; $ar[] = "Selamat sore dunia"; echo var_dump($ar);
Output for 4.3.0 - 7.1.0
array(3) { [0]=> string(18) "Selamat pagi dunia" [1]=> string(19) "Selamat malam dunia" [2]=> string(18) "Selamat sore dunia" }