Basic PHP We can use _________ to comment a single line?1. /?2. //3. #4. /* */ Only 2 Both 2 and 4 1, 3 and 4 2, 3 and 4 Only 2 Both 2 and 4 1, 3 and 4 2, 3 and 4 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 1, 2 and 4 2, 3 and 4 All of the mentioned. Only 1 1, 2 and 4 2, 3 and 4 ANSWER DOWNLOAD EXAMIANS APP
Basic PHP Who is the father of PHP? Willam Makepiece List Barely Rasmus Lerdorf Drek Kolkevi Willam Makepiece List Barely Rasmus Lerdorf Drek Kolkevi ANSWER DOWNLOAD EXAMIANS APP
Basic PHP When a simple data type is casted to an array, an array is created with the original value in the first element. 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]);} AshleyBale Shrek ShrekBlank AshleyBaleBlank AshleyBale Shrek ShrekBlank AshleyBaleBlank ANSWER DOWNLOAD EXAMIANS APP
Basic PHP Which of the following is not valid PHP code? &$something $10_somethings ${“MyVar”} $_10 $aVaR &$something $10_somethings ${“MyVar”} $_10 $aVaR ANSWER DOWNLOAD EXAMIANS APP