Re: Re: Undefining user functions/classes at runtime?
| From: | (Stig Sæther Bakken) | Date: | Sun, 23 Sep 2001 20:07:29 +0000 |
| Subject: | Re: Re: Undefining user functions/classes at runtime? | ||
| References: | 1 2 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-66419@lists.php.net to get a copy of this message | ||
["Jeroen van Wolffelaar" <jeroen@a-eskwadraat.nl>]
> > 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 <ssb@alltheweb.com>
Fast Search & Transfer ASA, Trondheim, Norway