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
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: initcontact at grahamwideman dot com
New email:
PHP Version: OS:

 

 [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

Pull Requests

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 Oct 31 23:01:28 2024 UTC