A
Q. What will be the output of the following PHP code ?
Code:
<?php
$num = 8;
while (--$num > 0 || ++$num)
{
print $num;
}
?>
$num = 8;
while (--$num > 0 || ++$num)
{
print $num;
}
?>
- Correct Answer - Option(A)
- Views: 9
- Filed under category PHP
- Hashtags:
Discusssion
Login to discuss.