Re: Request for Threads or SRM
| From: | Oliver Grätz | Date: | Fri, 25 Nov 2005 19:47:44 +0000 |
| Subject: | Re: Request for Threads or SRM | ||
| References: | 1 2 3 4 5 6 7 8 9 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-20430@lists.php.net to get a copy of this message | ||
Sara Golemon schrieb:
> ArrayAccess interface for the dimension read/write.
Just to bring the issue up agaian: The current ArrayAccess
implementation does not allow for proper simulation of arrays. This has
been "broken by fixing" (tm) the method prototypes not to allow "&"
anymore in interface implementations where the interface doesn't specify
a "&" for the corresponding method and at the same time not changing
ArrayAccess to feature a "&" for offsetGet.
=> You can't do
$ArrayAccesImplementingObject['virtual offset'][]='test';
for offsets that are arrays.
OLLi