Doc #52499 [Opn->Csd]: new keyword not fully documented

From: Date: Sun, 15 Aug 2010 07:29:21 +0000
Subject: Doc #52499 [Opn->Csd]: new keyword not fully documented
References: 1  Groups: php.doc.bugs 
Request: Send a blank email to doc-bugs+get-4860@lists.php.net to get a copy of this message
Edit report at http://bugs.php.net/bug.php?id=52499&edit=1 ID: 52499 Updated by: degeberg@php.net Reported by: chris at cmbuckley dot co dot uk Summary: new keyword not fully documented -Status: Open +Status: Closed Type: Documentation Problem Package: Documentation problem PHP Version: Irrelevant -Assigned To: +Assigned To: degeberg Block user comment: N New Comment: This bug has been fixed in the documentation's XML sources. Since the online and downloadable versions of the documentation need some time to get updated, we would like to ask you to be a bit patient. Thank you for the report, and for helping us make our documentation better. Previous Comments: ------------------------------------------------------------------------ [2010-08-15 09:29:12] degeberg@php.net Automatic comment from SVN on behalf of degeberg Revision: http://svn.php.net/viewvc/?view=revision&revision=302256 Log: Fixed PHP bug #52499 (new keyword not fully documented) ------------------------------------------------------------------------ [2010-07-30 14:49:17] chris at cmbuckley dot co dot uk Description: ------------ http://uk.php.net/manual/en/language.oop5.basic.php#language.oop5.basic.new The "new" keyword has a couple of missing points: 1. After PHP 5.3 it is also possible to create an object by 'new static'. 2. If $foo is an instance of Foo, a new instance of Foo can be created by calling 'new $foo'. ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/bug.php?id=52499&edit=1

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