Basic PHP PHP files have a default file extension of_______. .xml .php .ph .html .xml .php .ph .html ANSWER DOWNLOAD EXAMIANS APP
Basic PHP We can use _________ to comment a single line?1. /?2. //3. #4. /* */ 1, 3 and 4 2, 3 and 4 Both 2 and 4 Only 2 1, 3 and 4 2, 3 and 4 Both 2 and 4 Only 2 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 AshleyBale ShrekBlank Shrek AshleyBaleBlank AshleyBale ShrekBlank Shrek ANSWER DOWNLOAD EXAMIANS APP
Basic PHP Which of the looping statements is/are supported by PHP?1. for loop2. while loop3. do-while loop4. foreach loop None of the mentioned 1, 2 and 3 All of the mentioned 1 and 2 None of the mentioned 1, 2 and 3 All of the mentioned 1 and 2 ANSWER DOWNLOAD EXAMIANS APP
Basic PHP What will be the output of the following PHP code?$a = "clue";$a .= "get";echo "$a"; false get true clueget false get true clueget ANSWER DOWNLOAD EXAMIANS APP
Basic PHP You can test the type of any variable with the ..... function. settype() whattype() gettype() showtype() settype() whattype() gettype() showtype() ANSWER DOWNLOAD EXAMIANS APP