Unload/reload included class

From: Date: Wed, 05 Jan 2011 00:44:15 +0000
Subject: Unload/reload included class
Groups: php.general 
Request: Send a blank email to php-general+get-310494@lists.php.net to get a copy of this message
Hi there, I trying to create CLI php application. It running continuously (server) and it will has a plugins. I want load, unload and reload plugins on the fly, without stop the application. Loading plugin is easy, when my app found new file in plugins dir, include and register it. But if i change the plugin source i must restart the app to reload it. Have anyone idea, how i can unload included (loaded) class? Thank you for every response. Best regards. Patrik Pomichal PHP developer Slovakia

« previous php.general (#310494) next »