Re: Runtime-Extension of Classes

From: Date: Thu, 25 Nov 2010 15:58:49 +0000
Subject: Re: Runtime-Extension of Classes
References: 1  Groups: php.internals 
Request: Send a blank email to internals+get-50538@lists.php.net to get a copy of this message
On Thu, 2010-11-25 at 16:44 +0100, Kenan Sulayman wrote: > So - is there a way to dynamically extend a class (not the > traditionally > "get-the-class,-clone-the-class-and-add-sugar"-way) ? After reading this three times i interpret it like "I want to add stuff to the instance" and no that is not possible (runkit doesn't count) by the definition of our class-based OO model. > -- that should be "-- " mind the space. > -- *Notice *-- > The validity of none of any of the text in this mail is guaranteed. > The > information in this message is confidential and may be legally > privileged. > It is intended solely for the addressee. Access to this message by > anyone > else is unauthorized. If you are not the intended recipient, any > disclosure, copying or distribution of the message, or any action > taken by [..] sorry. I just broke the rule as the addressee is the list, not me. Please get rid of this when sending the next mail to this list. johannes

« previous php.internals (#50538) next »