Basic PHP Which of the conditional statements is/are supported by PHP?1. if statements2. if-else statements3. if-elseif statements4. switch statements Only 1 2, 3 and 4 All of the mentioned. 1, 2 and 4 Only 1 2, 3 and 4 All of the mentioned. 1, 2 and 4 ANSWER DOWNLOAD EXAMIANS APP
Basic PHP If $a = 12 what will be returned when ($a == 12) ? 5 : 1 is executed? 1 12 Error 5 1 12 Error 5 ANSWER DOWNLOAD EXAMIANS APP
Basic PHP What will be the output of the following PHP code?$a = "clue";$a .= "get";echo "$a"; clueget false get true clueget false get true ANSWER DOWNLOAD EXAMIANS APP
Basic PHP strval() Accepts a value and converts it into string equivalent Accepts a value and converts it into an string dictionary None of above Accepts a value and converts it into a string array Accepts a value and converts it into string equivalent Accepts a value and converts it into an string dictionary None of above Accepts a value and converts it into a string array ANSWER DOWNLOAD EXAMIANS APP
Basic PHP Which of following variables can be assigned a value to it?1. $3hello2. $_hello3. $this4. $This All of the mentioned 2 and 4 Only 2 2, 3 and 4 All of the mentioned 2 and 4 Only 2 2, 3 and 4 ANSWER DOWNLOAD EXAMIANS APP
Basic PHP Under what circumstance is it impossible to assign a default value to a parameter while declaring a function? Never When the parameter is Boolean When the function contains only one parameter When the parameter is being declared as passed by reference When the function is being declared as a member of a class Never When the parameter is Boolean When the function contains only one parameter When the parameter is being declared as passed by reference When the function is being declared as a member of a class ANSWER DOWNLOAD EXAMIANS APP