Basic PHP Which of the following is not valid PHP code? &$something $aVaR $_10 ${“MyVar”} $10_somethings &$something $aVaR $_10 ${“MyVar”} $10_somethings ANSWER DOWNLOAD EXAMIANS APP
Basic PHP Multiple namespaces cannot be defined in the same file. TRUE FALSE TRUE FALSE ANSWER DOWNLOAD EXAMIANS APP
Basic PHP Assigning the empty string (like ' ') to a variable automatically renders it empty. False True False True ANSWER DOWNLOAD EXAMIANS APP
Basic PHP PHP files have a default file extension of_______. .php .xml .html .ph .php .xml .html .ph 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]);} AshleyBale AshleyBaleBlank ShrekBlank Shrek AshleyBale AshleyBaleBlank ShrekBlank Shrek ANSWER DOWNLOAD EXAMIANS APP
Basic PHP What will be the output of the following PHP code?$a = "clue";$a .= "get";echo "$a"; true false get clueget true false get clueget ANSWER DOWNLOAD EXAMIANS APP