Doc #54118 [NEW]: splobjectstorage::offsetset
| From: | lsmith@php.net | Date: | Mon, 28 Feb 2011 10:55:03 +0000 |
| Subject: | Doc #54118 [NEW]: splobjectstorage::offsetset | ||
| Groups: | php.doc.bugs | ||
| Request: | Send a blank email to doc-bugs+get-6035@lists.php.net to get a copy of this message | ||
From:
Operating system:
PHP version: Irrelevant
Package: Documentation problem
Bug Type: Documentation Problem
Bug description:splobjectstorage::offsetset
Description:
------------
The second parameter is optional:
http://php.net/manual/en/splobjectstorage.offsetset.php
Test script:
---------------
[11:50] <lsmith>
http://ch2.php.net/manual/en/splobjectstorage.offsetset.php
[11:50] <lsmith> so there the docs say again that the second param isnt
optional
[11:50] <ekneuss> in that case it's optional yes (in the implementation)
[11:51] <ekneuss> the thing is, SplObjectStorage is a map without a need
for any value
[11:51] <lsmith> ok
[11:51] <lsmith> so the docs should be fixed?
[11:51] <ekneuss> so it can be seen both as a set and a map
[11:51] <ekneuss> I guess yes
[11:51] <lsmith> ok
--
Edit bug report at http://bugs.php.net/bug.php?id=54118&edit=1
--
Try a snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=54118&r=trysnapshot52
Try a snapshot (PHP 5.3): http://bugs.php.net/fix.php?id=54118&r=trysnapshot53
Try a snapshot (trunk): http://bugs.php.net/fix.php?id=54118&r=trysnapshottrunk
Fixed in SVN: http://bugs.php.net/fix.php?id=54118&r=fixed
Fixed in SVN and need be documented: http://bugs.php.net/fix.php?id=54118&r=needdocs
Fixed in release: http://bugs.php.net/fix.php?id=54118&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=54118&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=54118&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=54118&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=54118&r=support
Expected behavior: http://bugs.php.net/fix.php?id=54118&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=54118&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=54118&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=54118&r=globals
PHP 4 support discontinued: http://bugs.php.net/fix.php?id=54118&r=php4
Daylight Savings: http://bugs.php.net/fix.php?id=54118&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=54118&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=54118&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=54118&r=float
No Zend Extensions: http://bugs.php.net/fix.php?id=54118&r=nozend
MySQL Configuration Error: http://bugs.php.net/fix.php?id=54118&r=mysqlcfg