Basic PHP What will be the output of the following PHP code?$score = 1234;$scoreboard = (array) $score;echo $scoreboard[0]; 1234 2 1 Error 1234 2 1 Error 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 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 It converts both values to strings and compares them ANSWER DOWNLOAD EXAMIANS APP
Basic PHP Which of the following must be installed on your computer so as to run PHP script?1. Adobe Dreamweaver2. PHP3. Apache4. IIS All of the mentioned. 2 and 3 2, 3 and 4 Only 2 All of the mentioned. 2 and 3 2, 3 and 4 Only 2 ANSWER DOWNLOAD EXAMIANS APP
Basic PHP PHP does not support numbers written in hexadecimal, octal or scientific notation. False True False True 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 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 $num years old What is her age? She is 10 years old What is her age?n She is 10 years old What is her age? She is $num years old What is her age? n She is $num years old What is her age? She is 10 years old What is her age?n She is 10 years old ANSWER DOWNLOAD EXAMIANS APP