Basic PHP What will be the output of the following code?function track() {static $count = 0;$count++;echo $count;}track();track();track(); 000 111 123 011 000 111 123 011 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 Error 35 students 25 students 35 Error 35 students 25 students 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 4 and b is 3 a is 3 and b is 4 Both are 4 Both are 3 a is 4 and b is 3 a is 3 and b is 4 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 Which of the below namespace declaration is correct? namespace 1_RA; namespace ORA_#; namespace ORA: namespace ORA; namespace 1_RA; namespace ORA_#; namespace ORA: namespace ORA; ANSWER DOWNLOAD EXAMIANS APP
Basic PHP With the introduction of namespaces, the same function name can be used in multiple places. TRUE FALSE TRUE FALSE ANSWER DOWNLOAD EXAMIANS APP