Basic PHP Under what circumstance is it impossible to assign a default value to a parameter while declaring a function? Never When the function is being declared as a member of a class When the parameter is Boolean When the parameter is being declared as passed by reference When the function contains only one parameter Never When the function is being declared as a member of a class When the parameter is Boolean When the parameter is being declared as passed by reference When the function contains only one parameter ANSWER DOWNLOAD EXAMIANS APP
Basic PHP What will be the output of the following PHP code?$team = "arsenal";switch ($team) {case "manu":echo "I love man u";case "arsenal":echo "I love arsenal";case "manc":echo "I love manc"; } I love arsenalI love mancI love manu I love arsenal I love arsenalI love manc Error I love arsenalI love mancI love manu I love arsenal I love arsenalI love manc Error 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 All of the mentioned. 2, 3 and 4 Only 2 2 and 3 All of the mentioned. 2, 3 and 4 Only 2 2 and 3 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 Error My name is BobMy name is Bob My name is BobBob My name is Bob Bob Error My name is BobMy name is Bob My name is BobBob ANSWER DOWNLOAD EXAMIANS APP
Basic PHP What will be the output of the following php code?$num = 1;$num1 = 2;print $num . "+". $num1; 1+2 Error 3 1.+.2 1+2 Error 3 1.+.2 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