diff options
Diffstat (limited to 'ext/spl')
-rw-r--r-- | ext/spl/tests/SplFixedArray_construct_param_SplFixedArray.phpt | 2 | ||||
-rw-r--r-- | ext/spl/tests/fixedarray_005.phpt | 2 | ||||
-rw-r--r-- | ext/spl/tests/iterator_044.phpt | 8 | ||||
-rw-r--r-- | ext/spl/tests/recursive_tree_iterator_003.phpt | 2 |
4 files changed, 7 insertions, 7 deletions
diff --git a/ext/spl/tests/SplFixedArray_construct_param_SplFixedArray.phpt b/ext/spl/tests/SplFixedArray_construct_param_SplFixedArray.phpt index 12e632514e..ab9b430d2a 100644 --- a/ext/spl/tests/SplFixedArray_construct_param_SplFixedArray.phpt +++ b/ext/spl/tests/SplFixedArray_construct_param_SplFixedArray.phpt @@ -12,4 +12,4 @@ try { ?> --EXPECT-- -Ok - SplFixedArray::__construct(): Argument #1 ($size) must be of type int, object given +Ok - SplFixedArray::__construct(): Argument #1 ($size) must be of type int, SplFixedArray given diff --git a/ext/spl/tests/fixedarray_005.phpt b/ext/spl/tests/fixedarray_005.phpt index 573a995cb1..f726c9d956 100644 --- a/ext/spl/tests/fixedarray_005.phpt +++ b/ext/spl/tests/fixedarray_005.phpt @@ -23,6 +23,6 @@ try { ?> --EXPECT-- -Ok - SplFixedArray::__construct(): Argument #1 ($size) must be of type int, object given +Ok - SplFixedArray::__construct(): Argument #1 ($size) must be of type int, stdClass given Ok - SplFixedArray::__construct(): Argument #1 ($size) must be of type int, string given Ok - SplFixedArray::__construct(): Argument #1 ($size) must be of type int, string given diff --git a/ext/spl/tests/iterator_044.phpt b/ext/spl/tests/iterator_044.phpt index 21ab075cc9..38dfde3f03 100644 --- a/ext/spl/tests/iterator_044.phpt +++ b/ext/spl/tests/iterator_044.phpt @@ -83,8 +83,8 @@ NULL ===1=== object(stdClass)#%d (0) { } -CachingIterator::offsetExists(): Argument #1 ($index) must be of type string, object given -CachingIterator::offsetGet(): Argument #1 ($index) must be of type string, object given +CachingIterator::offsetExists(): Argument #1 ($index) must be of type string, stdClass given +CachingIterator::offsetGet(): Argument #1 ($index) must be of type string, stdClass given ===2=== object(MyFoo)#%d (0) { } @@ -124,8 +124,8 @@ int(0) ===1=== object(stdClass)#1 (0) { } -CachingIterator::offsetExists(): Argument #1 ($index) must be of type string, object given -CachingIterator::offsetGet(): Argument #1 ($index) must be of type string, object given +CachingIterator::offsetExists(): Argument #1 ($index) must be of type string, stdClass given +CachingIterator::offsetGet(): Argument #1 ($index) must be of type string, stdClass given ===2=== object(MyFoo)#2 (0) { } diff --git a/ext/spl/tests/recursive_tree_iterator_003.phpt b/ext/spl/tests/recursive_tree_iterator_003.phpt index 39a94ba8d3..80225720f2 100644 --- a/ext/spl/tests/recursive_tree_iterator_003.phpt +++ b/ext/spl/tests/recursive_tree_iterator_003.phpt @@ -9,4 +9,4 @@ try { } ?> --EXPECT-- -RecursiveCachingIterator::__construct(): Argument #1 ($iterator) must be of type RecursiveIterator, object given +RecursiveCachingIterator::__construct(): Argument #1 ($iterator) must be of type RecursiveIterator, ArrayIterator given |