RE : [PEAR-DEV] DB::isError() in DB 1.6.4
| From: | Benoit Delagarde | Date: | Wed, 30 Jun 2004 08:13:12 +0000 |
| Subject: | RE : [PEAR-DEV] DB::isError() in DB 1.6.4 | ||
| References: | 1 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-31362@lists.php.net to get a copy of this message | ||
> you may use the PEAR package PHP_Compat to make this work with older
> versions of PHP.
Ok,
Thanks. Now I understand all except this:
>> Because you shouldn't be using such an old version of PHP maybe....?
Why? (In any case, I have no choice)
>And to allow things to work correctly under PHP 4 and PHP 5.
??? I don't understand why. get_class(), get_parent_class() and is_object()
are all available in PHP 5.
> it's one call vs 3
That's a good reason, but a lost of compatibility. It's "Daniel Convissor"
choice.
In any case it's a good and efficient job ;-)