From: Christian Stocker Date: Mon, 5 Sep 2011 08:27:47 +0000 (+0000) Subject: Revert r316043, the tests are different on purpose X-Git-Tag: php-5.5.0alpha1~1346 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=72d0abc8d3b74fc67f91984ebf3fabd3ebce1be5;p=php Revert r316043, the tests are different on purpose --- diff --git a/ext/xsl/tests/xsltprocessor_registerPHPFunctions-funcnostring.phpt b/ext/xsl/tests/xsltprocessor_registerPHPFunctions-funcnostring.phpt index d5d99f9224..90d9c68208 100644 --- a/ext/xsl/tests/xsltprocessor_registerPHPFunctions-funcnostring.phpt +++ b/ext/xsl/tests/xsltprocessor_registerPHPFunctions-funcnostring.phpt @@ -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 diff --git a/ext/xsl/tests/xsltprocessor_registerPHPFunctions-funcundef.phpt b/ext/xsl/tests/xsltprocessor_registerPHPFunctions-funcundef.phpt index a91e6459db..a26c210333 100644 --- a/ext/xsl/tests/xsltprocessor_registerPHPFunctions-funcundef.phpt +++ b/ext/xsl/tests/xsltprocessor_registerPHPFunctions-funcundef.phpt @@ -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