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 /
xmlwriter /
tests /
Delete
Unzip
Name
Size
Permission
Date
Action
001.phpt
552
B
-rw-rw-r--
2022-10-31 11:36
002.phpt
444
B
-rw-rw-r--
2022-10-31 11:36
003.phpt
860
B
-rw-rw-r--
2022-10-31 11:36
004.phpt
778
B
-rw-rw-r--
2022-10-31 11:36
005-mb.phpt
836
B
-rw-rw-r--
2022-10-31 11:36
005.phpt
800
B
-rw-rw-r--
2022-10-31 11:36
006.phpt
682
B
-rw-rw-r--
2022-10-31 11:36
007.phpt
1.15
KB
-rw-rw-r--
2022-10-31 11:36
008.phpt
1.18
KB
-rw-rw-r--
2022-10-31 11:36
009.phpt
1.24
KB
-rw-rw-r--
2022-10-31 11:36
010.phpt
921
B
-rw-rw-r--
2022-10-31 11:36
011.phpt
1007
B
-rw-rw-r--
2022-10-31 11:36
012.phpt
1.07
KB
-rw-rw-r--
2022-10-31 11:36
OO_001.phpt
569
B
-rw-rw-r--
2022-10-31 11:36
OO_002.phpt
452
B
-rw-rw-r--
2022-10-31 11:36
OO_003.phpt
817
B
-rw-rw-r--
2022-10-31 11:36
OO_004.phpt
705
B
-rw-rw-r--
2022-10-31 11:36
OO_005.phpt
733
B
-rw-rw-r--
2022-10-31 11:36
OO_006.phpt
634
B
-rw-rw-r--
2022-10-31 11:36
OO_007.phpt
1021
B
-rw-rw-r--
2022-10-31 11:36
OO_008.phpt
884
B
-rw-rw-r--
2022-10-31 11:36
OO_009.phpt
1001
B
-rw-rw-r--
2022-10-31 11:36
OO_010.phpt
907
B
-rw-rw-r--
2022-10-31 11:36
OO_011.phpt
978
B
-rw-rw-r--
2022-10-31 11:36
OO_012.phpt
1
KB
-rw-rw-r--
2022-10-31 11:36
OO_013.phpt
995
B
-rw-rw-r--
2022-10-31 11:36
bug39504.phpt
1015
B
-rw-rw-r--
2022-10-31 11:36
bug41287.phpt
1.24
KB
-rw-rw-r--
2022-10-31 11:36
bug41326.phpt
1.3
KB
-rw-rw-r--
2022-10-31 11:36
bug48204.phpt
425
B
-rw-rw-r--
2022-10-31 11:36
bug71536.phpt
502
B
-rw-rw-r--
2022-10-31 11:36
bug79029.phpt
851
B
-rw-rw-r--
2022-10-31 11:36
xmlwriter_open_uri_error_001.phpt
366
B
-rw-rw-r--
2022-10-31 11:36
xmlwriter_open_uri_error_003.phpt
374
B
-rw-rw-r--
2022-10-31 11:36
xmlwriter_open_uri_error_004.phpt
362
B
-rw-rw-r--
2022-10-31 11:36
xmlwriter_open_uri_error_005.phpt
380
B
-rw-rw-r--
2022-10-31 11:36
xmlwriter_set_indent_string_basic_001.phpt
603
B
-rw-rw-r--
2022-10-31 11:36
xmlwriter_write_attribute_ns_basic_001.phpt
802
B
-rw-rw-r--
2022-10-31 11:36
xmlwriter_write_dtd_basic_001.phpt
559
B
-rw-rw-r--
2022-10-31 11:36
Save
Rename
--TEST-- Bug #41287 (Writing empty tags with Xmlwriter::WriteElement[ns]) --SKIPIF-- <?php if (!extension_loaded("xmlwriter")) die("skip"); ?> --FILE-- <?php $xml = new XmlWriter(); $xml->openMemory(); $xml->setIndent(true); $xml->startDocument(); $xml->startElement('test'); $xml->writeElement('foo', null); $xml->writeElement('foo2', ""); $xml->writeElement('foo3'); $xml->startElement('bar'); $xml->endElement('bar'); $xml->endElement(); $xml->endElement(); print $xml->flush(true); print "\n"; $xw = new XMLWriter(); $xw->openMemory(); $xw->setIndent(true); $xw->startDocument(); $xw->startElementNS('test', 'test', 'urn:x-test:'); $xw->writeElementNS('test', 'foo', null, ''); $xw->writeElementNS(null, 'bar', 'urn:x-test:', ''); $xw->writeElementNS(null, 'bar', 'urn:x-test:', NULL); $xw->writeElementNS(null, 'bar', 'urn:x-test:'); $xw->writeElementNS(null, 'bar', '', ''); $xw->endElement(); $xw->endDocument(); print $xw->flush(true); ?> --EXPECTF-- Warning: XMLWriter::endElement() expects exactly 0 parameters, 1 given in %s on line %d <?xml version="1.0"?> <test> <foo/> <foo2></foo2> <foo3/> <bar/> </test> <?xml version="1.0"?> <test:test xmlns:test="urn:x-test:"> <test:foo></test:foo> <bar xmlns="urn:x-test:"></bar> <bar xmlns="urn:x-test:"/> <bar xmlns="urn:x-test:"/> <bar xmlns=""></bar> </test:test>