Basic PHP What will be the output of the following php code?$num = 1;$num1 = 2;print $num . "+". $num1; 1+2 3 1.+.2 Error 1+2 3 1.+.2 Error ANSWER DOWNLOAD EXAMIANS APP
Basic PHP Which of the conditional statements is/are supported by PHP?1. if statements2. if-else statements3. if-elseif statements4. switch statements Only 1 All of the mentioned. 1, 2 and 4 2, 3 and 4 Only 1 All of the mentioned. 1, 2 and 4 2, 3 and 4 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 BobMy name is Bob Error My name is BobBob My name is Bob Bob My name is BobMy name is Bob Error My name is BobBob My name is Bob Bob ANSWER DOWNLOAD EXAMIANS APP
Basic PHP Which statement will output $x on the screen? echo “$x;”; echo “$$x”; echo “\$x”; echo “/$x”; echo “$x;”; echo “$$x”; echo “\$x”; echo “/$x”; 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 is the limit of a PHP integer value? 65536 1048576 2147483647 16384 65536 1048576 2147483647 16384 ANSWER DOWNLOAD EXAMIANS APP