summaryrefslogtreecommitdiff
path: root/ext/simplexml/tests/013.phpt
blob: cf584614516fa6187d8c3c22fb79c54d8d30e2d2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
--TEST--
SimpleXML: Split text content
--SKIPIF--
<?php
	if (!extension_loaded('simplexml')) print 'skip';
?>
--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===