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

Nguyễn Trà

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

Tìm kiếm

Back
Top