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===
--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php