Basic PHP What will be the output of the following PHP code?$score = 1234;$scoreboard = (array) $score;echo $scoreboard[0]; Error 2 1234 1 Error 2 1234 1 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 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 All of the mentioned ANSWER DOWNLOAD EXAMIANS APP
Basic PHP Which of the following is/are a PHP code editor?1. Notepad2. Notepad++3. Adobe Dreamweaver4. PDT Only 3 Only 4 All of the mentioned 1, 2 and 3 Only 3 Only 4 All of the mentioned 1, 2 and 3 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 If the two values are strings, it performs a lexical comparison It returns True only if they are both of the same type and value 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 If the two values are strings, it performs a lexical comparison It returns True only if they are both of the same type and value ANSWER DOWNLOAD EXAMIANS APP
Basic PHP When a simple data type is casted to an array, an array is created with the original value in the first element. True False True False ANSWER DOWNLOAD EXAMIANS APP
Basic PHP Some PHP code might not have a namespace and therefore lives in the . . . . . . namespace. Global Automatic Default PRE Global Automatic Default PRE ANSWER DOWNLOAD EXAMIANS APP