[PHP-DEV] Re: [Zend Engine 2] Re: Undefining user functions/classes at runtime?

2001-09-24 Thread Stig Sæther Bakken
Andrei is writing an extension that does this (explicitly per class). - Stig [Harald Radi [EMAIL PROTECTED]] something like the current oo api mechanism would be useful for userland too and would possible solve markus' problem too. if you call a member on an object there could be an

[PHP-DEV] RE: [Zend Engine 2] Re: Undefining user functions/classes at runtime?

2001-09-23 Thread Harald Radi
something like the current oo api mechanism would be useful for userland too and would possible solve markus' problem too. if you call a member on an object there could be an __invoke() method that handles all calls of unknown functions. thus $obj-foo(bar); will end in $obj-__invoke(foo, bar);