Q. What will be the output of the following PHP code ?
Code:<?php
$p = 0;
while(++$p || --$p)
{
print $p;
}
?>
β
Correct Answer: (A)
123456789101112.......infinite time
<?php
$p = 0;
while(++$p || --$p)
{
print $p;
}
?>
You must be Logged in to update hint/solution