com php-src: Fix test compat with libxml2  2.9.5: ext/simplexml/tests/008.phpt

From: Date: Mon, 11 Sep 2017 14:12:04 +0000
Subject: com php-src: Fix test compat with libxml2  2.9.5: ext/simplexml/tests/008.phpt
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-99350@lists.php.net to get a copy of this message
Commit: cab41ecb933ad0566526ede5b68b8ca554d258ec Author: Anatol Belski <ab@php.net> Mon, 11 Sep 2017 16:12:04 +0200 Parents: 3549d9184af0e3bffa393bb2c64f2a2ba3bde43b Branches: PHP-7.0 PHP-7.1 PHP-7.2 master Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=cab41ecb933ad0566526ede5b68b8ca554d258ec Log: Fix test compat with libxml2 2.9.5 One warning disappeared, but the flow is still valid. Changed paths: M ext/simplexml/tests/008.phpt Diff: diff --git a/ext/simplexml/tests/008.phpt b/ext/simplexml/tests/008.phpt index 8734ba4..f6c41f4 100644 --- a/ext/simplexml/tests/008.phpt +++ b/ext/simplexml/tests/008.phpt @@ -42,7 +42,5 @@ array(1) { array(0) { } -Warning: SimpleXMLElement::xpath(): Invalid expression in %s on line %d - -Warning: SimpleXMLElement::xpath(): xmlXPathEval: evaluation failed in %s on line %d +Warning: SimpleXMLElement::xpath(): Invalid expression in %s on line %d%A bool(false)

« previous php.cvs (#99350) next »