-
Which of the following PHP statements will output Hello interview Mania on the screen?
-
- sprintf (“Hello interview Mania ”);
- echo (“Hello interview Mania ”);
- print (“Hello interview Mania ”);
- printf (“Hello interview Mania ”);
- B, C and D
Correct Option: E
echo(), print() and printf() all three can be used to output a statement onto the screen. The sprintf() statement is functionally identical to printf() except that the output is assigned to a string rather than rendered to the browser.