fork(2) download
  1. <?php
  2.  
  3. $array1 = array("b", "f", "g", "a", "c", "d", "e");
  4. $array2 = array("5", "0", "1", "4", "3", "2", "6");
  5. sort($array1);
  6. sort($array2);
  7. for($j = 0; $j < 7; $j++){
  8. echo "{$array1[$j]}{$array2[$j]} ";
  9. }
  10. ?>
Success #stdin #stdout 0.02s 13112KB
stdin
Standard input is empty
stdout
a0 b1 c2 d3 e4 f5 g6