Basic PHP Under what circumstance is it impossible to assign a default value to a parameter while declaring a function? When the function contains only one parameter 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 Never When the function contains only one parameter 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 Never ANSWER DOWNLOAD EXAMIANS APP
Basic PHP Which of the following must be installed on your computer so as to run PHP script?1. Adobe Dreamweaver2. PHP3. Apache4. IIS 2 and 3 2, 3 and 4 All of the mentioned. Only 2 2 and 3 2, 3 and 4 All of the mentioned. Only 2 ANSWER DOWNLOAD EXAMIANS APP
Basic PHP What will be the output of the following PHP code?$color = "maroon";$var = $color[2];echo "$var"; r $var Error a r $var Error a ANSWER DOWNLOAD EXAMIANS APP
Basic PHP What will be the output of the following code?$foo = 'Bob';$bar = &$foo;$bar = "My name is $bar";echo $bar;echo $foo; My name is Bob Bob My name is BobMy name is Bob My name is BobBob Error My name is Bob Bob My name is BobMy name is Bob My name is BobBob Error ANSWER DOWNLOAD EXAMIANS APP
Basic PHP String values must be enclosed in ...... double quotes none of above both A and B single quotes double quotes none of above both A and B single quotes ANSWER DOWNLOAD EXAMIANS APP
Basic PHP What will be the output of the following php code?$num = 1;$num1 = 2;print $num . "+". $num1; Error 3 1+2 1.+.2 Error 3 1+2 1.+.2 ANSWER DOWNLOAD EXAMIANS APP