fork download
  1. <?php
  2. $lave = array("a", "b","c", "d", "e", "f");
  3.  
  4. for($i = 0; $i < count($lave) + 1; $i++) {
  5. if($i < count($lave)) {
  6. echo $lave[$i] . "<br />";
  7. }
  8. else {
  9. echo $i;
  10. }
  11. }
  12. ?>
Success #stdin #stdout 0s 82880KB
stdin
Standard input is empty
stdout
a<br />b<br />c<br />d<br />e<br />f<br />6