> 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.

What I have against those 2 things is that they can have consequences for
existing (library) code, since they call, for example, 'rtrim', and with
advices c.q. undef'ing functions you can change that behaviour.

--Jeroen



-- 
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]

Reply via email to