1. What will be the output of the following PHP code ? <?php$i = 0;while($i = 10){ print “hi”;}print “hello”;?> a) hello b) infinite loop c) hihello d) error AnswerAnswer: b [Reason:] While condition always gives 1. 2. What will be the output of the following PHP code ? <?php$i = “”;while ($i = 10){…