Basic PHP Multiple namespaces cannot be defined in the same file. FALSE TRUE FALSE TRUE ANSWER DOWNLOAD EXAMIANS APP
Basic PHP What will be the output of the following code?$foo = 'Bob';$bar = &$foo;$bar = "My name is $bar";echo $bar;echo $foo; My name is Bob Bob My name is BobBob Error My name is BobMy name is Bob My name is Bob Bob My name is BobBob Error My name is BobMy name is Bob ANSWER DOWNLOAD EXAMIANS APP
Basic PHP We can use _________ to comment a single line?1. /?2. //3. #4. /* */ 1, 3 and 4 Only 2 Both 2 and 4 2, 3 and 4 1, 3 and 4 Only 2 Both 2 and 4 2, 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? 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 What is her age? n She is $num years old ANSWER DOWNLOAD EXAMIANS APP
Basic PHP Which version of PHP introduced Try/catch Exception? PHP 5.3 PHP 4 PHP 5 PHP 6 PHP 5.3 PHP 4 PHP 5 PHP 6 ANSWER DOWNLOAD EXAMIANS APP
Basic PHP How does the identity operator === compare two values? 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 bases its comparison on the C strcmp function exclusively If the two values are strings, it performs a lexical comparison It converts both values to strings and compares them 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 bases its comparison on the C strcmp function exclusively If the two values are strings, it performs a lexical comparison It converts both values to strings and compares them ANSWER DOWNLOAD EXAMIANS APP