PHP ManualWDDX FunctionsIntroductionThese functions are intended for work with » WDDX. RequirementsIn order to use WDDX, you will need to install the expat library (which comes with Apache 1.3.7 or higher). InstallationAfter installing expat compile PHP with --enable-wddx. The windows version of PHP has built in support for this extension. You do not need to load any additional extension in order to use these functions. Runtime ConfigurationThis extension has no configuration directives defined in php.ini. Resource TypesThis extension defines a WDDX packet identifier returned by wddx_packet_start(). Predefined ConstantsThis extension has no constants defined. ExamplesAll the functions that serialize variables use the first element of an array to determine whether the array is to be serialized into an array or structure. If the first element has string key, then it is serialized into a structure, otherwise, into an array. Example#1 Serializing a single value with WDDX
<?phpThis example will produce:
Example#2 Using incremental packets with WDDX
<?phpThis example will produce:
Table of Contents
|
PHP-Index
New Tutorial entries
|






