Q. What will be the output of the following PHP code ?
Code:
<?php
$p = 0;
for(++$p; ++$p; ++$p)
{
print $p;
if ($p == 6)
break;
}
?>
β
Correct Answer: (D)
246