Basic PHP Which of the following is not valid PHP code? ${“MyVar”} &$something $10_somethings $_10 $aVaR ${“MyVar”} &$something $10_somethings $_10 $aVaR ANSWER DOWNLOAD EXAMIANS APP
Basic PHP How does the identity operator === compare two values? 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 bases its comparison on the C strcmp function exclusively It returns True only if they are both of the same type and value 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 bases its comparison on the C strcmp function exclusively It returns True only if they are both of the same type and value If the two values are strings, it performs a lexical comparison ANSWER DOWNLOAD EXAMIANS APP
Basic PHP Which version of PHP introduced Try/catch Exception? PHP 4 PHP 5.3 PHP 5 PHP 6 PHP 4 PHP 5.3 PHP 5 PHP 6 ANSWER DOWNLOAD EXAMIANS APP
Basic PHP You can test the type of any variable with the ..... function. gettype() showtype() whattype() settype() gettype() showtype() whattype() settype() 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
Basic PHP What will be the output of the following PHP code?$a = 5;$b = 5;echo ($a === $b); Error 5 === 5 False 1 Error 5 === 5 False 1 ANSWER DOWNLOAD EXAMIANS APP