ThịThúy Hiền
New member
What will be the output of the following PHP code?
A.
hi
hi
hello
B.
hi
hi
hi
hello
C.
hi
hi
hi
hi
hello
D. infinite loop
Code:
<?php
$i = 0
while ($i < 3)
{
print "hi";
$i--;
}
print "hello"
?>
hi
hi
hello
B.
hi
hi
hi
hello
C.
hi
hi
hi
hi
hello
D. infinite loop