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 2, 3 and 4 All of the mentioned. Only 1 1, 2 and 4 2, 3 and 4 All of the mentioned. Only 1 ANSWER DOWNLOAD EXAMIANS APP
Basic PHP What will be the output of the following PHP code?$num = 10;echo 'What is her age? \n She is $num years old'; What is her age? She is 10 years old What is her age?n She is 10 years old What is her age? n She is $num years old What is her age? She is $num years old What is her age? She is 10 years old What is her age?n She is 10 years old What is her age? n She is $num years old What is her age? She is $num years old ANSWER DOWNLOAD EXAMIANS APP
Basic PHP You can test the type of any variable with the ..... function. showtype() settype() gettype() whattype() showtype() settype() gettype() whattype() 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 Which of the following is/are a PHP code editor?1. Notepad2. Notepad++3. Adobe Dreamweaver4. PDT 1, 2 and 3 All of the mentioned Only 4 Only 3 1, 2 and 3 All of the mentioned Only 4 Only 3 ANSWER DOWNLOAD EXAMIANS APP
Basic PHP strval() None of above Accepts a value and converts it into an string dictionary Accepts a value and converts it into string equivalent Accepts a value and converts it into a string array None of above Accepts a value and converts it into an string dictionary Accepts a value and converts it into string equivalent Accepts a value and converts it into a string array ANSWER DOWNLOAD EXAMIANS APP