#42795 [NEW]: SPL Appendable interface
| From: | david dot nqd at gmail dot com | Date: | Sat, 29 Sep 2007 07:34:26 +0000 |
| Subject: | #42795 [NEW]: SPL Appendable interface | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-117953@lists.php.net to get a copy of this message | ||
From: david dot nqd at gmail dot com
Operating system: N/A
PHP version: 5.2.4
PHP Bug Type: Feature/Change Request
Bug description: SPL Appendable interface
Description:
------------
SPL interfaces provide useful interfaces to let objects behave like
arrays; however, there is no way for objects to use the array append syntax
method without having to extend either ArrayObject or ArrayIterator. I am
suggesting that a new interface called Appendable be created to allow
objects to have this functionality without having to be an extension of
anything.
Appendable would only contain a single method, but would almost always be
used with ArrayAccess, Appendable differs from the feature request (#32347)
I posted earlier since it is not an extension of ArrayAccess.
--
Edit bug report at http://bugs.php.net/?id=42795&edit=1
--
Try a CVS snapshot (PHP 4.4): http://bugs.php.net/fix.php?id=42795&r=trysnapshot44
Try a CVS snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=42795&r=trysnapshot52
Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=42795&r=trysnapshot60
Fixed in CVS: http://bugs.php.net/fix.php?id=42795&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=42795&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=42795&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=42795&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=42795&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=42795&r=support
Expected behavior: http://bugs.php.net/fix.php?id=42795&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=42795&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=42795&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=42795&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=42795&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=42795&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=42795&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=42795&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=42795&r=float
No Zend Extensions: http://bugs.php.net/fix.php?id=42795&r=nozend
MySQL Configuration Error: http://bugs.php.net/fix.php?id=42795&r=mysqlcfg