Hi Stas,

Am Sonntag, den 29.06.2008, 15:20 -0700 schrieb Stanislav Malyshev:
[...]
> If we use this syntax, and $view->escape is not defined, should we
> call __call or __get?

That's indeed a good question. Calling __get() after resolving
$view->escape as a property would break BC. Maybe we would do the
following:
a) method exists?
b) invokable property exists?
c) __get() exists and returnes invokable object?
d) __call() exists?
e) trigger error

The important thing with c) is that we resolve to __call() if __get()
returned something wrong to make sure currently working objects are
still working in the future.

cu, Lars

Attachment: signature.asc
Description: Dies ist ein digital signierter Nachrichtenteil

Reply via email to