What will be the output of the following PHP code? [code] <?php $i = 0 while ($i != 3) { print "hi"; $i++; } ?> [/code]

Huyền Thu

New member
What will be the output of the following PHP code?
Code:
<?php
$i = 0
while ($i != 3)
{
    print "hi";
	$i++;
}
?>
A.
hi
hi
B.
hi
hi
hi
C.
hi
hi
hi
hi
D. no output
 

Tìm kiếm

Back
Top