summaryrefslogtreecommitdiff
path: root/ext/xsl
diff options
context:
space:
mode:
authorNikita Popov <nikic@php.net>2016-11-22 22:12:07 +0100
committerNikita Popov <nikic@php.net>2016-11-24 22:39:39 +0100
commit5af586bec52564e05d8c75ec533e132a9f06e749 (patch)
treecada51fab29d89f724338cdc2ed626ccbee1327d /ext/xsl
parent895a82695c148f15df1ff6ab2aa9f55f9b3725ad (diff)
downloadphp-git-5af586bec52564e05d8c75ec533e132a9f06e749.tar.gz
Remove more PHP 6 leftovers from tests
Diffstat (limited to 'ext/xsl')
-rw-r--r--ext/xsl/tests/xsltprocessor_getParameter-wrongparam.phpt4
-rw-r--r--ext/xsl/tests/xsltprocessor_removeParameter-wrongparams.phpt4
2 files changed, 4 insertions, 4 deletions
diff --git a/ext/xsl/tests/xsltprocessor_getParameter-wrongparam.phpt b/ext/xsl/tests/xsltprocessor_getParameter-wrongparam.phpt
index 758d4bab21..f6d9a8852f 100644
--- a/ext/xsl/tests/xsltprocessor_getParameter-wrongparam.phpt
+++ b/ext/xsl/tests/xsltprocessor_getParameter-wrongparam.phpt
@@ -16,10 +16,10 @@ var_dump($proc->getParameter('', array()));
Warning: XSLTProcessor::getParameter() expects exactly 2 parameters, 0 given in %s on line %d
bool(false)
-Warning: XSLTProcessor::getParameter() expects parameter 1 to be %binary_string_optional%, array given in %s on line %d
+Warning: XSLTProcessor::getParameter() expects parameter 1 to be string, array given in %s on line %d
bool(false)
-Warning: XSLTProcessor::getParameter() expects parameter 2 to be %binary_string_optional%, array given in %s on line %d
+Warning: XSLTProcessor::getParameter() expects parameter 2 to be string, array given in %s on line %d
bool(false)
--CREDITS--
Christian Weiske, cweiske@php.net
diff --git a/ext/xsl/tests/xsltprocessor_removeParameter-wrongparams.phpt b/ext/xsl/tests/xsltprocessor_removeParameter-wrongparams.phpt
index c2b4f4c0c3..bbfdc20cd7 100644
--- a/ext/xsl/tests/xsltprocessor_removeParameter-wrongparams.phpt
+++ b/ext/xsl/tests/xsltprocessor_removeParameter-wrongparams.phpt
@@ -15,9 +15,9 @@ $proc->removeParameter('', array());
--EXPECTF--
Warning: XSLTProcessor::removeParameter() expects exactly 2 parameters, 0 given in %s on line %d
-Warning: XSLTProcessor::removeParameter() expects parameter 1 to be %binary_string_optional%, array given in %s on line %d
+Warning: XSLTProcessor::removeParameter() expects parameter 1 to be string, array given in %s on line %d
-Warning: XSLTProcessor::removeParameter() expects parameter 2 to be %binary_string_optional%, array given in %s on line %d
+Warning: XSLTProcessor::removeParameter() expects parameter 2 to be string, array given in %s on line %d
--CREDITS--
Christian Weiske, cweiske@php.net
PHP Testfest Berlin 2009-05-09