Basic PHP Which of the following PHP statements will output Hello World on the screen?1. echo (“Hello World”);2. print (“Hello World”);3. printf (“Hello World”);4. sprintf (“Hello World”); 1 and 2 1, 2 and 3 1, 2 and 4 All of the mentioned 1 and 2 1, 2 and 3 1, 2 and 4 All of the mentioned ANSWER DOWNLOAD EXAMIANS APP
Basic PHP String values must be enclosed in ...... single quotes none of above both A and B double quotes single quotes none of above both A and B double quotes ANSWER DOWNLOAD EXAMIANS APP
Basic PHP Variables always start with a ........ in PHP Euro-sign Yen-sign Pond-sign Dollar-sign Euro-sign Yen-sign Pond-sign Dollar-sign ANSWER DOWNLOAD EXAMIANS APP
Basic PHP What will be the output of the following PHP code?$team = "arsenal";switch ($team) {case "manu":echo "I love man u";case "arsenal":echo "I love arsenal";case "manc":echo "I love manc"; } I love arsenal I love arsenalI love mancI love manu Error I love arsenalI love manc I love arsenal I love arsenalI love mancI love manu Error I love arsenalI love manc ANSWER DOWNLOAD EXAMIANS APP
Basic PHP Which of the looping statements is/are supported by PHP?1. for loop2. while loop3. do-while loop4. foreach loop 1, 2 and 3 1 and 2 None of the mentioned All of the mentioned 1, 2 and 3 1 and 2 None of the mentioned All of the mentioned ANSWER DOWNLOAD EXAMIANS APP
Basic PHP What will be the output of the following php code?$num = "1";$num1 = "2";print $num+$num1; 12 Error 3 1+2 12 Error 3 1+2 ANSWER DOWNLOAD EXAMIANS APP