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 Assigning the empty string (like ' ') to a variable automatically renders it empty. True False True False ANSWER DOWNLOAD EXAMIANS APP
Basic PHP Which statement will output $x on the screen? echo “$x;”; echo “\$x”; echo “/$x”; echo “$$x”; echo “$x;”; echo “\$x”; echo “/$x”; echo “$$x”; 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 php statement/statements will store 111 in variable num?1. int $num = 111;2. int mum = 111;3. $num = 111;4. 111 = $num; Both 1 and 2 All of the mentioned Only 3 Only 1 Both 1 and 2 All of the mentioned Only 3 Only 1 ANSWER DOWNLOAD EXAMIANS APP
Basic PHP PHP runs on different platforms (Windows, Linux, Unix, etc.) False True False True ANSWER DOWNLOAD EXAMIANS APP