Re: Why PHPLIB::DB sucks
| From: | Tomas V.V.Cox | Date: | Sun, 08 Jun 2003 02:30:08 +0000 |
| Subject: | Re: Why PHPLIB::DB sucks | ||
| References: | 1 2 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-17150@lists.php.net to get a copy of this message | ||
In case you care, those memory leaks will be fixed in the next days. Thanks
for reporting (please next time don't wait for a flame war to report a bug).
Tomas V.V.Cox
PD.- PHP has bugs, Linux has bugs, Windows has bugs, PEAR has bugs ;)
----- Original Message -----
From: "cagrET" <cagret@yahoo.com>
To: <pear-dev@lists.php.net>
Sent: Sunday, June 08, 2003 1:18 AM
Subject: Re: [PEAR-DEV] Why PHPLIB::DB sucks
> Why PEAR::DB sux ?
>
> cause it has bugs :)
>
> common.php -> DB_common::executeEmulateQuery()
> missing fclose($fp) ?
>
> mysql.php -> DB_mysql::freeResult()
>
> $copy = $this->prepare_types;
> unset($copy[$result]);
>
> missing "&" reference ? it doesnt unset $this->prepare_types
> btw, even if there is reference -> it will not unset
> $this->prepare_types, but it will only destroy reference, right ?
>
> cheers,
> --
> cagrET
>
>
>
> --
> PEAR Development Mailing List (http://pear.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>