Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:14870 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 71072 invoked by uid 1010); 12 Feb 2005 15:46:00 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 71014 invoked from network); 12 Feb 2005 15:46:00 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 12 Feb 2005 15:46:00 -0000 X-Host-Fingerprint: 81.169.145.162 natjimbo.rzone.de Solaris 8 (1) Received: from ([81.169.145.162:54487] helo=natjimbo.rzone.de) by pb1.pair.com (ecelerity 1.2.11 (r4403)) with SMTP id 8E/6A-37098-1002E024 for ; Sat, 12 Feb 2005 10:25:54 -0500 Received: from montreal (xdsl-195-14-216-43.netcologne.de [195.14.216.43]) by post.webmailer.de (8.13.1/8.13.1) with ESMTP id j1CFPnKJ008887; Sat, 12 Feb 2005 16:25:50 +0100 (MET) Message-ID: <200502121525.j1CFPnKJ008887@post.webmailer.de> To: "'Johannes Schlueter'" , Date: Sat, 12 Feb 2005 16:25:47 +0100 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Mailer: Microsoft Office Outlook, Build 11.0.6353 In-Reply-To: <20050210103042.57056.qmail@lists.php.net> X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180 Thread-index: AcUPW5U62bSjo9AESQGCa3YjQ7KrJABuv94Q Subject: AW: [PHP-DEV] Re: How to unload a class From: c.harnisch@harnisch-consulting.de ("Carsten Harnisch") References: <20050210103042.57056.qmail@lists.php.net> Finally I got a chance to test classkit. Anyway installation with "pear install classkit" went through with no errors and after activation in php.ini the module shows up as installed. Anyway the function does not = work (class_import) I am still getting the same error as re-require_once a class-file : "Fatal error: Cannot redeclare class XXX in file" We are runnning php4 on debian on a sun e3000. Could this be the glitch = that the pecl-classkit does not run on php4 or not on the sparc machine ? Carsten -----Urspr=FCngliche Nachricht----- Von: Johannes Schlueter [mailto:johannes@php.net]=20 Gesendet: Donnerstag, 10. Februar 2005 11:30 An: internals@lists.php.net; Carsten Harnisch Betreff: [PHP-DEV] Re: How to unload a class Hi, Carsten Harnisch wrote: > I would like to "unload" a class loaded previously by require_once. > Mainly I am working on a daemon where handler-classes should be loaded = > and unloaded on demand. You could remove a class using classkit ... http://pecl.php.net/package/classkit johannes -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, = visit: http://www.php.net/unsub.php