Re: cvs: pear /Auth/Container DB.php
| From: | Yavor Shahpasov | Date: | Mon, 30 Aug 2004 12:03:56 +0000 |
| Subject: | Re: cvs: pear /Auth/Container DB.php | ||
| References: | 1 2 | Groups: | php.pear.cvs |
| Request: | Send a blank email to pear-cvs+get-23501@lists.php.net to get a copy of this message | ||
Martin Jansen wrote:
On Mon Aug 30, 2004 at 09:3450AM -0000, Yavor Shahpasov wrote:yavorWouldn't it be better to use is_subclass_of() here? Is_a() is deprecated in PHP 5. changed, strangely mannual does not say it was deptricated.- } elseif (strtolower(get_parent_class($dsn)) == "db_common") { + } elseif (is_a($dsn, 'db_common')) {