Hello I am here to ask you a question about php. I had searched many times on web to get a solution, but I haven't found it yet. I have seen a code like this:
$mail_object =& Mail::factory("smtp", $smtpinfo);
$mail_result = $mail_object->send($recipients, $headers, $email_msg);
I just need to the the use of ampersand symbol before the Mail::factory
.
From the documentation,
=&
is the assignment by reference operator: