3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $args[][] = 1; $args[][] = 2; $args[][] = 3; var_dump($args);
Output for 4.3.0 - 7.3.0rc6
array(3) { [0]=> array(1) { [0]=> int(1) } [1]=> array(1) { [0]=> int(2) } [2]=> array(1) { [0]=> int(3) } }