fork(1) download
  1. <?php
  2.  
  3. $bills = array(
  4. 23 => 100,
  5. 5 => 500,
  6. 0 => 1000,
  7. 200 => 5000);
  8.  
  9.  
  10.  
  11.  
  12. for($z = 0; $z <= count($bills); $z++) {
  13. if($bills[$z] == 0){
  14. unset($bills[$z]);
  15. }
  16. return;
  17. }
  18.  
  19. echo $bills{1};
Success #stdin #stdout 0s 82880KB
stdin
Standard input is empty
stdout
Standard output is empty