#49385 [Opn]: oop5.basic example#1: get_class is now case sensitive
| From: | th at php-sourcery dot de | Date: | Thu, 27 Aug 2009 12:17:10 +0000 |
| Subject: | #49385 [Opn]: oop5.basic example#1: get_class is now case sensitive | ||
| References: | 1 | Groups: | php.doc.bugs |
| Request: | Send a blank email to doc-bugs+get-2674@lists.php.net to get a copy of this message | ||
ID: 49385
User updated by: th at php-sourcery dot de
-Summary: oop5 basic example 1 uses get_class
Reported By: th at php-sourcery dot de
Status: Open
Bug Type: Documentation problem
Operating System: irrelevant
PHP Version: Irrelevant
New Comment:
modified summary
Previous Comments:
------------------------------------------------------------------------
[2009-08-27 11:04:38] th at php-sourcery dot de
Description:
------------
Example #1 output does not consider that get_class returns the class
name in its original notation since 5.0.0.
Reproduce code:
---------------
---
From manual page: language.oop5.basic
---
Example #1
Expected result:
----------------
$this is defined (A)
$this is not defined.
$this is defined (B)
$this is not defined.
Actual result:
--------------
$this is defined (a)
$this is not defined.
$this is defined (b)
$this is not defined.
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=49385&edit=1