What will be the output of the following code?
$foo = 'Bob';
$bar = &$foo;
$bar = "My name is $bar";
Free Online Test
View More Related Question
1) What will be the output of the following php code?
$num = 1;
$num1 = 2;
print $num . "+". $num1;
2) Which version of PHP introduced Try/catch Exception?
3) We can use _________ to comment a single line?
4) What will be the output of the following PHP code?
$color = "maroon";
$var = $color;
5) A PHP script should start with ___ and end with ___: