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 Error I love arsenal I love arsenalI love mancI love manu I love arsenalI love manc Error I love arsenal I love arsenalI love mancI love manu ANSWER DOWNLOAD EXAMIANS APP
Basic PHP What will be the output of the following PHP code?$score = 1234;$scoreboard = (array) $score;echo $scoreboard[0]; Error 2 1234 1 Error 2 1234 1 ANSWER DOWNLOAD EXAMIANS APP
Basic PHP What does PHP stand for?1. Personal Home Page2. Hypertext Preprocessor3. Pretext Hypertext Processor4. Preprocessor Home Page Both 1 and 2 Both 2 and 4 Only 2 Both 1 and 3 Both 1 and 2 Both 2 and 4 Only 2 Both 1 and 3 ANSWER DOWNLOAD EXAMIANS APP
Basic PHP What will be the output of the following PHP code?$total = "25 students";$more = 10;$total = $total + $more;echo "$total"; 25 students 35 35 students Error 25 students 35 35 students Error ANSWER DOWNLOAD EXAMIANS APP
Basic PHP How does the identity operator === compare two values? It returns True only if they are both of the same type and value If the two values are strings, it performs a lexical comparison It converts them to a common compatible data type and then compares the resulting values It converts both values to strings and compares them It bases its comparison on the C strcmp function exclusively It returns True only if they are both of the same type and value If the two values are strings, it performs a lexical comparison It converts them to a common compatible data type and then compares the resulting values It converts both values to strings and compares them It bases its comparison on the C strcmp function exclusively ANSWER DOWNLOAD EXAMIANS APP
Basic PHP Under what circumstance is it impossible to assign a default value to a parameter while declaring a function? Never When the parameter is being declared as passed by reference When the function contains only one parameter When the parameter is Boolean When the function is being declared as a member of a class Never When the parameter is being declared as passed by reference When the function contains only one parameter When the parameter is Boolean When the function is being declared as a member of a class ANSWER DOWNLOAD EXAMIANS APP