Basic PHP Which of the conditional statements is/are supported by PHP?1. if statements2. if-else statements3. if-elseif statements4. switch statements 2, 3 and 4 All of the mentioned. Only 1 1, 2 and 4 2, 3 and 4 All of the mentioned. Only 1 1, 2 and 4 ANSWER DOWNLOAD EXAMIANS APP
Basic PHP What does PHP stand for?1. Personal Home Page2. Hypertext Preprocessor3. Pretext Hypertext Processor4. Preprocessor Home Page Both 1 and 3 Both 1 and 2 Both 2 and 4 Only 2 Both 1 and 3 Both 1 and 2 Both 2 and 4 Only 2 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 Which of the below namespace declaration is correct? namespace 1_RA; namespace ORA; namespace ORA_#; namespace ORA: namespace 1_RA; namespace ORA; namespace ORA_#; namespace ORA: ANSWER DOWNLOAD EXAMIANS APP
Basic PHP PHP files have a default file extension of_______. .ph .html .xml .php .ph .html .xml .php 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 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 Both are 3 ANSWER DOWNLOAD EXAMIANS APP