#50120 [Opn->Csd]: Error in documentation.

From: Date: Mon, 09 Nov 2009 11:48:48 +0000
Subject: #50120 [Opn->Csd]: Error in documentation.
References: 1  Groups: php.doc.bugs 
Request: Send a blank email to doc-bugs+get-3077@lists.php.net to get a copy of this message
ID: 50120 Updated by: rquadling@php.net Reported By: grzegorz dot drozd at esky dot pl -Status: Open +Status: Closed Bug Type: Documentation problem PHP Version: 5.2.11 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. The data parameter was introduced in PHP V5.3.0. Documentation updated. Previous Comments: ------------------------------------------------------------------------ [2009-11-09 11:48:24] svn@php.net Automatic comment from SVN on behalf of rquadling Revision: http://svn.php.net/viewvc/?view=revision&revision=290411 Log: Added changelog for SPLObjectStorage->attach(). Fix bug#50120 ------------------------------------------------------------------------ [2009-11-09 11:24:23] grzegorz dot drozd at esky dot pl Description: ------------ Error in documentation SplObjectStorage::attach() expects exactly 1 parameter, 2 given. Reproduce code: --------------- $obj = new SplObjectStorage(); $obj->attach($processor, get_class($processor)); --- From manual page: splobjectstorage.attach#Description --- Expected result: ---------------- No errors Actual result: -------------- Warning: SplObjectStorage::attach() expects exactly 1 parameter, 2 given. ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=50120&edit=1

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