Bug #15675: get_class() returns only lower chars
| From: | reinicke at sience dot de | Date: | Fri, 22 Feb 2002 13:14:07 +0000 |
| Subject: | Bug #15675: get_class() returns only lower chars | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-814@lists.php.net to get a copy of this message | ||
From: reinicke@sience.de
Operating system: linux & w2000
PHP version: 4.1.1
PHP Bug Type: Class/Object related
Bug description: get_class() returns only lower chars
Hi,
i have some code like this:
<?php
class getContentBlock {
}
$obj = new getContentBlock();
$classname = get_class($obj);
echo "Class of Object: $classname !";
?>
=> Class of Object: getcontentblock !
The value of $classname should "getContentBlock",
but i get "getcontentblock" !
This is incorrect and causes errors, Classnames are
case sensitiv.
Why is the return value in lower case ?
--
Edit bug report at http://bugs.php.net/?id=15675&edit=1
--
Fixed in CVS: http://bugs.php.net/fix.php?id=15675&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=15675&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=15675&r=needtrace
Try newer version: http://bugs.php.net/fix.php?id=15675&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=15675&r=support
Expected behavior: http://bugs.php.net/fix.php?id=15675&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=15675&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=15675&r=submittedtwice