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 BobBob Error My name is BobMy name is Bob My name is Bob Bob My name is BobBob Error My name is BobMy name is Bob ANSWER DOWNLOAD EXAMIANS APP
Basic PHP With the introduction of namespaces, the same function name can be used in multiple places. TRUE FALSE TRUE FALSE ANSWER DOWNLOAD EXAMIANS APP
Basic PHP What will be the output of the following PHP code?$user = array("Ashley", "Bale", "Shrek", "Blank");for ($x=0; $x < count($user); $x++){if ($user[$x] == "Shrek")continue;printf ($user[$x]);} AshleyBaleBlank ShrekBlank Shrek AshleyBale AshleyBaleBlank ShrekBlank Shrek AshleyBale ANSWER DOWNLOAD EXAMIANS APP
Basic PHP Which of the following is not valid PHP code? $aVaR $10_somethings $_10 &$something ${“MyVar”} $aVaR $10_somethings $_10 &$something ${“MyVar”} ANSWER DOWNLOAD EXAMIANS APP
Basic PHP PHP ..... demand that you declare a data type when you create a variable. does not does does not does ANSWER DOWNLOAD EXAMIANS APP
Basic PHP Which of the following is/are a PHP code editor?1. Notepad2. Notepad++3. Adobe Dreamweaver4. PDT Only 3 1, 2 and 3 All of the mentioned Only 4 Only 3 1, 2 and 3 All of the mentioned Only 4 ANSWER DOWNLOAD EXAMIANS APP