View Full Version : In need of clarification...
Quick question: What is the purpose of placing an ampersand in front of the name of a parameter for a function?
07-27-2007, 05:20 AM
Can you post an example of what you are referring to? The context in which its used can mean different things.
No, I highly doubt that. I've seen an ampersand in front of a parameter when it comes to declaring a function
function someFunction($someParam, &$anotherParam)
In that example, what is the purpose of the & in front of the second parameter?
07-27-2007, 05:24 AM
Sorry, I was wrong..
That explains it a little better than I can
Powered by vBulletin® Version 4.2.2 Copyright © 2015 vBulletin Solutions, Inc. All rights reserved.