Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:12231 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 59112 invoked by uid 1010); 18 Aug 2004 23:04:03 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 50405 invoked from network); 18 Aug 2004 23:01:25 -0000 Received: from unknown (HELO air638.startdedicated.com) (69.64.38.41) by pb1.pair.com with SMTP; 18 Aug 2004 23:01:25 -0000 Received: from localhost (localhost.localdomain [127.0.0.1]) by air638.startdedicated.com (Postfix) with ESMTP id 62706294267; Wed, 18 Aug 2004 17:56:40 -0500 (CDT) Received: from air638.startdedicated.com ([127.0.0.1]) by localhost (air638.startdedicated.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 16776-10; Wed, 18 Aug 2004 17:56:40 -0500 (CDT) Received: from [192.168.11.2] (66-65-38-153.nyc.rr.com [66.65.38.153]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by air638.startdedicated.com (Postfix) with ESMTP id EA07C294266; Wed, 18 Aug 2004 17:56:39 -0500 (CDT) Message-ID: <4123DFC3.7060301@php.net> Date: Wed, 18 Aug 2004 19:01:23 -0400 User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7) Gecko/20040616 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Sean Coates Cc: internals@lists.php.net References: <4123D1B5.3080203@caedmon.net> In-Reply-To: <4123D1B5.3080203@caedmon.net> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at bluga.net Subject: Re: Class Destruction / Reloading From: cellog@php.net (Greg Beaver) Sean Coates wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Hello Internals, > > Has anyone given thought to a feature that allows (PHP) developer to > invalidate classes (allowing the developer to re-load the class, with > modified code)? I realize that this is not possible now, and for good > reason. But I think the idea has potential. [snip] > Is this worth further discussion? There is a clever php4 implementation that allows loading/unloading of methods, info at http://pear.php.net/pepr/pepr-proposal-show.php?id=68 It does not use any engine magic and might be of use to you while you wait for PHP 6. :) Greg