Skip to Main Content
XML and PHP
book

XML and PHP

by Vikram Vaswani
June 2002
Intermediate to advanced content levelIntermediate to advanced
384 pages
7h 53m
English
Sams
Content preview from XML and PHP

PHP and WDDX

As previously stated, a WDDX module has been available for PHP since version 4.0 of the language. Created by Andrei Zmievski, this WDDX module includes standard serialization and deserialization functions to convert PHP variables and arrays into WDDX-compatible data structures.

If you’re using a stock PHP binary, it’s quite likely that you’ll need to recompile PHP to add support for this library to your PHP build (detailed instructions for accomplishing this are available in Appendix A, “Recompiling PHP to Add XML Support”).

Encoding Data with WDDX

PHP’s WDDX module offers a number of different ways to encode data into WDDX. The following sections demonstrate this by using the following:

  • The wddx_serialize_value() function

  • The ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

PHP Development Tool Essentials

PHP Development Tool Essentials

Chad Russell
PHP Web Services

PHP Web Services

Lorna Jane Mitchell

Publisher Resources

ISBN: 0735712271Purchase book