RE: [PEAR] MDB Win2k problem solved!!
| From: | Lukas Smith | Date: | Mon, 04 Aug 2003 13:45:46 +0000 |
| Subject: | RE: [PEAR] MDB Win2k problem solved!! | ||
| References: | 1 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-6991@lists.php.net to get a copy of this message | ||
> From: filip [mailto:filipnetzler@hotmail.com]
> Sent: Monday, August 04, 2003 3:48 PM
> Hi everybody who's migrating from Pear DB to MDB:
>
> I fact the MDB fetchInto function (and undoubtedly others too, haven't
yet
> looked after) behaves differently than the Pear DB fetchInto function.
>
> Constructs:
>
> MDB: $r = $db->fetchInto($rsid));
>
> Pear DB : $rsid->fetchInto($r));
>
> The difference is quite crucial,
> in pear db, $r is assigned by reference!
>
> Wouldn't it be easier to have a standardized set of object methods and
> properties?
Indeed the difference is quite crucial.
The changes were done for performance reasons.
Regards,
Lukas