From: Joel U. <uck...@el...> - 2005-11-03 14:18:03
|
Thus spake Stefan: > thx for the answer > > can you tell me where to do this? what's the reference? > > Stefan Line 97 looks like this: $dbh = &$this->_connect(); The reference is created by the ampersand. For the moment, it's unclear to me what purpose the reference here is serving. Hence my question for Reini: Reini: I noticed that in the DbSession code that the db handles are acquired from _connect() using a mix of references and straight assignment (SQL.php and ADODB.php use references only, dba.php uses assignment only, and PDO.php uses a mix of the two). Is there a reason why these aren't uniform? I.e., do any of them actually need to be references? (I don't think so, but I could be wrong.) -- J. |