Q. What will be the output of the following PHP code ?
Code:
<?php
$n = 0;
do
{
print $n;
$n++;
}
while ($n != 5);
?>
β
Correct Answer: (C)
01234
<?php
$n = 0;
do
{
print $n;
$n++;
}
while ($n != 5);
?>
You must be Logged in to update hint/solution