What will be the output of the following PHP code ?
 $a = 1;
if ($

Home | Discussion Forum
Taiyari24Hour

What will be the output of the following PHP code ?

 $a = 1;
if ($a--)
print "True";
if ($a++)
print "False";



View More Related Question

2) What will be the output of the following PHP code ?

 $a = 1;
if (print $a)
print "True";
else
print "False";

3) What will be the output of the following PHP code ?

 $a = 1;
if (echo $a)
print "True";
else
print "False";

4) What will be the output of the following PHP code ?

  $x = 0;
if ($x == 1)
if ($x >= 0)
print "true";
else
print "false";

5) What will be the output of the following PHP code ?

$x = 0;
if ($x++)
print "hi";
else
print "how are u";

UP Gk Online Test

taiyari24hour.com

Study 2 Online Says....
Kindly log in or signup.