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

Home | Discussion Forum
Taiyari24Hour

What will be the output of the following PHP code ?

 $a = 10;
if (1)
print "all";
else
print "some"
else
print "none";



View More Related Question

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

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

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

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

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

 $a = 10;
if (1)
print "all";
else
print "some"
else
print "none";

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

 $a = 10;
if (0)
print "all";
if
else
print "some"

UP Gk Online Test

taiyari24hour.com

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