Hello,

On Sun, Jan 25, 2009 at 4:24 PM, Lukas Kahwe Smith <m...@pooteeweet.org> wrote:
>
> On 24.01.2009, at 19:19, Guilherme Blanco wrote:
>
>> Hi Oskar,
>>
>> Yes, you can use a plain array too.
>> I was just giving you a normal approach (ArrayAccess inherited class)
>> because you may want a special behavior under it too.
>>
>> Forget SplObjectStorage docs.... they're outdated.... read the source! =)
>
>
> Even if you are not keen on getting into phpdoc .. maybe writing some docs
> and sending them to the phpdoc team list so that they can integrate them
> might be a good idea.

I've WIP docs for splobjectstorage and splfixedarray already. But any
help on other classes yet undocumented would be greatly appreciated.

@Guilherme For spl_object_hash, it will always be 32 0-9a-f chars, so
no problem about non-printable chars.

@Oscar, you're attaching mapping information to objects,
SplObjectStorage can do that:
$storage = new SplObjectStorage(); $storage[$obj] = $callback;

>
> regards,
> regards,
> Lukas Kahwe Smith
> m...@pooteeweet.org
>

Regards,

>
>
>
> --
> PHP Internals - PHP Runtime Development Mailing List
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>
>
>



-- 
Etienne Kneuss
http://www.colder.ch

Men never do evil so completely and cheerfully as
when they do it from a religious conviction.
-- Pascal

-- 
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to