Basic PHP What will be the output of the following PHP code?$color = "maroon";$var = $color[2];echo "$var"; Error a r $var Error a r $var 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 All of the mentioned 1, 2 and 3 Only 4 Only 3 All of the mentioned 1, 2 and 3 Only 4 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 and 2 None of the mentioned 1, 2 and 3 All of the mentioned 1 and 2 None of the mentioned 1, 2 and 3 All 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 1234 1 Error 2 1234 1 Error ANSWER DOWNLOAD EXAMIANS APP
Basic PHP What will be the output of the following PHP code?$a = "clue";$a .= "get";echo "$a"; false get true clueget false get true clueget ANSWER DOWNLOAD EXAMIANS APP
Basic PHP If $a = 12 what will be returned when ($a == 12) ? 5 : 1 is executed? Error 5 12 1 Error 5 12 1 ANSWER DOWNLOAD EXAMIANS APP