Basic PHP What will be the output of the following PHP code?$score = 1234;$scoreboard = (array) $score;echo $scoreboard[0]; Error 1 1234 2 Error 1 1234 2 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. TRUE FALSE TRUE FALSE ANSWER DOWNLOAD EXAMIANS APP
Basic PHP Which version of PHP introduced Try/catch Exception? PHP 5.3 PHP 5 PHP 4 PHP 6 PHP 5.3 PHP 5 PHP 4 PHP 6 ANSWER DOWNLOAD EXAMIANS APP
Basic PHP What will be the output of the following PHP code?$a = 5;$b = 5;echo ($a === $b); 1 False 5 === 5 Error 1 False 5 === 5 Error 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 code?$foo = 'Bob';$bar = &$foo;$bar = "My name is $bar";echo $bar;echo $foo; Error My name is BobBob 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 ANSWER DOWNLOAD EXAMIANS APP