Basic PHP Multiple namespaces cannot be defined in the same file. TRUE FALSE TRUE FALSE ANSWER DOWNLOAD EXAMIANS APP
Basic PHP Some PHP code might not have a namespace and therefore lives in the . . . . . . namespace. Default Automatic PRE Global Default Automatic PRE Global ANSWER DOWNLOAD EXAMIANS APP
Basic PHP How does the identity operator === compare two values? If the two values are strings, it performs a lexical comparison It converts both values to strings and compares them It returns True only if they are both of the same type and value It bases its comparison on the C strcmp function exclusively It converts them to a common compatible data type and then compares the resulting values If the two values are strings, it performs a lexical comparison It converts both values to strings and compares them It returns True only if they are both of the same type and value It bases its comparison on the C strcmp function exclusively It converts them to a common compatible data type and then compares the resulting values ANSWER DOWNLOAD EXAMIANS APP
Basic PHP All classes in the same namespace or subnamespace don’t have to the declared in the same PHP file. FALSE TRUE FALSE TRUE ANSWER DOWNLOAD EXAMIANS APP
Basic PHP What will be the output of the following PHP code?$a = 5;$b = 5;echo ($a === $b); 1 5 === 5 False Error 1 5 === 5 False 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 1, 2 and 4 All of the mentioned. 2, 3 and 4 Only 1 1, 2 and 4 All of the mentioned. 2, 3 and 4 ANSWER DOWNLOAD EXAMIANS APP