Bug #16870 Updated: function is_a() inconsisten

From: Date: Sat, 27 Apr 2002 23:07:00 +0000
Subject: Bug #16870 Updated: function is_a() inconsisten
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-6312@lists.php.net to get a copy of this message
ID: 16870 Updated by: sniper@php.net Reported By: dan@mojavelinux.com -Status: Open +Status: Assigned Bug Type: Feature/Change Request Operating System: Linux PHP Version: 4.2.0 -Assigned To: +Assigned To: andrei New Comment: Assigned to Andrei who added is_a() Previous Comments: ------------------------------------------------------------------------ [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 (#6312) next »