WDDX Functions
WDDX
&reftitle.intro;
These functions are intended for work with WDDX.
&reftitle.required;
In order to use WDDX, you will need to install the expat library
(which comes with Apache 1.3.7 or higher).
&reference.wddx.configure;
&reftitle.runtime;
&no.config;
&reftitle.resources;
&no.resource;
&reftitle.constants;
&no.constants;
&reftitle.examples;
All 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.
Serializing a single value with WDDX
]]>
This example will produce:
PHP to WDDX packet example
]]>
Using incremental packets with WDDX
]]>
This example will produce:
3.1415926
AustinNovato
Seattle
]]>
If you want to serialize non-ASCII characters you have to convert
your data to UTF-8 first (see utf8_encode and
iconv).
&reference.wddx.functions;