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