Basic PHP What will be the output of the following PHP code?$score = 1234;$scoreboard = (array) $score;echo $scoreboard[0]; 1 1234 Error 2 1 1234 Error 2 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 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 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 Error 5 === 5 1 False Error 5 === 5 ANSWER DOWNLOAD EXAMIANS APP
Basic PHP strval() Accepts a value and converts it into a string array Accepts a value and converts it into string equivalent Accepts a value and converts it into an string dictionary None of above Accepts a value and converts it into a string array Accepts a value and converts it into string equivalent Accepts a value and converts it into an string dictionary None of above ANSWER DOWNLOAD EXAMIANS APP
Basic PHP With the introduction of namespaces, the same function name can be used in multiple places. FALSE TRUE FALSE TRUE ANSWER DOWNLOAD EXAMIANS APP
Basic PHP What will be the output of the following code?function track() {static $count = 0;$count++;echo $count;}track();track();track(); 123 000 011 111 123 000 011 111 ANSWER DOWNLOAD EXAMIANS APP