summaryrefslogtreecommitdiff
path: root/Zend/tests/015.phpt
diff options
context:
space:
mode:
authorStanislav Malyshev <stas@php.net>2008-06-18 23:38:37 +0000
committerStanislav Malyshev <stas@php.net>2008-06-18 23:38:37 +0000
commit58a673a9094bd26453e2b910b87ae45800ecc88c (patch)
treedca71e1937d0ea288eb8861659ed814701674cc4 /Zend/tests/015.phpt
parent5d4eed8f47389414c72aae00297cdaa1c8c1c84f (diff)
downloadphp-git-58a673a9094bd26453e2b910b87ae45800ecc88c.tar.gz
Use new parameter parsing API for builtin functions
Diffstat (limited to 'Zend/tests/015.phpt')
-rw-r--r--Zend/tests/015.phpt8
1 files changed, 3 insertions, 5 deletions
diff --git a/Zend/tests/015.phpt b/Zend/tests/015.phpt
index a802542813..b8b2338861 100644
--- a/Zend/tests/015.phpt
+++ b/Zend/tests/015.phpt
@@ -13,16 +13,14 @@ var_dump(trigger_error("error", E_USER_WARNING));
echo "Done\n";
?>
--EXPECTF--
-Warning: Wrong parameter count for trigger_error() in %s on line %d
+Warning: trigger_error() expects at least 1 parameter, 0 given in %s on line %d
NULL
Notice: error in %s on line %d
bool(true)
-Notice: Array to string conversion in %s on line %d
-
-Notice: Array in %s on line %d
-bool(true)
+Warning: trigger_error() expects parameter 1 to be string, array given in %s on line %d
+NULL
Warning: Invalid error type specified in %s on line %d
bool(false)