?
What will be the output of the following PHP code ?
What will be the output of the following PHP code ?
<?php
$i = "";
while($i)
{
print "hi";
}
print "hello";
?>
<?php
$i = "";
while($i)
{
print "hi";
}
print "hello";
?>
Answer & Solution
Correct Answer:
Option
A
While accept does not accept anything other than a 0 or any other number as false and true.
Join the Discussion
Login to post a comment or share your explanation.
Login