Basic PHP Multiple namespaces cannot be defined in the same file. FALSE TRUE FALSE TRUE ANSWER DOWNLOAD EXAMIANS APP
Basic PHP Which of following variables can be assigned a value to it?1. $3hello2. $_hello3. $this4. $This Only 2 2 and 4 2, 3 and 4 All of the mentioned Only 2 2 and 4 2, 3 and 4 All of the mentioned ANSWER DOWNLOAD EXAMIANS APP
Basic PHP We can use _________ to comment a single line?1. /?2. //3. #4. /* */ Only 2 2, 3 and 4 Both 2 and 4 1, 3 and 4 Only 2 2, 3 and 4 Both 2 and 4 1, 3 and 4 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 $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? n She is $num years old What is her age? She is $num years old What is her age?n She is 10 years old What is her age? She is 10 years old 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 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 ANSWER DOWNLOAD EXAMIANS APP
Basic PHP Which statement will output $x on the screen? echo “\$x”; echo “$x;”; echo “$$x”; echo “/$x”; echo “\$x”; echo “$x;”; echo “$$x”; echo “/$x”; ANSWER DOWNLOAD EXAMIANS APP