Removing a declared class
| From: | Paul K Egell-Johnsen | Date: | Thu, 14 Dec 2000 23:09:44 +0000 |
| Subject: | Removing a declared class | ||
| Groups: | php.dev php.general | ||
| Request: | Send a blank email to php-dev+get-41416@lists.php.net to get a copy of this message | ||
I'm writing an article which compares some classes through an adaptor.
Problem:
Declaring the common adaptor will only work for the first time, later on
I get a message saying that I can't redeclare the adaptor class.
Question:
Is there a function (I've tried unset) which can remove a declared
class?
Solution:
I moved some includes about, and it worked fine for me, though I still
feel that the question is relevant.
--
Paul K Egell-Johnsen
Developer/PR Manager
zez.org: about code
http://zez.org/