projects
/
php
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9d02e3b
)
fix test
author
Anatol Belski
<ab@php.net>
Mon, 14 Mar 2016 14:53:02 +0000
(15:53 +0100)
committer
Anatol Belski
<ab@php.net>
Mon, 14 Mar 2016 14:53:02 +0000
(15:53 +0100)
Many warnings won't appear with libxml2 >= 2.9.3 because in many
cases libxml2 2.9.3 will just abort processing.
ext/xsl/tests/bug71540.phpt
patch
|
blob
|
history
diff --git
a/ext/xsl/tests/bug71540.phpt
b/ext/xsl/tests/bug71540.phpt
index e93fb0e1252f92a04fac85a3344952696624d6f4..683bfb5f7e32fa1a4779bb585b5d068a51589643 100644
(file)
--- a/
ext/xsl/tests/bug71540.phpt
+++ b/
ext/xsl/tests/bug71540.phpt
@@
-3,6
+3,7
@@
Bug #71540 (NULL pointer dereference in xsl_ext_function_php())
--SKIPIF--
<?php
if (!extension_loaded('xsl')) die("skip Extension XSL is required\n");
+if (LIBXML_VERSION >= 20903) die('skip this test is for PHP linked with libxml2 < 2.9.3 only')
?>
--FILE--
<?php
@@
-64,4
+65,4
@@
Warning: XSLTProcessor::transformToXml(): XPath evaluation returned no result. i
<h2>Users</h2>
<table><tr><td></td></tr></table>
</body></html>
-DONE
\ No newline at end of file
+DONE