little inconsitency in PEAR DB ... should MDB care?

From: Date: Mon, 15 Jul 2002 18:28:17 +0000
Subject: little inconsitency in PEAR DB ... should MDB care?
Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-7730@lists.php.net to get a copy of this message
Hi, just found one instance where PEAR DB uses a pass by reference var to return data: fetchInto() stig told me that tomas made this modification to be able to do something like this: while (DB_OK === $rs->fetchInto($fields)) { ... } but this could also be done like this if I am not mistaken: while (is_array($rs->fetchInto($fields))) { ... } so should MDB use the PEAR DB way in this case or not? Best regards, Lukas Smith smith@dybnet.de _______________________________ DybNet Internet Solutions GbR Reuchlinstr. 10-11 Gebäude 4 1.OG Raum 6 (4.1.6) 10553 Berlin Germany Tel. : +49 30 83 22 50 00 Fax : +49 30 83 22 50 07 www.dybnet.de info@dybnet.de

« previous php.pear.dev (#7730) next »