On 08/06/2010 07:46 PM, Stas Malyshev wrote:
Hi!
For now you can only index an array using a scalar type or a string.
Is there some rfc or work going on to enlarge the possibility so that it
is possible to have some other object like:
I think SplObjectStorage implements most common use-case for such
behavior, do you have any other one that is not covered there and
can't be done by __toString()?
Yes but what I don't like with the Spl is that it does not work with the
array_* function and the sort function.
-- Mathieu Suen