write property hook
| From: | Piotr Pokora | Date: | Thu, 07 Feb 2008 16:43:23 +0000 |
| Subject: | write property hook | ||
| Groups: | php.pecl.dev | ||
| Request: | Send a blank email to pecl-dev+get-5106@lists.php.net to get a copy of this message | ||
Hi!
I have some weird ( at least for me ) issue.
Classes A and B are internal classes registered in MINIT.
Both classes has the same write/read property hoook.
Class B is a property of class A.
PHP code:
A->propa = "foo"; works
B->propb = "bar"; works
A->B->propb = "bar" doesn't work.
I added simple print to write property hook and it seems like it's
ignored with last example.
Should I create some particular hooks for this case?
Piotras