Ampersand

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
pastijalan
Forum Newbie
Posts: 10
Joined: Thu Oct 12, 2006 11:54 pm

Ampersand

Post by pastijalan »

Newbie question :oops: . What does the ampersand do in this code below?

$tplVars['bookmarks'] =& $bookmarks['bookmarks'];

How does it differ from :

$tplVars['bookmarks'] = $bookmarks['bookmarks'];


Thx!
jmut
Forum Regular
Posts: 945
Joined: Tue Jul 05, 2005 3:54 am
Location: Sofia, Bulgaria
Contact:

Post by jmut »

Post Reply