#20296 [Opn->Bgs]: get_class_methods showing lower case class names

From: Date: Thu, 07 Nov 2002 17:02:07 +0000
Subject: #20296 [Opn->Bgs]: get_class_methods showing lower case class names
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-24286@lists.php.net to get a copy of this message
ID: 20296 Updated by: msopacua@php.net Reported By: kkobashi@thegrid.net -Status: Open +Status: Bogus Bug Type: Class/Object related Operating System: Win NT 4.0 PHP Version: 4.2.2 New Comment: 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. Previous Comments: ------------------------------------------------------------------------ [2002-11-07 03:09:28] kkobashi@thegrid.net The same goes true for get_parent_class() Its shows class names in lower case ------------------------------------------------------------------------ [2002-11-07 02:58:42] kkobashi@thegrid.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); print_r($a); shouldnt be helloworld but rather HelloWorld ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=20296&edit=1

« previous php.bugs (#24286) next »