#49385 [NEW]: oop5 basic example 1 uses get_class

From: Date: Thu, 27 Aug 2009 11:04:38 +0000
Subject: #49385 [NEW]: oop5 basic example 1 uses get_class
Groups: php.doc.bugs 
Request: Send a blank email to doc-bugs+get-2673@lists.php.net to get a copy of this message
From: th at php-sourcery dot de Operating system: irrelevant PHP version: Irrelevant PHP Bug Type: Documentation problem Bug description: oop5 basic example 1 uses get_class 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 bug report at http://bugs.php.net/?id=49385&edit=1 -- Try a snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=49385&r=trysnapshot52 Try a snapshot (PHP 5.3): http://bugs.php.net/fix.php?id=49385&r=trysnapshot53 Try a snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=49385&r=trysnapshot60 Fixed in SVN: http://bugs.php.net/fix.php?id=49385&r=fixed Fixed in SVN and need be documented: http://bugs.php.net/fix.php?id=49385&r=needdocs Fixed in release: http://bugs.php.net/fix.php?id=49385&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=49385&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=49385&r=needscript Try newer version: http://bugs.php.net/fix.php?id=49385&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=49385&r=support Expected behavior: http://bugs.php.net/fix.php?id=49385&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=49385&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=49385&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=49385&r=globals PHP 4 support discontinued: http://bugs.php.net/fix.php?id=49385&r=php4 Daylight Savings: http://bugs.php.net/fix.php?id=49385&r=dst IIS Stability: http://bugs.php.net/fix.php?id=49385&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=49385&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=49385&r=float No Zend Extensions: http://bugs.php.net/fix.php?id=49385&r=nozend MySQL Configuration Error: http://bugs.php.net/fix.php?id=49385&r=mysqlcfg

« previous php.doc.bugs (#2673) next »