Example:
$this->sql =& new GuestBook_SQL;
What does it do?
CARVIEW |
Find centralized, trusted content and collaborate around the technologies you use most.
Learn more about CollectivesTeams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
Learn more about TeamsExample:
$this->sql =& new GuestBook_SQL;
What does it do?
This operator is assigning reference. Here's the explenation from PHP manual
It assigns by reference, instead of by value.
And it's old. You don't need that syntax anymore in PHP5. It assigns new objects by reference anyway.