3v4l.org

run code in 200+ php & hhvm versions
<?php $a[] = [1,2]; echo"<pre>"; print_r($a);
Output for 7.1.25 - 7.4.0alpha2
<pre>Array ( [0] => Array ( [0] => 1 [1] => 2 ) )