Basic PHP Which of the looping statements is/are supported by PHP?1. for loop2. while loop3. do-while loop4. foreach loop 1 and 2 All of the mentioned 1, 2 and 3 None of the mentioned 1 and 2 All of the mentioned 1, 2 and 3 None of the mentioned ANSWER DOWNLOAD EXAMIANS APP
Basic PHP PHP ..... demand that you declare a data type when you create a variable. does does not does does not ANSWER DOWNLOAD EXAMIANS APP
Basic PHP You can test the type of any variable with the ..... function. showtype() gettype() settype() whattype() showtype() gettype() settype() whattype() ANSWER DOWNLOAD EXAMIANS APP
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, 2 and 4 1 and 2 All of the mentioned 1, 2 and 3 1, 2 and 4 1 and 2 All of the mentioned 1, 2 and 3 ANSWER DOWNLOAD EXAMIANS APP
Basic PHP Within a namespace, for accessing the built-in PHP classes you can prefix the class name with a . . . . . and let PHP look in the global class list. asterix percent ampersand backslash asterix percent ampersand backslash ANSWER DOWNLOAD EXAMIANS APP
Basic PHP Which of the following is not valid PHP code? &$something ${“MyVar”} $aVaR $10_somethings $_10 &$something ${“MyVar”} $aVaR $10_somethings $_10 ANSWER DOWNLOAD EXAMIANS APP