1--TEST--
2XMLReader: readString basic
3--EXTENSIONS--
4xmlreader
5--FILE--
6<?php
7
8$xml = '<?xml version="1.0" encoding="UTF-8"?><books><book>Book1</book><book>Book2</book></books>';
9
10$reader = new XMLReader();
11$reader->xml($xml);
12$reader->read();
13echo $reader->readString();
14?>
15--EXPECT--
16Book1Book2
17