# What will be the output of the following code?<?php $foo = 'Bob';$bar = &$foo;$bar = "My name is $bar"; echo$bar;echo $foo;?> Error My name is BobBob My name is BobMy name is Bob My name is Bob Bob 0) print$i;} ?> ">What will be the output of the following PHP code ? <?php $i = 2;while (++$i){ while (\$i --> 0) print…
• -->

Please do not use chat terms. Example: avoid using "grt" instead of "great".