fork download
  1. <?php
  2. $arr = array(1,2,3);
  3. foreach($arr as &$val){}
  4. foreach($arr as $val){
  5. echo $val;
  6. }
Success #stdin #stdout 0.01s 20568KB
stdin
Standard input is empty
stdout
122