Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:50538 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 90362 invoked from network); 25 Nov 2010 15:59:04 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 25 Nov 2010 15:59:04 -0000 Authentication-Results: pb1.pair.com header.from=johannes@schlueters.de; sender-id=unknown Authentication-Results: pb1.pair.com smtp.mail=johannes@schlueters.de; spf=permerror; sender-id=unknown Received-SPF: error (pb1.pair.com: domain schlueters.de from 217.114.211.66 cause and error) X-PHP-List-Original-Sender: johannes@schlueters.de X-Host-Fingerprint: 217.114.211.66 unknown Solaris 10 (beta) Received: from [217.114.211.66] ([217.114.211.66:50114] helo=config.schlueters.de) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 7E/81-16484-DB78EEC4 for ; Thu, 25 Nov 2010 10:58:54 -0500 Received: from [192.168.1.29] (ppp-93-104-60-3.dynamic.mnet-online.de [93.104.60.3]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by config.schlueters.de (Postfix) with ESMTPSA id B127C46878; Thu, 25 Nov 2010 16:58:50 +0100 (CET) To: Kenan Sulayman Cc: PHP internals In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Date: Thu, 25 Nov 2010 16:58:49 +0100 Message-ID: <1290700729.7033.41.camel@guybrush> Mime-Version: 1.0 X-Mailer: Evolution 2.30.2 Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] Runtime-Extension of Classes From: johannes@schlueters.de (Johannes =?ISO-8859-1?Q?Schl=FCter?=) 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