fork download
  1. <?php
  2. $arr = [
  3. "Peter", "Uwe", "Ulla","Herbert", "Sabino", "Petersile", "Ofte"];
  4. for
  5. ($i = count($arr)-1; $i>=0; $i=$i-1 )
  6. {
  7. echo $arr[$i]."\n";
  8. }
  9.  
Success #stdin #stdout 0.02s 24316KB
stdin
Standard input is empty
stdout
Ofte
Petersile
Sabino
Herbert
Ulla
Uwe
Peter