Kornel Lesiński wrote:
But think other way. __isset() returns true and then after that __get()
returns NULL. I think that it is even more illogical.
I think it's illogical or buggy. You're saying it's not set, but then
you expect it to be set anyway.
If you have lazily-loaded properties, then you should simply return
*true* from __isset() for such properties.
PHPTAL mailing list