Source for file serializeNullProperties.php
Documentation is available at serializeNullProperties.php
* This example demonstrates the use of
* It can be used to serialize an indexed array
* like ext/simplexml does, by using the name
* of the parent tag, while omitting this tag.
* @author Stephan Schmidt <schst@php.net>
require_once 'XML/Serializer.php';
$object = new stdClass ();
$serializer->setOption ('ignoreNull', true );
Documentation generated on Mon, 11 Mar 2019 15:41:41 -0400 by phpDocumentor 1.4.4. PEAR Logo Copyright © PHP Group 2004.
|