xref: /PHP-5.4/ext/simplexml/tests/013.phpt (revision 610c7fbe)
1--TEST--
2SimpleXML: 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>
13EOF;
14
15$sxe = simplexml_load_string($xml);
16
17var_dump((string)$sxe);
18
19?>
20===DONE===
21--EXPECT--
22string(6) "barbar"
23===DONE===
24