On Thu, 27 Jan 2005, Andi Gutmans wrote:
> I'm not sure what you mean by passing by reference. If you want to do real
> by reference work then you have to use object proxies and ->set() ->get()
> callbacks. In general, the semantics of by reference is mainly designed for
> regular PHP objects an
At 03:53 PM 1/27/2005 -0800, Andrei Zmievski wrote:
On Thu, 27 Jan 2005, Andi Gutmans wrote:
> In general it's not useful. It exists so that regular PHP objects can be
> optimized to use zval ** and not read/write property callbacks. This is
> faster for example if you're doing increment. However,
On Thu, 27 Jan 2005, Andi Gutmans wrote:
> In general it's not useful. It exists so that regular PHP objects can be
> optimized to use zval ** and not read/write property callbacks. This is
> faster for example if you're doing increment. However, in most cases of
> writing extensions I suggest r
In general it's not useful. It exists so that regular PHP objects can be
optimized to use zval ** and not read/write property callbacks. This is
faster for example if you're doing increment. However, in most cases of
writing extensions I suggest read/write property unless you are just
wrapping