#49149 [Opn->Csd]: "References inside the constructor" docs are incorrect
| From: | vrana@php.net | Date: | Mon, 16 Nov 2009 12:00:30 +0000 |
| Subject: | #49149 [Opn->Csd]: "References inside the constructor" docs are incorrect | ||
| References: | 1 | Groups: | php.doc.bugs |
| Request: | Send a blank email to doc-bugs+get-3179@lists.php.net to get a copy of this message | ||
ID: 49149
Updated by: vrana@php.net
Reported By: initcontact at grahamwideman dot com
-Status: Open
+Status: Closed
Bug Type: Documentation problem
PHP Version: Irrelevant
New Comment:
Page moved to appendix and clearly stated that it is only for PHP 4.
Previous Comments:
------------------------------------------------------------------------
[2009-08-04 08:16:25] initcontact at grahamwideman dot com
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 this bug report at http://bugs.php.net/?id=49149&edit=1