Re: [PHP] & before function name

2003-08-14 Thread Chris Boget
> In the code below what does the & (ampersand) at the beginning of the > function name do? > function &ADONewConnection($db='') Returns the value by reference. Chris -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] & before function name

2003-08-14 Thread Rodney Green
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); } el