PHP MCQ Set 1 1. What will be the output of the following PHP code ? <?phpwhile(){ print “hi”;}?> a) infinite loop b) hi c) no output d) error AnswerAnswer: d [Reason:] The while loop cannot be defined without a condition. 2. What will be the output of the following PHP code ? <?phpdo{ print…