Bug #12430 Updated: is_subclass_of
| From: | sniper@php.net | Date: | Sun, 21 Oct 2001 23:59:46 +0000 |
| Subject: | Bug #12430 Updated: is_subclass_of | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-68660@lists.php.net to get a copy of this message | ||
ID: 12430
Updated by: sniper
Reported By: mailling@bigfoot.com
Old Status: Open
Status: Closed
Bug Type: Class/Object related
Operating System: windows 2000
PHP Version: 4.0.6
New Comment:
Works for me just fine with PHP 4.1.0RC1
Previous Comments:
------------------------------------------------------------------------
[2001-07-27 11:59:08] mailling@bigfoot.com
if I have a class like this
class PEAR_Error {
Note the uppercase !
and $a=new PEAR_Error();
if I do is_subclass_of($a,'PEAR_Error'), it won't work
but is_subclass_of($a,'pear_error') will work
------------------------------------------------------------------------
Edit this bug report at http://bugs.php.net/?id=12430&edit=1