summaryrefslogtreecommitdiff
path: root/ext/calendar
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/calendar
parent2cf34bc9fc30f6094f8291314bfd25f74511ceff (diff)
downloadphp-git-d81ea16ef14735b97f22702ca1a78c3674fd987e.tar.gz
Changed silent conversion of array to string to produce a notice. (Patrick)
Diffstat (limited to 'ext/calendar')
-rw-r--r--ext/calendar/tests/jdtomonthname.phpt4
1 files changed, 3 insertions, 1 deletions
diff --git a/ext/calendar/tests/jdtomonthname.phpt b/ext/calendar/tests/jdtomonthname.phpt
index 5dc3307428..5c552474bd 100644
--- a/ext/calendar/tests/jdtomonthname.phpt
+++ b/ext/calendar/tests/jdtomonthname.phpt
@@ -52,7 +52,9 @@ string(0) ""
string(0) ""
string(0) ""
-=== Array
+===
+Notice: Array to string conversion in %sjdtomonthname.php on line %d
+Array
Warning: jdmonthname() expects parameter 1 to be long, array given in %s on line %d
bool(false)