Basic PHP How does the identity operator === compare two values? If the two values are strings, it performs a lexical comparison 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 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 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 It returns True only if they are both of the same type and value 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 and 2 1, 2 and 3 All of the mentioned 1, 2 and 4 1 and 2 1, 2 and 3 All of the mentioned ANSWER DOWNLOAD EXAMIANS APP
Basic PHP What will be the output of the following PHP code?$a = 5;$b = 5;echo ($a === $b); False 5 === 5 1 Error False 5 === 5 1 Error ANSWER DOWNLOAD EXAMIANS APP
Basic PHP Which of the following is not valid PHP code? $_10 $10_somethings &$something $aVaR ${“MyVar”} $_10 $10_somethings &$something $aVaR ${“MyVar”} ANSWER DOWNLOAD EXAMIANS APP
Basic PHP If you echo a Boolean variable, the value FALSE displays as a .... and the value TRUE echoes as a ..... 0, 1 blank string, 1 blank string, 2 empty variable, 1 0, 1 blank string, 1 blank string, 2 empty variable, 1 ANSWER DOWNLOAD EXAMIANS APP
Basic PHP PHP ..... demand that you declare a data type when you create a variable. does not does does not does ANSWER DOWNLOAD EXAMIANS APP