Basic PHP Which version of PHP introduced Try/catch Exception? PHP 5 PHP 6 PHP 4 PHP 5.3 PHP 5 PHP 6 PHP 4 PHP 5.3 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 4 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 ANSWER DOWNLOAD EXAMIANS APP
Basic PHP How does the identity operator === compare two values? It bases its comparison on the C strcmp function exclusively If the two values are strings, it performs a lexical comparison 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 converts both values to strings and compares them It bases its comparison on the C strcmp function exclusively If the two values are strings, it performs a lexical comparison 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 converts both values to strings and compares them ANSWER DOWNLOAD EXAMIANS APP
Basic PHP With the introduction of namespaces, the same function name can be used in multiple places. FALSE TRUE FALSE TRUE ANSWER DOWNLOAD EXAMIANS APP
Basic PHP Which of the below symbols is a newline character? \r /n \n /r \r /n \n /r ANSWER DOWNLOAD EXAMIANS APP
Basic PHP What will be the output of the following php code?$num = "1";$num1 = "2";print $num+$num1; Error 1+2 3 12 Error 1+2 3 12 ANSWER DOWNLOAD EXAMIANS APP