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-- XMLWriter: libxml2 XML Writer, startDTD/writeElementNS --SKIPIF-- <?php if (!extension_loaded("xmlwriter")) die("skip"); ?> --FILE-- <?php $doc_dest = '006.xml'; $xw = xmlwriter_open_uri($doc_dest); xmlwriter_start_dtd($xw, 'foo', NULL, 'urn:bar'); xmlwriter_end_dtd($xw); xmlwriter_start_element($xw, 'foo'); xmlwriter_write_element_ns($xw, 'foo', 'bar', 'urn:foo', 'dummy content'); xmlwriter_end_element($xw); // Force to write and empty the buffer $output_bytes = xmlwriter_flush($xw, true); echo file_get_contents($doc_dest); unset($xw); unlink($doc_dest); ?> --EXPECT-- <!DOCTYPE foo SYSTEM "urn:bar"><foo><foo:bar xmlns:foo="urn:foo">dummy content</foo:bar></foo>