Basic PHP If you echo a Boolean variable, the value FALSE displays as a .... and the value TRUE echoes as a ..... 0, 1 blank string, 1 empty variable, 1 blank string, 2 0, 1 blank string, 1 empty variable, 1 blank string, 2 ANSWER DOWNLOAD EXAMIANS APP
Basic PHP What does PHP stand for?1. Personal Home Page2. Hypertext Preprocessor3. Pretext Hypertext Processor4. Preprocessor Home Page Both 2 and 4 Only 2 Both 1 and 2 Both 1 and 3 Both 2 and 4 Only 2 Both 1 and 2 Both 1 and 3 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 My name is BobBob Error My name is BobMy name is Bob My name is Bob Bob My name is BobBob Error My name is BobMy name is Bob 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 3 Both are 4 a is 3 and b is 4 a is 4 and b is 3 Both are 3 Both are 4 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 = 5;$b = 5;echo ($a === $b); Error 5 === 5 1 False Error 5 === 5 1 False ANSWER DOWNLOAD EXAMIANS APP
Basic PHP Assigning the empty string (like ' ') to a variable automatically renders it empty. False True False True ANSWER DOWNLOAD EXAMIANS APP