php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #11719 Clarification of $foo = new Class and $foo = &new Class
Submitted: 2001-06-27 01:06 UTC Modified: 2001-12-12 16:33 UTC
From: danbeck@php.net Assigned:
Status: Closed Package: Documentation problem
PHP Version: 4.0 Latest CVS (2001-06-27) OS: Any
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: danbeck@php.net
New email:
PHP Version: OS:

 

 [2001-06-27 01:06 UTC] danbeck@php.net
The "References" section of the documentation needs more clarification of the difference between:

$foo = new Class;
and
$foo = &new Class;

and when or if each should be used.

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2001-12-12 16:33 UTC] jan@php.net
fixed in CVS.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sun Oct 06 11:01:27 2024 UTC