If I want a function to return by reference, I do this?
function & myCoolFunction( ) {
$queryObject = new queryObject();
return $queryObject;
}
I get back a reference to the object automatically now?
function & myCoolFunction( ) {
$queryObject = new queryObject();
return $queryObject;
}
I get back a reference to the object automatically now?
Comment