#49149 [NEW]: "References inside the constructor" docs are incorrect

From: Date: Tue, 04 Aug 2009 08:16:25 +0000
Subject: #49149 [NEW]: "References inside the constructor" docs are incorrect
Groups: php.doc.bugs 
Request: Send a blank email to doc-bugs+get-2602@lists.php.net to get a copy of this message
From: initcontact at grahamwideman dot com Operating system: PHP version: Irrelevant PHP Bug Type: Documentation problem Bug description: "References inside the constructor" docs are incorrect Description: ------------ On Page "References inside the constructor" This page badly needs to be edited to make clear whether any of it applies to PHP 5, for which it is probably mostly wrong. Expected result: ---------------- Page: http://us2.php.net/manual/en/language.oop.newref.php Despite the fact that the text on this page mentions "PHP 4 and up", most of this page appears to be about how to work with references features as they were in PHP 4, and that were substantially improved in PHP 5, mostly obsoleting what this page says. That makes this page very misleading for PHP 5 users. Note: the page is indeed in the TOC under PHP 4 Classes and Objects -- however this fact isn't evident if one has found the page through search etc. -- Edit bug report at http://bugs.php.net/?id=49149&edit=1 -- Try a snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=49149&r=trysnapshot52 Try a snapshot (PHP 5.3): http://bugs.php.net/fix.php?id=49149&r=trysnapshot53 Try a snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=49149&r=trysnapshot60 Fixed in SVN: http://bugs.php.net/fix.php?id=49149&r=fixed Fixed in SVN and need be documented: http://bugs.php.net/fix.php?id=49149&r=needdocs Fixed in release: http://bugs.php.net/fix.php?id=49149&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=49149&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=49149&r=needscript Try newer version: http://bugs.php.net/fix.php?id=49149&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=49149&r=support Expected behavior: http://bugs.php.net/fix.php?id=49149&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=49149&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=49149&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=49149&r=globals PHP 4 support discontinued: http://bugs.php.net/fix.php?id=49149&r=php4 Daylight Savings: http://bugs.php.net/fix.php?id=49149&r=dst IIS Stability: http://bugs.php.net/fix.php?id=49149&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=49149&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=49149&r=float No Zend Extensions: http://bugs.php.net/fix.php?id=49149&r=nozend MySQL Configuration Error: http://bugs.php.net/fix.php?id=49149&r=mysqlcfg

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