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 Bob Bob Error My name is BobBob My name is BobMy name is Bob My name is Bob Bob Error My name is BobBob ANSWER DOWNLOAD EXAMIANS APP
Basic PHP PHP files have a default file extension of_______. .xml .php .html .ph .xml .php .html .ph ANSWER DOWNLOAD EXAMIANS APP
Basic PHP What is the value of $a and $b after the function call?function doSomething( &$arg ) {$return = $arg;$arg += 1;return $return;}$a = 3;$b = doSomething( $a ); Both are 4 Both are 3 a is 3 and b is 4 a is 4 and b is 3 Both are 4 Both are 3 a is 3 and b is 4 a is 4 and b is 3 ANSWER DOWNLOAD EXAMIANS APP
Basic PHP What will be the output of the following PHP code?$a = "clue";$a .= "get";echo "$a"; false true get clueget false true get clueget 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 . . . . . . NULL 0 gibberish value an empty string NULL 0 gibberish value an empty string ANSWER DOWNLOAD EXAMIANS APP
Basic PHP What will be the output of the following PHP code?$total = "25 students";$more = 10;$total = $total + $more;echo "$total"; 35 students 25 students Error 35 35 students 25 students Error 35 ANSWER DOWNLOAD EXAMIANS APP