Basic PHP All classes in the same namespace or subnamespace don’t have to the declared in the same PHP file. TRUE FALSE TRUE FALSE ANSWER DOWNLOAD EXAMIANS APP
Basic PHP What will be the output of the following PHP code?$color = "maroon";$var = $color[2];echo "$var"; r a Error $var r a Error $var 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 percent asterix backslash ampersand percent asterix backslash 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 parameter is being declared as passed by reference When the function is being declared as a member of a class When the function contains only one parameter Never When the parameter is Boolean When the parameter is being declared as passed by reference When the function is being declared as a member of a class When the function contains only one parameter Never ANSWER DOWNLOAD EXAMIANS APP
Basic PHP Some PHP code might not have a namespace and therefore lives in the . . . . . . namespace. Default PRE Automatic Global Default PRE Automatic Global 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 1, 2 and 3 None of the mentioned 1 and 2 All of the mentioned 1, 2 and 3 None of the mentioned 1 and 2 All of the mentioned ANSWER DOWNLOAD EXAMIANS APP