Discussion :: PHP - CS
-
What will be the output of the following PHP code ?
<?php
$a = 1;
if ($a--)
print "True";
if ($a++)
print "False";
?>
Answer : Option A
Explanation :
Due to post increment and post decrement only the first condition is satisfied.
Be The First To Comment