Sail E0 Webinar
Question
What will be the output of the following code?$foo = 'Bob';$bar = &$foo;$bar = "My name is $bar";echo $bar;echo $foo;
Options:
A .  Error
B .  My name is BobMy name is Bob
C .  My name is Bob Bob
D .  My name is BobBob
Answer: Option B

Submit Your Solution Below and Earn Points !
Next Question

Submit Solution

Your email address will not be published. Required fields are marked *

Latest Videos

Latest Test Papers