com php-src: replaced / in filename with DIRECTORY_SEPARATOR according to performance warning on DOMDocument: :load man page:
ext/libxml/tests/bug69753 .phpt

From: Date: Mon, 08 Jun 2015 07:40:06 +0000
Subject: com php-src: replaced / in filename with DIRECTORY_SEPARATOR according to performance warning on DOMDocument: :load man page:
ext/libxml/tests/bug69753 .phpt
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-87085@lists.php.net to get a copy of this message
Commit: f661b10536c03f5e7235e644967f3ba8eb33c32c Author: Christoph M. Becker <cmbecker69@gmx.de> Thu, 4 Jun 2015 00:32:28 +0200 Committer: Anatol Belski <ab@php.net> Mon, 8 Jun 2015 09:40:06 +0200 Parents: 03399721f41fd6410769dfeb388b4b9e244b0a95 Branches: master Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=f661b10536c03f5e7235e644967f3ba8eb33c32c Log: replaced / in filename with DIRECTORY_SEPARATOR according to performance warning on DOMDocument::load man page Changed paths: M ext/libxml/tests/bug69753.phpt Diff: diff --git a/ext/libxml/tests/bug69753.phpt b/ext/libxml/tests/bug69753..phpt index 6fbe1f8..63d1295 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); ?>

« previous php.cvs (#87085) next »