diff options
author | Stanislav Malyshev <stas@php.net> | 2011-10-21 06:08:47 +0000 |
---|---|---|
committer | Stanislav Malyshev <stas@php.net> | 2011-10-21 06:08:47 +0000 |
commit | d81ea16ef14735b97f22702ca1a78c3674fd987e (patch) | |
tree | 520d4dd5ffdb6b59aee7cc19b10839ad6def922b /ext/standard/tests/general_functions | |
parent | 2cf34bc9fc30f6094f8291314bfd25f74511ceff (diff) | |
download | php-git-d81ea16ef14735b97f22702ca1a78c3674fd987e.tar.gz |
Changed silent conversion of array to string to produce a notice. (Patrick)
Diffstat (limited to 'ext/standard/tests/general_functions')
-rw-r--r-- | ext/standard/tests/general_functions/strval.phpt | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/ext/standard/tests/general_functions/strval.phpt b/ext/standard/tests/general_functions/strval.phpt index 3506785781..b92be41ef4 100644 --- a/ext/standard/tests/general_functions/strval.phpt +++ b/ext/standard/tests/general_functions/strval.phpt @@ -283,12 +283,20 @@ string(14) "Resource id #5" -- Iteration 3 -- string(14) "Resource id #6" -- Iteration 4 -- + +Notice: Array to string conversion in %sstrval.php on line %d string(5) "Array" -- Iteration 5 -- + +Notice: Array to string conversion in %sstrval.php on line %d string(5) "Array" -- Iteration 6 -- + +Notice: Array to string conversion in %sstrval.php on line %d string(5) "Array" -- Iteration 7 -- + +Notice: Array to string conversion in %sstrval.php on line %d string(5) "Array" -- Iteration 8 -- string(0) "" |