A
Q. what is the output of below program?
Code:
<?php
for($i=0; $i<5; $i++){
$i = $i+1;
}
echo "$i";
?>
for($i=0; $i<5; $i++){
$i = $i+1;
}
echo "$i";
?>
- Correct Answer - Option(B)
- Views: 13
- Filed under category PHP
- Hashtags:
Discusssion
Login to discuss.