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"; } Error I love arsenal I love arsenalI love manc I love arsenalI love mancI love manu Error I love arsenal I love arsenalI love manc I love arsenalI love mancI love manu 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? 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 What is her age?n She is 10 years old What is her age? n She is $num years old ANSWER DOWNLOAD EXAMIANS APP
Basic PHP What will be the output of the following PHP code?$a = 5;$b = 5;echo ($a === $b); 5 === 5 Error False 1 5 === 5 Error False 1 ANSWER DOWNLOAD EXAMIANS APP
Basic PHP Which of the below statements is equivalent to $add += $add ? $add = $add $add = $add + $add + 1 $add = $add + 1 $add = $add +$add $add = $add $add = $add + $add + 1 $add = $add + 1 $add = $add +$add ANSWER DOWNLOAD EXAMIANS APP
Basic PHP What will be the output of the following PHP code?$color = "maroon";$var = $color[2];echo "$var"; Error a r $var Error a r $var ANSWER DOWNLOAD EXAMIANS APP
Basic PHP How does the identity operator === compare two values? It converts both values to strings and compares them It bases its comparison on the C strcmp function exclusively It converts them to a common compatible data type and then compares the resulting values If the two values are strings, it performs a lexical comparison It returns True only if they are both of the same type and value It converts both values to strings and compares them It bases its comparison on the C strcmp function exclusively It converts them to a common compatible data type and then compares the resulting values If the two values are strings, it performs a lexical comparison It returns True only if they are both of the same type and value ANSWER DOWNLOAD EXAMIANS APP