summaryrefslogtreecommitdiff
path: root/ext/standard/tests/general_functions/strval.phpt
diff options
context:
space:
mode:
authorStanislav Malyshev <stas@php.net>2011-10-21 06:08:47 +0000
committerStanislav Malyshev <stas@php.net>2011-10-21 06:08:47 +0000
commitd81ea16ef14735b97f22702ca1a78c3674fd987e (patch)
tree520d4dd5ffdb6b59aee7cc19b10839ad6def922b /ext/standard/tests/general_functions/strval.phpt
parent2cf34bc9fc30f6094f8291314bfd25f74511ceff (diff)
downloadphp-git-d81ea16ef14735b97f22702ca1a78c3674fd987e.tar.gz
Changed silent conversion of array to string to produce a notice. (Patrick)
Diffstat (limited to 'ext/standard/tests/general_functions/strval.phpt')
-rw-r--r--ext/standard/tests/general_functions/strval.phpt8
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) ""