#27806 [Opn]: get_class() no longer returns lowercase name
| From: | derick@php.net | Date: | Wed, 31 Mar 2004 17:52:20 +0000 |
| Subject: | #27806 [Opn]: get_class() no longer returns lowercase name | ||
| References: | 1 | Groups: | php.doc |
| Request: | Send a blank email to phpdoc+get-969359856@lists.php.net to get a copy of this message | ||
ID: 27806
Updated by: derick@php.net
Reported By: jcalvert at gmx dot net
Status: Open
-Bug Type: Class/Object related
+Bug Type: Documentation problem
PHP Version: 5.0.0RC1
New Comment:
This is expected behavior, but should be documented. Making it a
documentation bug.
Previous Comments:
------------------------------------------------------------------------
[2004-03-31 12:48:18] jcalvert at gmx dot net
Description:
------------
The documented behavior for get_class() is to return the classname in
lowercase for user-defined classes. After switching to PHP5.0.0RC1 the
function returns the name in the original case, causing minor
compatibility issues.
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=27806&edit=1