From:             [EMAIL PROTECTED]
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

Reply via email to