mirror of
https://github.com/php/php-src.git
synced 2024-09-23 02:47:26 +00:00
replaced / in filename with DIRECTORY_SEPARATOR according to performance warning on DOMDocument::load man page
This commit is contained in:
parent
03399721f4
commit
f661b10536
@ -11,7 +11,7 @@ if (!extension_loaded('dom')) die('skip dom extension not available');
|
||||
<?php
|
||||
libxml_use_internal_errors(true);
|
||||
$doc = new DomDocument();
|
||||
$doc->load(__DIR__ . '/bug69753.xml');
|
||||
$doc->load(__DIR__ . DIRECTORY_SEPARATOR . 'bug69753.xml');
|
||||
$error = libxml_get_last_error();
|
||||
var_dump($error->file);
|
||||
?>
|
||||
|
Loading…
Reference in New Issue
Block a user