]> granicus.if.org Git - php/commitdiff
Synchronized fixed tests from 5.3 branch.
authorShein Alexey <shein@php.net>
Fri, 2 Sep 2011 18:01:20 +0000 (18:01 +0000)
committerShein Alexey <shein@php.net>
Fri, 2 Sep 2011 18:01:20 +0000 (18:01 +0000)
ext/xsl/tests/xsltprocessor_registerPHPFunctions-funcnostring.phpt
ext/xsl/tests/xsltprocessor_registerPHPFunctions-funcundef.phpt

index 90d9c68208c2d1714f71691027eb1b94cbb97ccb..d5d99f92245d6ba2b400350ea7cf2667eb924e43 100644 (file)
@@ -21,10 +21,17 @@ if(!$phpfuncxsl) {
 $proc->importStylesheet($phpfuncxsl);
 var_dump($proc->registerPHPFunctions());
 var_dump($proc->transformToXml($dom));
+?>
 --EXPECTF--
 NULL
 
 Warning: XSLTProcessor::transformToXml(): Handler name must be a string in %s on line %d
+
+Warning: XSLTProcessor::transformToXml(): xmlXPathCompiledEval: evaluation failed in %s on line %d
+
+Warning: XSLTProcessor::transformToXml(): runtime error: file %s line %d element value-of in %s on line %d
+
+Warning: XSLTProcessor::transformToXml(): XPath evaluation returned no result. in %s on line %d
 NULL
 --CREDITS--
 Christian Weiske, cweiske@php.net
index a26c2103331ddeb43509e1e4b11f64eddbfa73dd..a91e6459dba9a76d7d74a6e574151154bdd8de86 100644 (file)
@@ -20,10 +20,17 @@ if(!$phpfuncxsl) {
 $proc->importStylesheet($phpfuncxsl);
 var_dump($proc->registerPHPFunctions());
 var_dump($proc->transformToXml($dom));
+?>
 --EXPECTF--
 NULL
 
 Warning: XSLTProcessor::transformToXml(): Unable to call handler undefinedfunc() in %s on line %d
+
+Warning: XSLTProcessor::transformToXml(): xmlXPathCompiledEval: evaluation failed in %s on line %d
+
+Warning: XSLTProcessor::transformToXml(): runtime error: file %s line %d element value-of in %s on line %d
+
+Warning: XSLTProcessor::transformToXml(): XPath evaluation returned no result. in %s on line %d
 NULL
 --CREDITS--
 Christian Weiske, cweiske@php.net