Bug #16870 Updated: function is_a() inconsisten

From: Date: Sat, 08 Jun 2002 13:46:28 +0000
Subject: Bug #16870 Updated: function is_a() inconsisten
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-9845@lists.php.net to get a copy of this message
ID: 16870 Updated by: andrei@php.net Reported By: dan@mojavelinux.com -Status: Assigned +Status: Closed Bug Type: Feature/Change Request Operating System: Linux PHP Version: 4.2.0 Assigned To: andrei New Comment: This bug has been fixed in CVS. You can grab a snapshot of the CVS version at http://snaps.php.net/. In case this was a documentation problem, the fix will show up soon at http://www.php.net/manual/. In case this was a PHP.net website problem, the change will show up on the PHP.net site and on the mirror sites. Thank you for the report, and for helping us make PHP better. Previous Comments: ------------------------------------------------------------------------ [2002-04-27 19:07:00] sniper@php.net Assigned to Andrei who added is_a() ------------------------------------------------------------------------ [2002-04-27 04:35:16] dan@mojavelinux.com Is there any reason that this function is_a() does not work for php classes? If I create a domxml object $xml and do is_a($xml, get_class($xml)); it returns false...something seems wrong about that. This is not a strtolower problem either...this function works fine for user defined classes, but refused to even operate on objects created by php's functions. ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=16870&edit=1

« previous php.bugs (#9845) next »