fork(22) download
  1. <?php
  2. $colecao = [1, 3, 6, 9, 13];
  3. $soma = 0;
  4. for($i = 0, $j = count($colecao); $i < $j; $i++){
  5. $soma += $colecao[$i];
  6. }
  7. echo $soma;
  8. ?>
Success #stdin #stdout 0.02s 82880KB
stdin
Standard input is empty
stdout
32