Bug #16582: unserialize_callback_func isnt changeable
| From: | ian dot ferger at solveris dot com | Date: | Sat, 13 Apr 2002 07:03:33 +0000 |
| Subject: | Bug #16582: unserialize_callback_func isnt changeable | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-4811@lists.php.net to get a copy of this message | ||
From: ian.ferger@solveris.com
Operating system: red hat linux
PHP version: 4.1.2
PHP Bug Type: PHP options/info functions
Bug description: unserialize_callback_func isnt changeable
am unable to set unserialize_callback_func using ini_set.
I can see it in my php.ini, but when i use the following script (adapted
from code given on the unserialize() function page):
ini_set('unserialize_callback_func','thecallback');
function thecallback($classname) {
echo "calling back";
$filename="includez/".$classname.".cls.php";
include($filename);
}
after unserializing I would have expected to see the echo statement, but
it just wont seem to work at all.
--
Edit bug report at http://bugs.php.net/?id=16582&edit=1
--
Fixed in CVS: http://bugs.php.net/fix.php?id=16582&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=16582&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=16582&r=needtrace
Try newer version: http://bugs.php.net/fix.php?id=16582&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=16582&r=support
Expected behavior: http://bugs.php.net/fix.php?id=16582&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=16582&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=16582&r=submittedtwice