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 BobMy name is Bob My name is Bob Bob My name is BobBob Error My name is BobMy name is Bob My name is Bob Bob My name is BobBob Error ANSWER DOWNLOAD EXAMIANS APP
Basic PHP Which of the following is not valid PHP code? &$something ${“MyVar”} $_10 $aVaR $10_somethings &$something ${“MyVar”} $_10 $aVaR $10_somethings ANSWER DOWNLOAD EXAMIANS APP
Basic PHP What will be the output of the following PHP code?$score = 1234;$scoreboard = (array) $score;echo $scoreboard[0]; 2 1234 1 Error 2 1234 1 Error ANSWER DOWNLOAD EXAMIANS APP
Basic PHP It is possible to create a hierarchy of namespaces in PHP. TRUE FALSE TRUE FALSE ANSWER DOWNLOAD EXAMIANS APP
Basic PHP You can test the type of any variable with the ..... function. whattype() gettype() settype() showtype() whattype() gettype() settype() showtype() 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 All of the mentioned 1 and 2 1, 2 and 3 None of the mentioned All of the mentioned 1 and 2 ANSWER DOWNLOAD EXAMIANS APP