The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
& sign
what does it mean in php?
sometimes i see $var =& $data; but i've never seen the explaination for it. i've seen the likes of && and || but not a & on it's own. |
#2
|
|||
|
|||
Reference equals. Essentially, modifying $var also modifies $data and vice versa. Saves memory.
& is also bitwise and. |
#3
|
||||
|
||||
thanks for the education filburt
|
#4
|
|||
|
|||
It means 'address of'. Instead of one time copying the content of $data to $var, it sets $var to be a pointer to $data.
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|