What will be the output of the following PHP code? [code] <?php $x; if ($x == 0) print "hi" ; else print "how are u"; print "hello"

Danh Trịnh

New member
What will be the output of the following PHP code?
Code:
<?php
$x;
if ($x == 0)
    print "hi" ;
else
    print "how are u";
    print "hello"
?>
A. how are uhello
B. hihello
C. hi
D. no output
 

Tìm kiếm

Back
Top