|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #20296 get_class_methods showing lower case class names
Submitted: 2002-11-07 02:58 UTC Modified: 2002-11-07 11:02 UTC
From: kkobashi at thegrid dot net Assigned:
Status: Not a bug Package: Class/Object related
PHP Version: 4.2.2 OS: Win NT 4.0
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
Block user comment
Status: Assign to:
Bug Type:
From: kkobashi at thegrid dot net
New email:
PHP Version: OS:


 [2002-11-07 02:58 UTC] kkobashi at thegrid dot net
Using get_class_methods shows method names all in lower case. I expect this to show the method names as they were typed in for each function.

That is:

class A
   function HelloWorld()

$a = get_class_methods(A);

shouldnt be helloworld but rather HelloWorld


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2002-11-07 03:09 UTC] kkobashi at thegrid dot net
The same goes true for get_parent_class()

Its shows class names in lower case
 [2002-11-07 11:02 UTC]
You expect wrong :)

PHP is case-insensitive, which in practice means, that internally it is converted to lowercase. This goes for variables/functions - anything except certain constants.

PHP Copyright © 2001-2023 The PHP Group
All rights reserved.
Last updated: Wed Nov 29 03:01:27 2023 UTC