Basic PHP Which of the below namespace declaration is correct? namespace ORA_#; namespace 1_RA; namespace ORA: namespace ORA; namespace ORA_#; namespace 1_RA; namespace ORA: namespace ORA; ANSWER DOWNLOAD EXAMIANS APP
Basic PHP Which version of PHP introduced Try/catch Exception? PHP 5.3 PHP 6 PHP 4 PHP 5 PHP 5.3 PHP 6 PHP 4 PHP 5 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 both values to strings and compares them 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 bases its comparison on the C strcmp function exclusively It converts both values to strings and compares them 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 The value of __NAMESPACE__ is a string that contains the current namespace name. In global, un-namespaced code, it contains . . . . . . an empty string gibberish value 0 NULL an empty string gibberish value 0 NULL 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 Error My name is BobMy name is Bob My name is BobBob My name is Bob Bob Error My name is BobMy name is Bob My name is BobBob ANSWER DOWNLOAD EXAMIANS APP
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 I love arsenalI love mancI love manu I love arsenal Error I love arsenalI love manc I love arsenalI love mancI love manu I love arsenal Error ANSWER DOWNLOAD EXAMIANS APP