unserialize_callback_func

From: Date: Wed, 10 Apr 2002 05:54:15 +0000
Subject: unserialize_callback_func
Groups: php.general 
Request: Send a blank email to php-general+get-92345@lists.php.net to get a copy of this message
i am using the following to try to pull in php classes from separate files based on their names using unserialize_callback_func. I cant seem to get it to work with 4.1.6 on redhat (should work). I notice that it isnt shown under variables available for unset() but it is shown for unserialize() from which Ive adapted the following script: ini_set('unserialize_callback_func','thecallback'); function thecallback($classname) { echo "calling back"; $filename="includez/".$classname.".cls.php"; include($filename); } I would think i'd atleast get an acknowledgement that the function indeed fired. Has this not yet been implemented?

« previous php.general (#92345) next »