Linux vps-61133.fhnet.fr 4.9.0-19-amd64 #1 SMP Debian 4.9.320-2 (2022-06-30) x86_64
Apache/2.4.25 (Debian)
Server IP : 93.113.207.21 & Your IP : 216.73.216.112
Domains :
Cant Read [ /etc/named.conf ]
User : www-data
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
usr /
src /
php-7.4.33 /
ext /
xmlreader /
tests /
Delete
Unzip
Name
Size
Permission
Date
Action
001.phpt
532
B
-rw-rw-r--
2022-10-31 11:36
002.phpt
778
B
-rw-rw-r--
2022-10-31 11:36
003-get-errors.phpt
2.21
KB
-rw-rw-r--
2022-10-31 11:36
003-mb.phpt
1.87
KB
-rw-rw-r--
2022-10-31 11:36
003-move-errors.phpt
2.16
KB
-rw-rw-r--
2022-10-31 11:36
003.phpt
2.09
KB
-rw-rw-r--
2022-10-31 11:36
004.phpt
982
B
-rw-rw-r--
2022-10-31 11:36
005.phpt
687
B
-rw-rw-r--
2022-10-31 11:36
006.phpt
689
B
-rw-rw-r--
2022-10-31 11:36
007.phpt
1.07
KB
-rw-rw-r--
2022-10-31 11:36
008.phpt
1.47
KB
-rw-rw-r--
2022-10-31 11:36
009.phpt
492
B
-rw-rw-r--
2022-10-31 11:36
010.phpt
536
B
-rw-rw-r--
2022-10-31 11:36
011.phpt
660
B
-rw-rw-r--
2022-10-31 11:36
012.dtd
62
B
-rw-rw-r--
2022-10-31 11:36
012.phpt
1.73
KB
-rw-rw-r--
2022-10-31 11:36
012.xml
85
B
-rw-rw-r--
2022-10-31 11:36
013.phpt
988
B
-rw-rw-r--
2022-10-31 11:36
013.xsd
337
B
-rw-rw-r--
2022-10-31 11:36
014.phpt
1.57
KB
-rw-rw-r--
2022-10-31 11:36
015-get-errors.phpt
1.5
KB
-rw-rw-r--
2022-10-31 11:36
015-move-errors.phpt
1.32
KB
-rw-rw-r--
2022-10-31 11:36
015.phpt
2.17
KB
-rw-rw-r--
2022-10-31 11:36
XMLReaderBad_bug71805.xml
1.03
KB
-rw-rw-r--
2022-10-31 11:36
XMLReaderGood_bug71805.xml
1020
B
-rw-rw-r--
2022-10-31 11:36
bug36743.phpt
429
B
-rw-rw-r--
2022-10-31 11:36
bug42139.phpt
530
B
-rw-rw-r--
2022-10-31 11:36
bug51936.phpt
471
B
-rw-rw-r--
2022-10-31 11:36
bug64230.phpt
983
B
-rw-rw-r--
2022-10-31 11:36
bug70309.phpt
1.46
KB
-rw-rw-r--
2022-10-31 11:36
bug71805.phpt
1.04
KB
-rw-rw-r--
2022-10-31 11:36
bug73053.phpt
550
B
-rw-rw-r--
2022-10-31 11:36
bug73053.xml
303
B
-rw-rw-r--
2022-10-31 11:36
bug73053.xsd
930
B
-rw-rw-r--
2022-10-31 11:36
bug73246.phpt
492
B
-rw-rw-r--
2022-10-31 11:36
bug74457.phpt
381
B
-rw-rw-r--
2022-10-31 11:36
dtdexample.dtd
251
B
-rw-rw-r--
2022-10-31 11:36
expand.phpt
902
B
-rw-rw-r--
2022-10-31 11:36
expand_error.phpt
737
B
-rw-rw-r--
2022-10-31 11:36
next_basic.phpt
960
B
-rw-rw-r--
2022-10-31 11:36
open_error.phpt
343
B
-rw-rw-r--
2022-10-31 11:36
readString_basic.phpt
370
B
-rw-rw-r--
2022-10-31 11:36
relaxNG.rng
272
B
-rw-rw-r--
2022-10-31 11:36
relaxNG2.rng
586
B
-rw-rw-r--
2022-10-31 11:36
relaxNG3.rng
373
B
-rw-rw-r--
2022-10-31 11:36
schema-empty.xsd
0
B
-rw-rw-r--
2022-10-31 11:36
setParserProperty_error.phpt
490
B
-rw-rw-r--
2022-10-31 11:36
setSchema_error.phpt
830
B
-rw-rw-r--
2022-10-31 11:36
Save
Rename
--TEST-- XMLReader: libxml2 XML Reader, attributes test --SKIPIF-- <?php if (!extension_loaded("xmlreader")) print "skip"; ?> --FILE-- <?php $filename = __DIR__ . '/_004.xml'; $xmlstring = '<?xml version="1.0" encoding="UTF-8"?> <books><book num="1" idx="2">book1</book></books>'; file_put_contents($filename, $xmlstring); $reader = new XMLReader(); if (!$reader->open($filename)) { exit(); } while ($reader->read()) { if ($reader->nodeType != XMLREADER::END_ELEMENT) { echo $reader->name."\n"; if ($reader->nodeType == XMLREADER::ELEMENT && $reader->hasAttributes) { $attr = $reader->moveToFirstAttribute(); while ($attr) { echo " Attribute Name: ".$reader->name."\n"; echo " Attribute Value: ".$reader->value."\n"; $attr = $reader->moveToNextAttribute(); } } } } $reader->close(); unlink($filename); ?> ===DONE=== --EXPECT-- books book Attribute Name: num Attribute Value: 1 Attribute Name: idx Attribute Value: 2 #text ===DONE===