Basic PHP Which of the looping statements is/are supported by PHP?1. for loop2. while loop3. do-while loop4. foreach loop 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 1 and 2 ANSWER DOWNLOAD EXAMIANS APP
Basic PHP Multiple namespaces cannot be defined in the same file. TRUE FALSE TRUE FALSE ANSWER DOWNLOAD EXAMIANS APP
Basic PHP We can use _________ to comment a single line?1. /?2. //3. #4. /* */ 2, 3 and 4 1, 3 and 4 Only 2 Both 2 and 4 2, 3 and 4 1, 3 and 4 Only 2 Both 2 and 4 ANSWER DOWNLOAD EXAMIANS APP
Basic PHP Under what circumstance is it impossible to assign a default value to a parameter while declaring a function? When the parameter is being declared as passed by reference Never When the parameter is Boolean When the function contains only one parameter When the function is being declared as a member of a class When the parameter is being declared as passed by reference Never When the parameter is Boolean When the function contains only one parameter When the function is being declared as a member of a class ANSWER DOWNLOAD EXAMIANS APP
Basic PHP String values must be enclosed in ...... single quotes both A and B double quotes none of above single quotes both A and B double quotes none of above ANSWER DOWNLOAD EXAMIANS APP
Basic PHP What will be the output of the following PHP code?$num = 10;echo 'What is her age? \n She is $num years old'; What is her age?n She is 10 years old What is her age? n She is $num years old What is her age? She is $num years old What is her age? She is 10 years old What is her age?n She is 10 years old What is her age? n She is $num years old What is her age? She is $num years old What is her age? She is 10 years old ANSWER DOWNLOAD EXAMIANS APP