fork(1) download
  1. <?php
  2.  
  3. // your code goes here
  4.  
  5. $a = [[1, 2, 3], ['q', 'w', 'e'], ['a', 's', 'd']];
  6.  
  7. $k = [0, 1, 2];
  8.  
  9. $r = $a[2][$k[2]];
  10.  
  11.  
Success #stdin #stdout 0s 82880KB
stdin
Standard input is empty
stdout
string(1) "d"