Basic PHP Which of the conditional statements is/are supported by PHP?1. if statements2. if-else statements3. if-elseif statements4. switch statements 1, 2 and 4 All of the mentioned. Only 1 2, 3 and 4 1, 2 and 4 All of the mentioned. Only 1 2, 3 and 4 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 Error 1+2 3 1.+.2 Error 1+2 ANSWER DOWNLOAD EXAMIANS APP
Basic PHP Which of following variables can be assigned a value to it?1. $3hello2. $_hello3. $this4. $This Only 2 2 and 4 2, 3 and 4 All of the mentioned Only 2 2 and 4 2, 3 and 4 All of the mentioned ANSWER DOWNLOAD EXAMIANS APP
Basic PHP What will be the output of the following PHP code?$color = "maroon";$var = $color[2];echo "$var"; r $var Error a r $var Error a 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 PHP code?$a = "clue";$a .= "get";echo "$a"; false clueget true get false clueget true get ANSWER DOWNLOAD EXAMIANS APP