1.

What will be the output of the following code?
<?php 
$name = 'Ajit';
$temp = &$name;
$temp = "My name is $temp. ";
echo $temp;
echo $name;
?>

A. AjitAjit
B. My name is Ajit. My name is Ajit.
C. Ajit
D. Error
E. None of these
Answer» C. Ajit


Discussion

No Comment Found

Related MCQs