What will be the output of the following PHP code ?
<?php
$x = 0;
if ($x++)
print "hi";
else
print "how are u";
?>
<?php
$x = 0;
if ($x++)
print "hi";
else
print "how are u";
?>
A. hi
B. no output
C. error
D. how are u
Answer: Option D
Join The Discussion