What will be the output of the following PHP code ?
<?php
for(++$i; ++$i; ++$i)
{
print $i;
if ($i == 4)
break;
}
?>
<?php
for(++$i; ++$i; ++$i)
{
print $i;
if ($i == 4)
break;
}
?>A. 24
B. 134
C. 1234
D. 1
Answer: Option A

Join The Discussion