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 Only 1 2, 3 and 4 All of the mentioned. 1, 2 and 4 Only 1 2, 3 and 4 All of the mentioned. ANSWER DOWNLOAD EXAMIANS APP
Basic PHP How does the identity operator === compare two values? It returns True only if they are both of the same type and value It bases its comparison on the C strcmp function exclusively If the two values are strings, it performs a lexical comparison It converts both values to strings and compares them It converts them to a common compatible data type and then compares the resulting values It returns True only if they are both of the same type and value It bases its comparison on the C strcmp function exclusively If the two values are strings, it performs a lexical comparison It converts both values to strings and compares them It converts them to a common compatible data type and then compares the resulting values 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 4 and b is 3 a is 3 and b is 4 Both are 3 Both are 4 a is 4 and b is 3 a is 3 and b is 4 ANSWER DOWNLOAD EXAMIANS APP
Basic PHP String values must be enclosed in ...... single quotes both A and B none of above double quotes single quotes both A and B none of above double quotes ANSWER DOWNLOAD EXAMIANS APP
Basic PHP As the namespace size grows, using namespaces can become a little repetitious, but PHP also provides the . . . . . statement, which allows you to alias a specific namespace. use grant label php use grant label php ANSWER DOWNLOAD EXAMIANS APP
Basic PHP strval() None of above Accepts a value and converts it into string equivalent Accepts a value and converts it into a string array Accepts a value and converts it into an string dictionary None of above Accepts a value and converts it into string equivalent Accepts a value and converts it into a string array Accepts a value and converts it into an string dictionary ANSWER DOWNLOAD EXAMIANS APP