For Programmers: Free Programming Magazines  


Home > Archive > PHP Documentation > March 2004 > #27806 [Opn]: get_class() no longer returns lowercase name









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author #27806 [Opn]: get_class() no longer returns lowercase name
derick@php.net

2004-03-31, 1:33 pm

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
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com