Basic PHP What will be the output of the following PHP code?$a = 5;$b = 5;echo ($a === $b); Error 5 === 5 1 False Error 5 === 5 1 False ANSWER DOWNLOAD EXAMIANS APP
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 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? n She is $num years old What is her age?n She is 10 years old What is her age? She is 10 years old What is her age? She is $num 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 10 years old ANSWER DOWNLOAD EXAMIANS APP
Basic PHP All classes in the same namespace or subnamespace don’t have to the declared in the same PHP file. TRUE FALSE TRUE FALSE ANSWER DOWNLOAD EXAMIANS APP
Basic PHP String values must be enclosed in ...... double quotes both A and B single quotes none of above double quotes both A and B single quotes none of above 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 AshleyBaleBlank Shrek AshleyBale ShrekBlank AshleyBaleBlank Shrek AshleyBale ANSWER DOWNLOAD EXAMIANS APP