diff --git a/functions/var.xml b/functions/var.xml index 3574a62352..736c91153c 100644 --- a/functions/var.xml +++ b/functions/var.xml @@ -1,5 +1,5 @@ - + Variable Functions Variables @@ -1150,18 +1150,21 @@ settype($bar, "string"); // $bar is now "1" (string) If an object was serialized, its methods are not preserved in the returned value. - - It's possible to set a callback-function which will be called, - if an undefined class should be instanciated during unserializing. - (to prevent getting an incomplete object "__PHP_Incomplete_Class".) - Use your php.ini, ini_set or .htaccess-file - to define 'unserialize_callback_func'. - Everytime an undefined class should be instanciated, it'll be called. - To disable this feature just empty this global variable. + - - unserialize_callback_func example - + It's possible to set a callback-function which will be called, + if an undefined class should be instanciated during unserializing. + (to prevent getting an incomplete object "__PHP_Incomplete_Class".) + Use your php.ini, ini_set or .htaccess-file + to define 'unserialize_callback_func'. + Everytime an undefined class should be instanciated, it'll be called. + To disable this feature just empty this global variable. + + + + + unserialize_callback_func example + - - - - + + + In PHP 3, methods are not preserved when unserializing a