Basic PHP PHP ..... demand that you declare a data type when you create a variable. does does not does does not ANSWER DOWNLOAD EXAMIANS APP
Basic PHP If $a = 12 what will be returned when ($a == 12) ? 5 : 1 is executed? 5 1 12 Error 5 1 12 Error ANSWER DOWNLOAD EXAMIANS APP
Basic PHP Which of the conditional statements is/are supported by PHP?1. if statements2. if-else statements3. if-elseif statements4. switch statements All of the mentioned. 1, 2 and 4 Only 1 2, 3 and 4 All of the mentioned. 1, 2 and 4 Only 1 2, 3 and 4 ANSWER DOWNLOAD EXAMIANS APP
Basic PHP What will be the output of the following PHP code?$total = "25 students";$more = 10;$total = $total + $more;echo "$total"; 25 students 35 35 students Error 25 students 35 35 students Error ANSWER DOWNLOAD EXAMIANS APP
Basic PHP Which of the below statements is equivalent to $add += $add ? $add = $add $add = $add + 1 $add = $add + $add + 1 $add = $add +$add $add = $add $add = $add + 1 $add = $add + $add + 1 $add = $add +$add 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