Basic PHP We can use _________ to comment a single line?1. /?2. //3. #4. /* */ Both 2 and 4 2, 3 and 4 1, 3 and 4 Only 2 Both 2 and 4 2, 3 and 4 1, 3 and 4 Only 2 ANSWER DOWNLOAD EXAMIANS APP
Basic PHP What will be the output of the following PHP code?$total = "25 students";$more = 10;$total = $total + $more;echo "$total"; 25 students 35 students 35 Error 25 students 35 students 35 Error 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 ShrekBlank Shrek AshleyBaleBlank AshleyBale ShrekBlank Shrek AshleyBaleBlank ANSWER DOWNLOAD EXAMIANS APP
Basic PHP What will be the output of the following PHP code?$a = "clue";$a .= "get";echo "$a"; clueget false true get clueget false true get ANSWER DOWNLOAD EXAMIANS APP
Basic PHP Variables always start with a ........ in PHP Dollar-sign Pond-sign Euro-sign Yen-sign Dollar-sign Pond-sign Euro-sign Yen-sign ANSWER DOWNLOAD EXAMIANS APP
Basic PHP strval() 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 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 ANSWER DOWNLOAD EXAMIANS APP