11.
What will be the output of the following code?
<?php 
$foo = 'Bob';
$bar = &$foo;        
$bar = "My name is $bar";
echo $bar;
echo $foo;
?>

12.
Which of the following PHP statements will output Hello World on the screen?
1. echo (“Hello World”);
2. print (“Hello World”);
3. printf (“Hello World”);
4. sprintf (“Hello World”);

13.
What will be the output of the following PHP code?
<?php
$color = "maroon";
$var = $color[2];
echo "$var";
?>

14.
What will be the output of the following PHP code?
<?php
$score = 1234;
$scoreboard = (array) $score;
echo $scoreboard[0];
?>

15.
What will be the output of the following PHP code?
<?php
$total = "25 students";
$more = 10;
$total = $total + $more;
echo "$total";
?>

16.
Which of the below statements is equivalent to $add += $add ?

17.
Which statement will output $x on the screen?

18.
What will be the output of the following code?
<?php
function track() 
{
	static $count = 0;
	$count++;
	echo $count;
}
track();
track();
track();
?>

19.
What will be the output of the following PHP code?
<?php
$a = "clue";
$a .= "get";
echo "$a";
?>

20.
What will be the output of the following PHP code?
<?php
$a = 5;
$b = 5;
span class="sys-fun">echo ($a === $b);
?>