Annotation of embedaddon/php/ext/simplexml/tests/013.phpt, revision 1.1
1.1 ! misho 1: --TEST--
! 2: SimpleXML: Split text content
! 3: --SKIPIF--
! 4: <?php
! 5: if (!extension_loaded('simplexml')) print 'skip';
! 6: ?>
! 7: --FILE--
! 8: <?php
! 9:
! 10: $xml =<<<EOF
! 11: <?xml version="1.0" encoding="ISO-8859-1" ?>
! 12: <foo>bar<baz/>bar</foo>
! 13: EOF;
! 14:
! 15: $sxe = simplexml_load_string($xml);
! 16:
! 17: var_dump((string)$sxe);
! 18:
! 19: ?>
! 20: ===DONE===
! 21: --EXPECT--
! 22: string(6) "barbar"
! 23: ===DONE===
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>