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
 [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: Fri Apr 26 08:01:30 2024 UTC