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 How does the identity operator === compare two values? It converts both values to strings and compares them If the two values are strings, it performs a lexical comparison 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 It converts both values to strings and compares them If the two values are strings, it performs a lexical comparison 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 Variables always start with a ........ in PHP Yen-sign Pond-sign Dollar-sign Euro-sign Yen-sign Pond-sign Dollar-sign Euro-sign ANSWER DOWNLOAD EXAMIANS APP
Basic PHP Within a namespace, for accessing the built-in PHP classes you can prefix the class name with a . . . . . and let PHP look in the global class list. ampersand percent asterix backslash ampersand percent asterix backslash ANSWER DOWNLOAD EXAMIANS APP
Basic PHP Some PHP code might not have a namespace and therefore lives in the . . . . . . namespace. Default Automatic Global PRE Default Automatic Global PRE ANSWER DOWNLOAD EXAMIANS APP
Basic PHP Which of the following PHP statements will output Hello World on the screen?1. echo (“Hello World”);2. print (“Hello World”);3. printf (“Hello World”);4. sprintf (“Hello World”); 1, 2 and 3 All of the mentioned 1 and 2 1, 2 and 4 1, 2 and 3 All of the mentioned 1 and 2 1, 2 and 4 ANSWER DOWNLOAD EXAMIANS APP