Q:

What will be the output of the following PHP code ?

belongs to collection: CONSTANTS AND OPERATORS IN PHP MCQ

0

What will be the output of the following PHP code ?

<?php
$i = 0;
while ($i = 10)
{   
    print "hi";
}
print "hello";
?>

  1. hello
  2. infinite loop
  3. hihello
  4. error

All Answers

need an explanation for this answer? contact us directly to get an explanation for this answer

(b).infinite loop

need an explanation for this answer? contact us directly to get an explanation for this answer

total answers (1)

CONSTANTS AND OPERATORS IN PHP MCQ

This question belongs to these collections

Similar questions


need a help?


find thousands of online teachers now
What will be the output of the following PHP code ... >>
<< What will be the output of the following PHP code ...