]> granicus.if.org Git - php/commitdiff
Adjusting error messages
authorLars Strojny <lstrojny@php.net>
Mon, 14 Nov 2011 00:26:37 +0000 (00:26 +0000)
committerLars Strojny <lstrojny@php.net>
Mon, 14 Nov 2011 00:26:37 +0000 (00:26 +0000)
ext/spl/tests/CallbackFilterIteratorTest-002.phpt
tests/output/ob_start_error_001.phpt

index cbad2e3b9c924f22eb41fdfed67fab70ba1dcc39..6b4e9013c08e603633b622f7efb72652f6646b4f 100644 (file)
@@ -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
index b45de831df173c42706f9b3c0d5cb21db685a767..fae0263a633c4c08d23acc5d487484ed7ed93ca2 100644 (file)
@@ -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)