A
Q. What will be the output of the following PHP code ?
Code:
<?php
for ($b = 0; $b = -5; $b = 1)
{
print $b;
if ($b != 2)
break;
}
?>
for ($b = 0; $b = -5; $b = 1)
{
print $b;
if ($b != 2)
break;
}
?>
- Correct Answer - Option(C)
- Views: 8
- Filed under category PHP
- Hashtags:
Discusssion
Login to discuss.