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üngliche Nachricht----- Von: Johannes Schlueter [mailto:[EMAIL PROTECTED] 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 -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php