Basic PHP What will be the output of the following PHP code?$a = 5;$b = 5;echo ($a === $b); False 1 Error 5 === 5 False 1 Error 5 === 5 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 ); 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 Both are 4 Both are 3 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, 2 blank string, 1 empty variable, 1 0, 1 blank string, 2 blank string, 1 empty variable, 1 0, 1 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 25 students Error 35 students 35 25 students Error 35 students 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; 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 My name is Bob Bob ANSWER DOWNLOAD EXAMIANS APP
Basic PHP When a simple data type is casted to an array, an array is created with the original value in the first element. False True False True ANSWER DOWNLOAD EXAMIANS APP