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 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?n She is 10 years old What is her age? 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?n She is 10 years old ANSWER DOWNLOAD EXAMIANS APP
Basic PHP What will be the output of the following PHP code?$user = array("Ashley", "Bale", "Shrek", "Blank");for ($x=0; $x < count($user); $x++){if ($user[$x] == "Shrek")continue;printf ($user[$x]);} AshleyBale Shrek ShrekBlank AshleyBaleBlank AshleyBale Shrek ShrekBlank AshleyBaleBlank ANSWER DOWNLOAD EXAMIANS APP
Basic PHP How does the identity operator === compare two values? 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 It returns True only if they are both of the same type and value It converts both values to strings and compares them If the two values are strings, it performs a lexical comparison 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 It returns True only if they are both of the same type and value It converts both values to strings and compares them If the two values are strings, it performs a lexical comparison ANSWER DOWNLOAD EXAMIANS APP
Basic PHP Which of the conditional statements is/are supported by PHP?1. if statements2. if-else statements3. if-elseif statements4. switch statements 1, 2 and 4 All of the mentioned. 2, 3 and 4 Only 1 1, 2 and 4 All of the mentioned. 2, 3 and 4 Only 1 ANSWER DOWNLOAD EXAMIANS APP
Basic PHP PHP does not support numbers written in hexadecimal, octal or scientific notation. True False True False ANSWER DOWNLOAD EXAMIANS APP
Basic PHP Who is the father of PHP? List Barely Drek Kolkevi Rasmus Lerdorf Willam Makepiece List Barely Drek Kolkevi Rasmus Lerdorf Willam Makepiece ANSWER DOWNLOAD EXAMIANS APP