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 All of the mentioned 1 and 2 None of the mentioned 1, 2 and 3 All of the mentioned 1 and 2 None of the mentioned ANSWER DOWNLOAD EXAMIANS APP
Basic PHP What will be the output of the following PHP code?$score = 1234;$scoreboard = (array) $score;echo $scoreboard[0]; 2 1 1234 Error 2 1 1234 Error ANSWER DOWNLOAD EXAMIANS APP
Basic PHP Which of following variables can be assigned a value to it?1. $3hello2. $_hello3. $this4. $This 2, 3 and 4 2 and 4 Only 2 All of the mentioned 2, 3 and 4 2 and 4 Only 2 All of the mentioned ANSWER DOWNLOAD EXAMIANS APP
Basic PHP Within a namespace, for accessing the built-in PHP classes you can prefix the class name with a . . . . . and let PHP look in the global class list. ampersand percent backslash asterix ampersand percent backslash asterix ANSWER DOWNLOAD EXAMIANS APP
Basic PHP Some PHP code might not have a namespace and therefore lives in the . . . . . . namespace. Default PRE Global Automatic Default PRE Global Automatic 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