3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $a = []; $a[] = [1, 2, 3]; $a[] = [4, 5, 6]; var_dump($a);
Output for 5.6.0 - 5.6.30, hhvm-3.12.14 - 3.17.3, 7.0.0 - 7.3.1
array(2) { [0]=> array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3) } [1]=> array(3) { [0]=> int(4) [1]=> int(5) [2]=> int(6) } }