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 a is 3 and b is 4 Both are 4 a is 4 and b is 3 Both are 3 a is 3 and b is 4 Both are 4 a is 4 and b is 3 ANSWER DOWNLOAD EXAMIANS APP
Basic PHP What will be the output of the following PHP code?$color = "maroon";$var = $color[2];echo "$var"; a $var r Error a $var r Error ANSWER DOWNLOAD EXAMIANS APP
Basic PHP What will be the output of the following php code?$num = "1";$num1 = "2";print $num+$num1; 3 1+2 12 Error 3 1+2 12 Error ANSWER DOWNLOAD EXAMIANS APP
Basic PHP What will be the output of the following php code?$num = 1;$num1 = 2;print $num . "+". $num1; Error 1.+.2 1+2 3 Error 1.+.2 1+2 3 ANSWER DOWNLOAD EXAMIANS APP
Basic PHP Which of following variables can be assigned a value to it?1. $3hello2. $_hello3. $this4. $This 2 and 4 Only 2 2, 3 and 4 All of the mentioned 2 and 4 Only 2 2, 3 and 4 All of the mentioned ANSWER DOWNLOAD EXAMIANS APP
Basic PHP What is the limit of a PHP integer value? 16384 2147483647 65536 1048576 16384 2147483647 65536 1048576 ANSWER DOWNLOAD EXAMIANS APP