> If you do allow arrays, they would have to follow the same rules as the 
> immutable object.
> Alternatively, perhaps an ImmutableArrayObject would be a good addition or 
> followup to the RFC.

That would just move the problem and doesn't have any benefit over
directly allowing arrays, right?

> Some further points to harden the implementation:
> - I see that resources and references are disallowed (which is good). If you 
> have not already done so, you may wish to disallow streams as well.

Streams are resources, am I missing something?

Regards, Niklas

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

Reply via email to