The browser has printed out 6, but why is the error reported above?
叶
2019-02-28 22:19:48
0
3
937

<?php

for($i=0;$i<5;$i ){

$a = $i;

}

echo $a;

?>

The browser has printed out 6, but why is the error reported above?

qq.png

叶

reply all(1)
移动用户-2814869

It is not defined the first time through the loop. The second time, $a has a value, so of course the result can be output.

  • reply Haha thank you!
    author 2019-03-01 10:06:43
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template