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 AshleyBale Shrek ShrekBlank AshleyBaleBlank AshleyBale Shrek ShrekBlank ANSWER DOWNLOAD EXAMIANS APP
Basic PHP Some PHP code might not have a namespace and therefore lives in the . . . . . . namespace. Default PRE Automatic Global Default PRE Automatic Global 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 2, 3 and 4 1, 2 and 4 All of the mentioned. Only 1 2, 3 and 4 1, 2 and 4 All of the mentioned. Only 1 ANSWER DOWNLOAD EXAMIANS APP
Basic PHP With the introduction of namespaces, the same function name can be used in multiple places. TRUE FALSE TRUE FALSE ANSWER DOWNLOAD EXAMIANS APP
Basic PHP PHP considers the following values as False All of Above the one-character string 0 constant NULL both A and B the integer 0 All of Above the one-character string 0 constant NULL both A and B the integer 0 ANSWER DOWNLOAD EXAMIANS APP
Basic PHP Within a namespace, for accessing the built-in PHP classes you can prefix the class name with a . . . . . and let PHP look in the global class list. asterix backslash percent ampersand asterix backslash percent ampersand ANSWER DOWNLOAD EXAMIANS APP