php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #49149 "References inside the constructor" docs are incorrect
Submitted: 2009-08-04 08:16 UTC Modified: 2009-11-16 12:00 UTC
From: initcontact at grahamwideman dot com Assigned:
Status: Closed Package: Documentation problem
PHP Version: Irrelevant OS:
Private report: No CVE-ID: None
 [2009-08-04 08:16 UTC] 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.


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2009-11-16 12:00 UTC] vrana@php.net
Page moved to appendix and clearly stated that it is only for PHP 4.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu May 16 03:01:33 2024 UTC