& before function name
| From: | Rodney Green | Date: | Thu, 14 Aug 2003 17:24:13 +0000 |
| Subject: | & before function name | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-159600@lists.php.net to get a copy of this message | ||
In the code below what does the & (ampersand) at the beginning of the
function name do?
Code from ADODB library--------------------------------------
function &ADONewConnection($db='')
{
GLOBAL $ADODB_Database;
$rez = true;
if ($db) {
if ($ADODB_Database != $db) ADOLoadCode($db);
} else {
if (!empty($ADODB_Database)) {
ADOLoadCode($ADODB_Database);
} else {
$rez = false;
}
}