What will be the output of the following PHP code?
$x;
if ($x)
Home | Discussion Forum

Taiyari24Hour

What will be the output of the following PHP code?

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



View More Related Question

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

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

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

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

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

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

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

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

UP Gk Online Test

taiyari24hour.com

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