Basic PHP When a simple data type is casted to an array, an array is created with the original value in the first element. False True False True ANSWER DOWNLOAD EXAMIANS APP
Basic PHP How does the identity operator === compare two values? 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 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 converts them to a common compatible data type and then compares the resulting values It bases its comparison on the C strcmp function exclusively 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 ANSWER DOWNLOAD EXAMIANS APP
Basic PHP PHP considers the following values as False both A and B the integer 0 All of Above constant NULL the one-character string 0 both A and B the integer 0 All of Above constant NULL the one-character string 0 ANSWER DOWNLOAD EXAMIANS APP
Basic PHP Which of the looping statements is/are supported by PHP?1. for loop2. while loop3. do-while loop4. foreach loop All of the mentioned 1, 2 and 3 1 and 2 None of the mentioned All of the mentioned 1, 2 and 3 1 and 2 None of the mentioned ANSWER DOWNLOAD EXAMIANS APP
Basic PHP What will be the output of the following PHP code?$num = 10;echo 'What is her age? \n She is $num years old'; What is her age? She is $num years old What is her age?n She is 10 years old What is her age? She is 10 years old What is her age? n She is $num years old What is her age? She is $num years old What is her age?n She is 10 years old What is her age? She is 10 years old What is her age? n She is $num years old ANSWER DOWNLOAD EXAMIANS APP