For Programmers: Free Programming Magazines  


Home > Archive > PHP Documentation > March 2004 > #27806 [Bgs->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 [Bgs->Opn]: get_class() no longer returns lowercase name
pollita@php.net

2004-03-31, 2:32 pm

ID: 27806
Updated by: pollita@php.net
Reported By: jcalvert at gmx dot net
-Status: Bogus
+Status: Open
Bug Type: Documentation problem
PHP Version: 5.0.0RC1
New Comment:

Sorry, didn't see you mark it for Documentation.


Previous Comments:
------------------------------------------------------------------------

[2004-03-31 13:32:42] pollita@php.net

Thank you for taking the time to write to us, but this is not
a bug. Please double-check the documentation available at
http://www.php.net/manual/ and the instructions on how to report
a bug at http://bugs.php.net/how-to-report.php

This was an intended change.

------------------------------------------------------------------------

[2004-03-31 12:52:20] derick@php.net

This is expected behavior, but should be documented. Making it a
documentation bug.

------------------------------------------------------------------------

[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