Re: [PHP-DEV] Re: Undefining user functions/classes at runtime?
[Jeroen van Wolffelaar [EMAIL PROTECTED]] Is it currently possible to undefine user functions or classes at runtime? Although not a newbie ;) I'm unsure if its possible right now. No, you can't do that in PHP-userland (in the C code it can be done, see implementation of create_function). And IMHO that should remain so. If not, will this be support (ZE2) ? I hope not. Can you give an example where you think it will be useful? By the way, I think you can achieve something like this if you really want to with Advices, IMHO another needless feature. Advices can not be used for something like this (undefining classes). - Stig -- Stig Sæther Bakken [EMAIL PROTECTED] Fast Search Transfer ASA, Trondheim, Norway -- PHP Development Mailing List http://www.php.net/ To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
Re: [PHP-DEV] Re: Undefining user functions/classes at runtime?
On Sun, Sep 23, 2001 at 10:07:29PM +0200, Stig Sæther Bakken wrote : [Jeroen van Wolffelaar [EMAIL PROTECTED]] Is it currently possible to undefine user functions or classes at runtime? Although not a newbie ;) I'm unsure if its possible right now. No, you can't do that in PHP-userland (in the C code it can be done, see implementation of create_function). And IMHO that should remain so. If not, will this be support (ZE2) ? I hope not. Can you give an example where you think it will be useful? By the way, I think you can achieve something like this if you really want to with Advices, IMHO another needless feature. Advices can not be used for something like this (undefining classes). Thats great. This could also solve the 'undefine a function' problem. I'll just not use them and always instanciate classes. - Markus -- PHP Development Mailing List http://www.php.net/ To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
Re: [PHP-DEV] Re: Undefining user functions/classes at runtime?
[Markus Fischer [EMAIL PROTECTED]] On Sun, Sep 23, 2001 at 10:07:29PM +0200, Stig Sæther Bakken wrote : [Jeroen van Wolffelaar [EMAIL PROTECTED]] Is it currently possible to undefine user functions or classes at runtime? Although not a newbie ;) I'm unsure if its possible right now. No, you can't do that in PHP-userland (in the C code it can be done, see implementation of create_function). And IMHO that should remain so. If not, will this be support (ZE2) ? I hope not. Can you give an example where you think it will be useful? By the way, I think you can achieve something like this if you really want to with Advices, IMHO another needless feature. Advices can not be used for something like this (undefining classes). Thats great. This could also solve the 'undefine a function' problem. I'll just not use them and always instanciate classes. Uhm, either you didn't notice that I wrote advices can NOT be used..., or I didn't notice you pulling my leg. :-) - Stig -- Stig Sæther Bakken [EMAIL PROTECTED] Fast Search Transfer ASA, Trondheim, Norway -- PHP Development Mailing List http://www.php.net/ To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
Re: [PHP-DEV] Re: Undefining user functions/classes at runtime?
On Sun, Sep 23, 2001 at 10:48:58PM +0200, Stig Sæther Bakken wrote : [Markus Fischer [EMAIL PROTECTED]] On Sun, Sep 23, 2001 at 10:07:29PM +0200, Stig Sæther Bakken wrote : [Jeroen van Wolffelaar [EMAIL PROTECTED]] Is it currently possible to undefine user functions or classes at runtime? Although not a newbie ;) I'm unsure if its possible right now. No, you can't do that in PHP-userland (in the C code it can be done, see implementation of create_function). And IMHO that should remain so. If not, will this be support (ZE2) ? I hope not. Can you give an example where you think it will be useful? By the way, I think you can achieve something like this if you really want to with Advices, IMHO another needless feature. Advices can not be used for something like this (undefining classes). Thats great. This could also solve the 'undefine a function' problem. I'll just not use them and always instanciate classes. Uhm, either you didn't notice that I wrote advices can NOT be used..., or I didn't notice you pulling my leg. :-) Ugh! I didn't notice the 'not'. Damn :) So ... then I'm blown right now. Mhm :/ - Markus -- PHP Development Mailing List http://www.php.net/ To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]