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 strval() Accepts a value and converts it into an string dictionary Accepts a value and converts it into a string array Accepts a value and converts it into string equivalent None of above Accepts a value and converts it into an string dictionary Accepts a value and converts it into a string array Accepts a value and converts it into string equivalent None of above ANSWER DOWNLOAD EXAMIANS APP
Basic PHP String values must be enclosed in ...... both A and B none of above double quotes single quotes both A and B none of above double quotes single quotes 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 1, 2 and 4 2, 3 and 4 All of the mentioned. Only 1 1, 2 and 4 2, 3 and 4 All of the mentioned. Only 1 ANSWER DOWNLOAD EXAMIANS APP
Basic PHP Which of the following must be installed on your computer so as to run PHP script?1. Adobe Dreamweaver2. PHP3. Apache4. IIS All of the mentioned. 2 and 3 Only 2 2, 3 and 4 All of the mentioned. 2 and 3 Only 2 2, 3 and 4 ANSWER DOWNLOAD EXAMIANS APP
Basic PHP Which of the following is not valid PHP code? $aVaR &$something $10_somethings $_10 ${“MyVar”} $aVaR &$something $10_somethings $_10 ${“MyVar”} ANSWER DOWNLOAD EXAMIANS APP