PHP Quizs Question & Answers – Basics 2

1. Which of the following PHP statements will output Hello World on the screen? i) echo (“Hello World”); ii) print (“Hello World”); iii) printf (“Hello World”); iv) sprintf (“Hello World”); A. i) and ii)B. i), ii) and iii)C. i), ii), iii) and iv)D. i), ii) and iv) Answer:-B. i), ii) and iii) Explanation: echo(), print() … Continue reading PHP Quizs Question & Answers – Basics 2