Which of the following is/are the correct ways to display a text with PHP code.i) ii) iii)

🎲 Try a Random Question  |  Total Questions in Quiz: 36  |  🧠 Study this quiz with Flashcards
This question is part of a full practice quiz:
Practice Test: PHP Basics — practice the complete quiz, review flashcards, or try a random question.


Which of the following is/are the correct ways to display a text with PHP code.<br>i) <? php echo “This text is generated with PHP”; ?><br>ii) <? print “This text is generated with PHP”; ?><br>iii) <? =”This text is generated with PHP”; ?>