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 /
libxml /
tests /
Delete
Unzip
Name
Size
Permission
Date
Action
001.phpt
615
B
-rw-rw-r--
2022-10-31 11:36
002.phpt
1.64
KB
-rw-rw-r--
2022-10-31 11:36
003.phpt
512
B
-rw-rw-r--
2022-10-31 11:36
004.phpt
1.28
KB
-rw-rw-r--
2022-10-31 11:36
bug42112.phpt
672
B
-rw-rw-r--
2022-10-31 11:36
bug51903.phpt
1.15
KB
-rw-rw-r--
2022-10-31 11:36
bug54138.phpt
564
B
-rw-rw-r--
2022-10-31 11:36
bug54138_1.phpt
596
B
-rw-rw-r--
2022-10-31 11:36
bug54138_2.phpt
690
B
-rw-rw-r--
2022-10-31 11:36
bug54440.phpt
996
B
-rw-rw-r--
2022-10-31 11:36
bug61367-read.phpt
1.7
KB
-rw-rw-r--
2022-10-31 11:36
bug61367-read_2.phpt
1.61
KB
-rw-rw-r--
2022-10-31 11:36
bug61367-write.phpt
1.15
KB
-rw-rw-r--
2022-10-31 11:36
bug63389.phpt
420
B
-rw-rw-r--
2022-10-31 11:36
bug69753-mb.phpt
621
B
-rw-rw-r--
2022-10-31 11:36
bug69753.phpt
585
B
-rw-rw-r--
2022-10-31 11:36
bug69753.xml
64
B
-rw-rw-r--
2022-10-31 11:36
bug69753私はガラスを食べられます.xml
64
B
-rw-rw-r--
2022-10-31 11:36
bug76777.phpt
861
B
-rw-rw-r--
2022-10-31 11:36
bug79191.phpt
527
B
-rw-rw-r--
2022-10-31 11:36
libxml_disable_entity_loader.phpt
1.26
KB
-rw-rw-r--
2022-10-31 11:36
libxml_disable_entity_loader_2.phpt
1.06
KB
-rw-rw-r--
2022-10-31 11:36
libxml_disable_entity_loader_payload.txt
11
B
-rw-rw-r--
2022-10-31 11:36
libxml_set_external_entity_loader_basic.phpt
818
B
-rw-rw-r--
2022-10-31 11:36
libxml_set_external_entity_loader_error1.phpt
1.21
KB
-rw-rw-r--
2022-10-31 11:36
libxml_set_external_entity_loader_variation1.phpt
1.43
KB
-rw-rw-r--
2022-10-31 11:36
libxml_set_external_entity_loader_variation2.phpt
899
B
-rw-rw-r--
2022-10-31 11:36
test.xml
122
B
-rw-rw-r--
2022-10-31 11:36
Save
Rename
--TEST-- libxml_get_errors() --SKIPIF-- <?php if (!extension_loaded('simplexml')) die('skip'); ?> --FILE-- <?php var_dump(libxml_use_internal_errors(true)); $xmlstr = <<< XML <?xml version='1.0' standalone='yes'?> <movies> <movie> <titles>PHP: Behind the Parser</title> </movie> </movies> XML; $doc = simplexml_load_string($xmlstr); $xml = explode("\n", $xmlstr); if (!$doc) { $errors = libxml_get_errors(); foreach ($errors as $error) { echo display_xml_error($error, $xml); } var_dump(libxml_get_last_error()); } function display_xml_error($error, $xml) { $return = $xml[$error->line - 1] . "\n"; $return .= str_repeat('-', $error->column) . "^\n"; switch ($error->level) { case LIBXML_ERR_WARNING: $return .= "Warning $error->code: "; break; case LIBXML_ERR_ERROR: $return .= "Error $error->code: "; break; case LIBXML_ERR_FATAL: $return .= "Fatal Error $error->code: "; break; } $return .= trim($error->message) . "\n Line: $error->line" . "\n Column: $error->column"; if ($error->file) { $return .= "\n File: $error->file"; } return "$return\n\n--------------------------------------------\n\n"; } echo "Done\n"; ?> --EXPECTF-- bool(false) <titles>PHP: Behind the Parser</title> %s Fatal Error 76: Opening and ending tag mismatch: titles line 4 and title Line: 4 Column: %d -------------------------------------------- object(LibXMLError)#%d (6) { ["level"]=> int(3) ["code"]=> int(76) ["column"]=> int(%d) ["message"]=> string(57) "Opening and ending tag mismatch: titles line 4 and title " ["file"]=> string(0) "" ["line"]=> int(4) } Done