summaryrefslogtreecommitdiff
path: root/ext/simplexml/tests/013.phpt
blob: fbd80b0c446ef9149b60314e11a23151ad86f599 (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 and 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===