MCQOPTIONS
Saved Bookmarks
| 1. |
What will be the output of the following PHP code ? <?php for ($i = 0;$i = -1;$i = 1) { print $i; if ($i != 1) break; } ?> |
| A. | 0 |
| B. | Infinite loop |
| C. | -1 |
| D. | 1 |
| Answer» D. 1 | |