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 arsenalI 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 ANSWER DOWNLOAD EXAMIANS APP
Basic PHP Which of the following is not valid PHP code? ${“MyVar”} &$something $aVaR $_10 $10_somethings ${“MyVar”} &$something $aVaR $_10 $10_somethings ANSWER DOWNLOAD EXAMIANS APP
Basic PHP We can use _________ to comment a single line?1. /?2. //3. #4. /* */ 1, 3 and 4 Both 2 and 4 Only 2 2, 3 and 4 1, 3 and 4 Both 2 and 4 Only 2 2, 3 and 4 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. percent backslash asterix ampersand percent backslash asterix ampersand 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 function is being declared as a member of a class Never When the function contains only one parameter When the parameter is Boolean When the parameter is being declared as passed by reference When the function is being declared as a member of a class Never When the function contains only one parameter When the parameter is Boolean When the parameter is being declared as passed by reference 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 $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? She is $num years old What is her age? n 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? She is $num years old ANSWER DOWNLOAD EXAMIANS APP