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 Which of the below namespace declaration is correct? namespace ORA; namespace ORA_#; namespace 1_RA; namespace ORA: namespace ORA; namespace ORA_#; namespace 1_RA; namespace ORA: 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 arsenalI love manc I love arsenal Error I love arsenalI love mancI love manu I love arsenalI love manc I love arsenal Error 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 All of the mentioned 1 and 2 None of the mentioned 1, 2 and 3 All of the mentioned 1 and 2 None of the mentioned 1, 2 and 3 ANSWER DOWNLOAD EXAMIANS APP
Basic PHP The value of __NAMESPACE__ is a string that contains the current namespace name. In global, un-namespaced code, it contains . . . . . . gibberish value an empty string NULL 0 gibberish value an empty string NULL 0 ANSWER DOWNLOAD EXAMIANS APP
Basic PHP Which of the following is not valid PHP code? $aVaR $10_somethings $_10 ${“MyVar”} &$something $aVaR $10_somethings $_10 ${“MyVar”} &$something ANSWER DOWNLOAD EXAMIANS APP