fork(6) download
  1. <?php
  2. function dobrar_array($dobrar){
  3. foreach($dobrar as $lista){
  4. echo $lista*2 . "<br>";
  5. }
  6. }
  7. $resposta = dobrar_array(array(3, 15, 23));
  8. echo $resposta;
  9. ?>
Success #stdin #stdout 0.02s 24448KB
stdin
Standard input is empty
stdout
 6<br>30<br>46<br>