note 20341 added to function.wddx-serialize-vars
| From: | tychay at alumni dot caltech dot edu | Date: | Sun, 31 Mar 2002 05:15:36 +0000 |
| Subject: | note 20341 added to function.wddx-serialize-vars | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-28423@lists.php.net to get a copy of this message | ||
The above feature will cause a slight trouble since the name of the variable will always be
"wddxtemp" but you can use preg_replace to fix that.
Also, a better approach is to serialize the entire class. WDDX will that write a reserved
"php_class_name" variable which can be used to reconstruct the class during a deserialize.
--
http://www.php.net/manual/en/function.wddx-serialize-vars.php
http://master.php.net/manage/user-notes.php?action=edit+20341
http://master.php.net/manage/user-notes.php?action=delete+20341
http://master.php.net/manage/user-notes.php?action=reject+20341