summaryrefslogtreecommitdiff
path: root/ext/standard/tests/strings/stristr_variation1.phpt
diff options
context:
space:
mode:
authorStanislav Malyshev <stas@php.net>2009-08-13 06:44:50 +0000
committerStanislav Malyshev <stas@php.net>2009-08-13 06:44:50 +0000
commite52517d61062a567b0ec87081e181031d714abd6 (patch)
tree1a3541cd13681b1d930655ee11e61cb12d369adf /ext/standard/tests/strings/stristr_variation1.phpt
parentde65a02f1cae8ab959923d394c9e18983ec3c79b (diff)
downloadphp-git-e52517d61062a567b0ec87081e181031d714abd6.tar.gz
standardise and clean up string functions parameter parsing
Diffstat (limited to 'ext/standard/tests/strings/stristr_variation1.phpt')
-rw-r--r--ext/standard/tests/strings/stristr_variation1.phpt16
1 files changed, 9 insertions, 7 deletions
diff --git a/ext/standard/tests/strings/stristr_variation1.phpt b/ext/standard/tests/strings/stristr_variation1.phpt
index b50c937266..fdbd4701cd 100644
--- a/ext/standard/tests/strings/stristr_variation1.phpt
+++ b/ext/standard/tests/strings/stristr_variation1.phpt
@@ -98,16 +98,16 @@ bool(false)
bool(false)
-- Iteration 8 --
-Notice: Array to string conversion in %s on line %d2
-bool(false)
+Warning: stristr() expects parameter 1 to be string, array given in %s on line %d2
+NULL
-- Iteration 9 --
-Notice: Array to string conversion in %s on line %d2
-bool(false)
+Warning: stristr() expects parameter 1 to be string, array given in %s on line %d2
+NULL
-- Iteration 10 --
-Notice: Array to string conversion in %s on line %d2
-bool(false)
+Warning: stristr() expects parameter 1 to be string, array given in %s on line %d2
+NULL
-- Iteration 11 --
bool(false)
-- Iteration 12 --
@@ -123,7 +123,9 @@ bool(false)
-- Iteration 17 --
string(7) " object"
-- Iteration 18 --
-string(%d) " id #%d"
+
+Warning: stristr() expects parameter 1 to be string, resource given in %s on line %d2
+NULL
-- Iteration 19 --
bool(false)
-- Iteration 20 --