From: Lars Strojny Date: Mon, 14 Nov 2011 00:26:37 +0000 (+0000) Subject: Adjusting error messages X-Git-Tag: php-5.4.0RC2~86 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=7d0fe66ebe91ac132198c14c4c686dae60199ca8;p=php Adjusting error messages --- diff --git a/ext/spl/tests/CallbackFilterIteratorTest-002.phpt b/ext/spl/tests/CallbackFilterIteratorTest-002.phpt index cbad2e3b9c..6b4e9013c0 100644 --- a/ext/spl/tests/CallbackFilterIteratorTest-002.phpt +++ b/ext/spl/tests/CallbackFilterIteratorTest-002.phpt @@ -45,6 +45,6 @@ try { CallbackFilterIterator::__construct() expects exactly 2 parameters, 0 given Argument 1 passed to CallbackFilterIterator::__construct() must implement interface Iterator, null given CallbackFilterIterator::__construct() expects exactly 2 parameters, 1 given -CallbackFilterIterator::__construct() expects parameter 2 to be a valid callback, no array or string given +CallbackFilterIterator::__construct() expects parameter 2 to be a valid callback, no array, string, closure or functor given CallbackFilterIterator::__construct() expects parameter 2 to be a valid callback, array must have exactly two members some message diff --git a/tests/output/ob_start_error_001.phpt b/tests/output/ob_start_error_001.phpt index b45de831df..fae0263a63 100644 --- a/tests/output/ob_start_error_001.phpt +++ b/tests/output/ob_start_error_001.phpt @@ -37,7 +37,7 @@ NULL - Arg 1 wrong type -Warning: ob_start(): no array or string given in %s on line 20 +Warning: ob_start(): no array, string, closure or functor given in %s on line 20 Notice: ob_start(): failed to create buffer in %s on line 20 bool(false)