cvs: php-src /ext/simplexml/tests 013.phpt

From: Date: Tue, 16 Dec 2003 20:50:21 +0000
Subject: cvs: php-src /ext/simplexml/tests 013.phpt
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-25231@lists.php.net to get a copy of this message
helly Tue Dec 16 15:50:21 2003 EDT Added files: /php-src/ext/simplexml/tests 013.phpt Log: Add a test to check split text content collecting Index: php-src/ext/simplexml/tests/013.phpt +++ php-src/ext/simplexml/tests/013.phpt --TEST-- SimpleXML and Split text content --SKIPIF-- <?php if (!extension_loaded('simplexml')) print 'skip'; if (!class_exists('RecursiveIteratorIterator')) print 'skip RecursiveIteratorIterator not available'; ?> --FILE-- <?php $xml =<<<EOF <?xml version="1.0" encoding="ISO-8859-1" ?> <foo>bar<baz/>bar</foo> EOF; $sxe = simplexml_load_string($xml); var_dump((string)$sxe); ?> ===DONE=== --EXPECT-- string(6) "barbar" ===DONE===

« previous php.cvs (#25231) next »