From: [EMAIL PROTECTED]
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