Basic PHP All classes in the same namespace or subnamespace don’t have to the declared in the same PHP file. FALSE TRUE FALSE TRUE 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 ShrekBlank AshleyBale Shrek AshleyBaleBlank ShrekBlank AshleyBale Shrek ANSWER DOWNLOAD EXAMIANS APP
Basic PHP What will be the output of the following PHP code?$color = "maroon";$var = $color[2];echo "$var"; a r Error $var a r Error $var 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 function contains only one parameter When the parameter is Boolean When the function is being declared as a member of a class Never When the parameter is being declared as passed by reference When the function contains only one parameter When the parameter is Boolean When the function is being declared as a member of a class Never When the parameter is being declared as passed by reference ANSWER DOWNLOAD EXAMIANS APP
Basic PHP Variables always start with a ........ in PHP Yen-sign Euro-sign Pond-sign Dollar-sign Yen-sign Euro-sign Pond-sign Dollar-sign 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. Only 1 2, 3 and 4 1, 2 and 4 All of the mentioned. Only 1 2, 3 and 4 1, 2 and 4 ANSWER DOWNLOAD EXAMIANS APP