Basic PHP Some PHP code might not have a namespace and therefore lives in the . . . . . . namespace. Global Default Automatic PRE Global Default Automatic PRE ANSWER DOWNLOAD EXAMIANS APP
Basic PHP Which of following variables can be assigned a value to it?1. $3hello2. $_hello3. $this4. $This 2, 3 and 4 2 and 4 Only 2 All of the mentioned 2, 3 and 4 2 and 4 Only 2 All of the mentioned 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 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 My name is Bob Bob Error ANSWER DOWNLOAD EXAMIANS APP
Basic PHP If you echo a Boolean variable, the value FALSE displays as a .... and the value TRUE echoes as a ..... blank string, 1 blank string, 2 empty variable, 1 0, 1 blank string, 1 blank string, 2 empty variable, 1 0, 1 ANSWER DOWNLOAD EXAMIANS APP
Basic PHP All classes in the same namespace or subnamespace don’t have to the declared in the same PHP file. FALSE TRUE FALSE TRUE ANSWER DOWNLOAD EXAMIANS APP
Basic PHP If $a = 12 what will be returned when ($a == 12) ? 5 : 1 is executed? 5 12 1 Error 5 12 1 Error ANSWER DOWNLOAD EXAMIANS APP