Discussion :: PHP - CS
-
What will be the output of the following PHP code ?
<?php
$i = 0;
while (++$i && --$i)
{
print $i;
}
?>
Answer : Option C
Explanation :
The first conditio itsef fails thus the loop exits.
Be The First To Comment