summaryrefslogtreecommitdiff
path: root/ext/standard/tests/strings/strcspn_variation4.phpt
diff options
context:
space:
mode:
authorAndrea Faulds <ajf@ajf.me>2014-12-14 18:20:23 +0000
committerAndrea Faulds <ajf@ajf.me>2014-12-21 13:23:02 +0000
commite5eb9530ab13a174feee83a81d87bfceee37bd88 (patch)
tree76ba0f9806f6ad369cacb9c0e9b408fc0a8ba721 /ext/standard/tests/strings/strcspn_variation4.phpt
parente20cbdbe97cbda010fd386cb35a474aa255cd7f6 (diff)
downloadphp-git-e5eb9530ab13a174feee83a81d87bfceee37bd88.tar.gz
Use "float" and "integer" in typehint and zpp errors
Diffstat (limited to 'ext/standard/tests/strings/strcspn_variation4.phpt')
-rw-r--r--ext/standard/tests/strings/strcspn_variation4.phpt22
1 files changed, 11 insertions, 11 deletions
diff --git a/ext/standard/tests/strings/strcspn_variation4.phpt b/ext/standard/tests/strings/strcspn_variation4.phpt
index 04d9bceae1..d7132a64ce 100644
--- a/ext/standard/tests/strings/strcspn_variation4.phpt
+++ b/ext/standard/tests/strings/strcspn_variation4.phpt
@@ -119,27 +119,27 @@ int(0)
-- Iteration with len value as "Array" --
-Warning: strcspn() expects parameter 4 to be long, array given in %s on line %d
+Warning: strcspn() expects parameter 4 to be integer, array given in %s on line %d
NULL
-- Iteration with len value as "Array" --
-Warning: strcspn() expects parameter 4 to be long, array given in %s on line %d
+Warning: strcspn() expects parameter 4 to be integer, array given in %s on line %d
NULL
-- Iteration with len value as "Array" --
-Warning: strcspn() expects parameter 4 to be long, array given in %s on line %d
+Warning: strcspn() expects parameter 4 to be integer, array given in %s on line %d
NULL
-- Iteration with len value as "Array" --
-Warning: strcspn() expects parameter 4 to be long, array given in %s on line %d
+Warning: strcspn() expects parameter 4 to be integer, array given in %s on line %d
NULL
-- Iteration with len value as "Array" --
-Warning: strcspn() expects parameter 4 to be long, array given in %s on line %d
+Warning: strcspn() expects parameter 4 to be integer, array given in %s on line %d
NULL
-- Iteration with len value as "" --
@@ -162,27 +162,27 @@ int(0)
-- Iteration with len value as "" --
-Warning: strcspn() expects parameter 4 to be long, string given in %s on line %d
+Warning: strcspn() expects parameter 4 to be integer, string given in %s on line %d
NULL
-- Iteration with len value as "" --
-Warning: strcspn() expects parameter 4 to be long, string given in %s on line %d
+Warning: strcspn() expects parameter 4 to be integer, string given in %s on line %d
NULL
-- Iteration with len value as "string" --
-Warning: strcspn() expects parameter 4 to be long, string given in %s on line %d
+Warning: strcspn() expects parameter 4 to be integer, string given in %s on line %d
NULL
-- Iteration with len value as "string" --
-Warning: strcspn() expects parameter 4 to be long, string given in %s on line %d
+Warning: strcspn() expects parameter 4 to be integer, string given in %s on line %d
NULL
-- Iteration with len value as "object" --
-Warning: strcspn() expects parameter 4 to be long, object given in %s on line %d
+Warning: strcspn() expects parameter 4 to be integer, object given in %s on line %d
NULL
-- Iteration with len value as "" --
@@ -193,6 +193,6 @@ int(0)
-- Iteration with len value as "Resource id #%d" --
-Warning: strcspn() expects parameter 4 to be long, resource given in %s on line %d
+Warning: strcspn() expects parameter 4 to be integer, resource given in %s on line %d
NULL
Done