Actually, when you implement offsetGet, if the returned value is an array, it will be returned by value. There is two solution to work arround: use an object that implements ArrayAccess instead of a scalar array; alter offsetGet signature to return a reference.

--
Mickaƫl Wolff aka Lupus Michaelis
Racine<http://lupusmic.org>
Blog<http://blog.lupusmic.org>




--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to