#50120 [NEW]: Error in documentation.

From: Date: Mon, 09 Nov 2009 11:24:23 +0000
Subject: #50120 [NEW]: Error in documentation.
Groups: php.doc.bugs 
Request: Send a blank email to doc-bugs+get-3076@lists.php.net to get a copy of this message
From: grzegorz dot drozd at esky dot pl Operating system: PHP version: 5.2.11 PHP Bug Type: Documentation problem Bug description: Error in documentation. 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 bug report at http://bugs.php.net/?id=50120&edit=1 -- Try a snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=50120&r=trysnapshot52 Try a snapshot (PHP 5.3): http://bugs.php.net/fix.php?id=50120&r=trysnapshot53 Try a snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=50120&r=trysnapshot60 Fixed in SVN: http://bugs.php.net/fix.php?id=50120&r=fixed Fixed in SVN and need be documented: http://bugs.php.net/fix.php?id=50120&r=needdocs Fixed in release: http://bugs.php.net/fix.php?id=50120&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=50120&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=50120&r=needscript Try newer version: http://bugs.php.net/fix.php?id=50120&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=50120&r=support Expected behavior: http://bugs.php.net/fix.php?id=50120&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=50120&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=50120&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=50120&r=globals PHP 4 support discontinued: http://bugs.php.net/fix.php?id=50120&r=php4 Daylight Savings: http://bugs.php.net/fix.php?id=50120&r=dst IIS Stability: http://bugs.php.net/fix.php?id=50120&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=50120&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=50120&r=float No Zend Extensions: http://bugs.php.net/fix.php?id=50120&r=nozend MySQL Configuration Error: http://bugs.php.net/fix.php?id=50120&r=mysqlcfg

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