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 All of the mentioned. 2, 3 and 4 1, 2 and 4 Only 1 All of the mentioned. 2, 3 and 4 1, 2 and 4 ANSWER DOWNLOAD EXAMIANS APP
Basic PHP PHP considers the following values as False the one-character string 0 both A and B All of Above constant NULL the integer 0 the one-character string 0 both A and B All of Above constant NULL the integer 0 ANSWER DOWNLOAD EXAMIANS APP
Basic PHP Which statement will output $x on the screen? echo “\$x”; echo “$$x”; echo “/$x”; echo “$x;”; echo “\$x”; echo “$$x”; echo “/$x”; echo “$x;”; ANSWER DOWNLOAD EXAMIANS APP
Basic PHP If $a = 12 what will be returned when ($a == 12) ? 5 : 1 is executed? 12 Error 1 5 12 Error 1 5 ANSWER DOWNLOAD EXAMIANS APP
Basic PHP Under what circumstance is it impossible to assign a default value to a parameter while declaring a function? When the parameter is Boolean When the function is being declared as a member of a class Never When the function contains only one parameter When the parameter is being declared as passed by reference When the parameter is Boolean When the function is being declared as a member of a class Never When the function contains only one parameter When the parameter is being declared as passed by reference ANSWER DOWNLOAD EXAMIANS APP
Basic PHP Within a namespace, for accessing the built-in PHP classes you can prefix the class name with a . . . . . and let PHP look in the global class list. ampersand backslash percent asterix ampersand backslash percent asterix ANSWER DOWNLOAD EXAMIANS APP