php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #7645 get_class returns class names only in lower case
Submitted: 2000-11-05 04:47 UTC Modified: 2000-11-05 06:20 UTC
From: sb at sebastian-bergmann dot de Assigned:
Status: Closed Package: Class/Object related
PHP Version: 4.0 Latest CVS (05/11/2000) OS: Windows 2000 Professional
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.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: sb at sebastian-bergmann dot de
New email:
PHP Version: OS:

 

 [2000-11-05 04:47 UTC] sb at sebastian-bergmann dot de
class Foo_Bar
{
  // ...
}

$object = new Foo_Bar();
print get_class( $object );

// output: "foo_bar"

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2000-11-05 06:20 UTC] stas@php.net
This is intended behaviour, class and function names are not case sensitive in PHP.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Jul 25 07:01:31 2024 UTC