Bug #10172 Updated: get_class() doesn't return lowercase for DomX objects
| From: | mfischer@php.net | Date: | Thu, 22 Nov 2001 00:35:55 +0000 |
| Subject: | Bug #10172 Updated: get_class() doesn't return lowercase for DomX objects | ||
| References: | 1 | Groups: | php.dev php.doc |
| Request: | Send a blank email to php-dev+get-71338@lists.php.net to get a copy of this message | ||
ID: 10172
Updated by: mfischer
Reported By: colin@easydns.com
Status: Open
Old Bug Type: DOM XML related
Bug Type: Documentation problem
Operating System: RH 7.0
PHP Version: 4.0 Latest CVS (04/04/2001)
New Comment:
get_class() only returns user defined classes in lowercase.
Classes defined in extensions are returned in their original notation.
Making this a documentation problem.
Previous Comments:
------------------------------------------------------------------------
[2001-04-04 20:41:34] colin@easydns.com
get_class() is documented to return the class/object name in lowercase.
This isn't the case for DomText, DomDocument, etc. objects. In these cases, get_class()
returns the StudyCaps version of the object name.
- Colin
------------------------------------------------------------------------
Edit this bug report at http://bugs.php.net/?id=10172&edit=1