svn: /php/php-src/branches/PHP_5_4/ ext/spl/tests/CallbackFilterIteratorTest-002.phpt tests/output/ob_start_error_001.phpt
| From: | Lars Strojny | Date: | Mon, 14 Nov 2011 00:26:37 +0000 |
| Subject: | svn: /php/php-src/branches/PHP_5_4/ ext/spl/tests/CallbackFilterIteratorTest-002.phpt tests/output/ob_start_error_001.phpt | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-66974@lists.php.net to get a copy of this message | ||
lstrojny Mon, 14 Nov 2011 00:26:37 +0000
Revision: http://svn.php.net/viewvc?view=revision&revision=319136
Log:
Adjusting error messages
Changed paths:
U php/php-src/branches/PHP_5_4/ext/spl/tests/CallbackFilterIteratorTest-002.phpt
U php/php-src/branches/PHP_5_4/tests/output/ob_start_error_001.phpt
Modified: php/php-src/branches/PHP_5_4/ext/spl/tests/CallbackFilterIteratorTest-002.phpt
===================================================================
--- php/php-src/branches/PHP_5_4/ext/spl/tests/CallbackFilterIteratorTest-002.phpt 2011-11-14
00:10:09 UTC (rev 319135)
+++ php/php-src/branches/PHP_5_4/ext/spl/tests/CallbackFilterIteratorTest-002.phpt 2011-11-14
00:26:37 UTC (rev 319136)
@@ -45,6 +45,6 @@
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
Modified: php/php-src/branches/PHP_5_4/tests/output/ob_start_error_001.phpt
===================================================================
--- php/php-src/branches/PHP_5_4/tests/output/ob_start_error_001.phpt 2011-11-14 00:10:09 UTC (rev
319135)
+++ php/php-src/branches/PHP_5_4/tests/output/ob_start_error_001.phpt 2011-11-14 00:26:37 UTC (rev
319136)
@@ -37,7 +37,7 @@
- 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)