Basic PHP What will be the output of the following php code?$num = 1;$num1 = 2;print $num . "+". $num1; 1+2 1.+.2 Error 3 1+2 1.+.2 Error 3 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 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]);} ShrekBlank AshleyBale AshleyBaleBlank Shrek ShrekBlank AshleyBale AshleyBaleBlank Shrek ANSWER DOWNLOAD EXAMIANS APP
Basic PHP What will be the output of the following php code?$num = "1";$num1 = "2";print $num+$num1; Error 12 3 1+2 Error 12 3 1+2 ANSWER DOWNLOAD EXAMIANS APP
Basic PHP What will be the output of the following PHP code?$color = "maroon";$var = $color[2];echo "$var"; Error $var a r Error $var a r 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 Only 3 Only 1 All of the mentioned Both 1 and 2 Only 3 Only 1 All of the mentioned ANSWER DOWNLOAD EXAMIANS APP