CSE :: PHP - CS
-
What will be the output of the following PHP code?
<?php
$x;
if ($x)
print "hi" ;
else
print "how are u";
?>
-
What will be the output of the following PHP code ?
<?php
$x = 0;
if ($x++)
print "hi";
else
print "how are u";
?>
-
What will be the output of the following PHP code ?
<?php
$x;
if ($x == 0)
print "hi" ;
else
print "how are u";
print "hello"
?>
-
What will be the output of the following PHP code ?
<?php
$x = 0;
if ($x == 1)
if ($x >= 0)
print "true";
else
print "false";
?>
-
What will be the output of the following PHP code ?
<?php
$a = 1;
if ($a--)
print "True";
if ($a++)
print "False";
?>
-
What will be the output of the following PHP code?
<?php
$x;
if ($x)
print "hi" ;
else
print "how are u";
?>
-
What will be the output of the following PHP code ?
<?php
$x = 0;
if ($x++)
print "hi";
else
print "how are u";
?>
-
What will be the output of the following PHP code ?
<?php
$x;
if ($x == 0)
print "hi" ;
else
print "how are u";
print "hello"
?>
-
What will be the output of the following PHP code ?
<?php
$x = 0;
if ($x == 1)
if ($x >= 0)
print "true";
else
print "false";
?>
-
What will be the output of the following PHP code ?
<?php
$a = 1;
if ($a--)
print "True";
if ($a++)
print "False";
?>