diff options
author | Christoph M. Becker <cmbecker69@gmx.de> | 2015-06-04 00:32:28 +0200 |
---|---|---|
committer | Anatol Belski <ab@php.net> | 2015-06-08 09:40:06 +0200 |
commit | f661b10536c03f5e7235e644967f3ba8eb33c32c (patch) | |
tree | af3785917f7373cb78448a9535fb7305e211950f | |
parent | 03399721f41fd6410769dfeb388b4b9e244b0a95 (diff) | |
download | php-git-f661b10536c03f5e7235e644967f3ba8eb33c32c.tar.gz |
replaced / in filename with DIRECTORY_SEPARATOR according to performance warning on DOMDocument::load man page
-rw-r--r-- | ext/libxml/tests/bug69753.phpt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/libxml/tests/bug69753.phpt b/ext/libxml/tests/bug69753.phpt index 6fbe1f85d3..63d1295b6e 100644 --- a/ext/libxml/tests/bug69753.phpt +++ b/ext/libxml/tests/bug69753.phpt @@ -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); ?> |