Question:What is the output for the following code?<?php $total=0; for($i=0;$i<4;$i++){ $total=$total+$i; } echo $total; ?>
<?php $total=0; for($i=0;$i<4;$i++){ $total=$total+$i; } echo $total; ?>
A 6 B 7 C 8
+ AnswerA
+ Report