]> granicus.if.org Git - php/commitdiff
Revert r316043, the tests are different on purpose
authorChristian Stocker <chregu@php.net>
Mon, 5 Sep 2011 08:27:47 +0000 (08:27 +0000)
committerChristian Stocker <chregu@php.net>
Mon, 5 Sep 2011 08:27:47 +0000 (08:27 +0000)
ext/xsl/tests/xsltprocessor_registerPHPFunctions-funcnostring.phpt
ext/xsl/tests/xsltprocessor_registerPHPFunctions-funcundef.phpt

index d5d99f92245d6ba2b400350ea7cf2667eb924e43..90d9c68208c2d1714f71691027eb1b94cbb97ccb 100644 (file)
@@ -21,17 +21,10 @@ 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 a91e6459dba9a76d7d74a6e574151154bdd8de86..a26c2103331ddeb43509e1e4b11f64eddbfa73dd 100644 (file)
@@ -20,17 +20,10 @@ 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