Re: Re: How to unload a class

From: Date: Sat, 12 Feb 2005 16:43:38 +0000
Subject: Re: Re: How to unload a class
References: 1 2  Groups: php.internals 
Request: Send a blank email to internals+get-14873@lists.php.net to get a copy of this message
> 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" > (1) The class is a user defined ( not internal ) class yes? (2) Can you provide some reproducing code? (3) This probably isn't a php.internals topic anymore so feel free to reply direct (pollita@php.net) > 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 ? > Doubtful, its functionality is just a reordering of various parts of the ZE execution cycle. -Sara

« previous php.internals (#14873) next »