]> granicus.if.org Git - php/commitdiff
replaced / in filename with DIRECTORY_SEPARATOR according to performance warning...
authorChristoph M. Becker <cmbecker69@gmx.de>
Wed, 3 Jun 2015 22:32:28 +0000 (00:32 +0200)
committerAnatol Belski <ab@php.net>
Mon, 8 Jun 2015 07:40:06 +0000 (09:40 +0200)
ext/libxml/tests/bug69753.phpt

index 6fbe1f85d3bde308041b4ecda63f682024a611eb..63d1295b6edc0a4b6bfc5a03373e2abd97d476f8 100644 (file)
@@ -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);
 ?>