FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
php-src/ext/xmlreader/tests/readString_basic.phpt at master · php/php-src · GitHub
Uh oh!
There was an error while loading.
Please reload this page
.
php
/
php-src
Public
Notifications
You must be signed in to change notification settings
Fork
8.1k
Star
40.3k
Code
Issues
963
Pull requests
1k
Actions
Security and quality
52
Insights
Additional navigation options
Code
Issues
Pull requests
Actions
Security and quality
Insights
Expand file tree
Breadcrumbs
php-src
/
ext
/
xmlreader
/
tests
/
readString_basic.phpt
Copy path
More file actions
More file actions
Latest commit
History
History
History
16 lines (14 loc) · 296 Bytes
Breadcrumbs
php-src
/
ext
/
xmlreader
/
tests
/
readString_basic.phpt
Copy path
File metadata and controls
16 lines (14 loc) · 296 Bytes
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
--TEST--
XMLReader: readString basic
--EXTENSIONS--
xmlreader
--FILE--
<?php
$
xml
=
'
<?xml version="1.0" encoding="UTF-8"?><books><book>Book1</book><book>Book2</book></books>
'
;
$
reader
=
new
XMLReader
();
$
reader
->
xml
(
$
xml
);
$
reader
->
read
();
echo
$
reader
->
readString
();
?>
--EXPECT--
Book1Book2
Back
|
FazBrowse Home
|
New Git URL