Re: Namespace issues
| From: | Sebastian Bergmann | Date: | Thu, 16 May 2002 14:26:42 +0000 |
| Subject: | Re: Namespace issues | ||
| References: | 1 2 3 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-6145@lists.php.net to get a copy of this message | ||
Kristian Koehntopp wrote:
> Should I use persistent objects (creating a class inclusion issue)
Isn't this what unserialize_callback_func should be used for?
; The unserialize callback function will called (with the undefind
; class' name as parameter), if the unserializer finds an undefined
; class which should be instanciated.
; A warning appears if the specified function is not defined, or if
; the function doesn't include/implement the missing class.
; So only set this entry, if you really want to implement such a
; callback-function.
unserialize_callback_func=
Although I don't like ini_set() magic in classes, this sounds like the
right thing to do.
--
Sebastian Bergmann
http://sebastian-bergmann.de/ http://phpOpenTracker.de/
Did I help you? Consider a gift: http://wishlist.sebastian-bergmann.de/