Basic PHP What will be the output of the following PHP code?$total = "25 students";$more = 10;$total = $total + $more;echo "$total"; 35 students 35 Error 25 students 35 students 35 Error 25 students ANSWER DOWNLOAD EXAMIANS APP
Basic PHP What will be the output of the following PHP code?$num = 10;echo 'What is her age? \n She is $num years old'; What is her age? She is $num years old What is her age? She is 10 years old What is her age? n She is $num years old What is her age?n She is 10 years old What is her age? She is $num years old What is her age? She is 10 years old What is her age? n She is $num years old What is her age?n She is 10 years old ANSWER DOWNLOAD EXAMIANS APP
Basic PHP Which version of PHP introduced Try/catch Exception? PHP 5.3 PHP 5 PHP 6 PHP 4 PHP 5.3 PHP 5 PHP 6 PHP 4 ANSWER DOWNLOAD EXAMIANS APP
Basic PHP What will be the output of the following php code?$num = 1;$num1 = 2;print $num . "+". $num1; 1+2 3 1.+.2 Error 1+2 3 1.+.2 Error ANSWER DOWNLOAD EXAMIANS APP
Basic PHP What will be the output of the following PHP code?$user = array("Ashley", "Bale", "Shrek", "Blank");for ($x=0; $x < count($user); $x++){if ($user[$x] == "Shrek")continue;printf ($user[$x]);} AshleyBaleBlank Shrek ShrekBlank AshleyBale AshleyBaleBlank Shrek ShrekBlank AshleyBale 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