Basic PHP What will be the output of the following PHP code?$score = 1234;$scoreboard = (array) $score;echo $scoreboard[0]; Error 1 2 1234 Error 1 2 1234 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 below statements is equivalent to $add += $add ? $add = $add + $add + 1 $add = $add + 1 $add = $add $add = $add +$add $add = $add + $add + 1 $add = $add + 1 $add = $add $add = $add +$add ANSWER DOWNLOAD EXAMIANS APP
Basic PHP What will be the output of the following code?function track() {static $count = 0;$count++;echo $count;}track();track();track(); 123 000 111 011 123 000 111 011 ANSWER DOWNLOAD EXAMIANS APP
Basic PHP Under what circumstance is it impossible to assign a default value to a parameter while declaring a function? When the parameter is being declared as passed by reference When the parameter is Boolean When the function contains only one parameter Never When the function is being declared as a member of a class When the parameter is being declared as passed by reference When the parameter is Boolean When the function contains only one parameter Never When the function is being declared as a member of a class 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"; Error 35 35 students 25 students Error 35 35 students 25 students ANSWER DOWNLOAD EXAMIANS APP