Home
Earn $100 Online Daily. Work From Home. Click Here

What is the correct answer?

4

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.

All of the mentioned


D.

i), ii) and iv)


Related Questions

What will be the output of the following PHP code ? <?php $color1 =… If session.use_cookie is set to 0, this results in use of.. Which one of the following is the very first task executed by a session… What will be the output of the following PHP code ? <?php define(__LINE__,… What will be the output of the following PHP code? <?php $a1 = array(a=>red,… Which one of the following format parameter can be used to identify timezone? What will be the output of the following PHP code ? <?php define(GREETING,… Which function displays the web pages most recent modification date? A PHP script should start with ___ and end with ___: Which of the following is/are a PHP code editor?i) Notepadii) Notepad++iii)… What does PHP stand for?i) Personal Home Pageii) Hypertext Preprocessoriii)… What will be the output of the following PHP code ? <?php $i = 5;while… What will be the output of the following PHP code? <?php $age = array(Peter=>35,… What will be the output of the following PHP code? If say date is 22/06/2013.… What will be the output of the following PHP code ? <?php $i = 5;while… What will be the output of the following PHP code ? <?php $i = 5;while… The date() function returns ___ representation of the current date and/or… What will be the output of the following PHP code ? <?php $color1 =… Which of following variables can be assigned a value to it?i) $3helloii)… What will be the output of the following PHP code ? <?php $color1 =… What will be the output of the following PHP code ? <?php define('GREETING_TEST',… Which of the following must be installed on your computer so as to run… Which one of the following is the default PHP session name? What will be the output of the following PHP code? <?php $a = array(a=>red,… What will be the output of the following PHP code ? <?php $i = 2;while… What will be the output of the following PHP code ? <?php class myObject… If the format is F then which one of the following will be returned? What will be the output of the following code? If say date is 22/06/2013.… What is the default time(in seconds) for which session data is considered… What will be the output of the following PHP code? <?php $fname = array(Peter,…