fork download
  1. <?php
  2. $ary1 = [1, 2, 3];
  3. $ary2 = [[11, 12, 13], [21, 22, 23], [31, 32, 33]];
  4. echo $ary1[0] . PHP_EOL;
  5. echo $ary2[1][2];
Success #stdin #stdout 0.02s 23616KB
stdin
Standard input is empty
stdout
1
23