summaryrefslogtreecommitdiff
path: root/ext/standard/tests/strings
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
parente20cbdbe97cbda010fd386cb35a474aa255cd7f6 (diff)
downloadphp-git-e5eb9530ab13a174feee83a81d87bfceee37bd88.tar.gz
Use "float" and "integer" in typehint and zpp errors
Diffstat (limited to 'ext/standard/tests/strings')
-rw-r--r--ext/standard/tests/strings/bug54322.phpt2
-rw-r--r--ext/standard/tests/strings/chunk_split_variation2.phpt24
-rw-r--r--ext/standard/tests/strings/chunk_split_variation5.phptbin2285 -> 2287 bytes
-rw-r--r--ext/standard/tests/strings/chunk_split_variation8.phpt2
-rw-r--r--ext/standard/tests/strings/count_chars_variation2.phpt10
-rw-r--r--ext/standard/tests/strings/explode_variation3.phpt10
-rw-r--r--ext/standard/tests/strings/get_html_translation_table_variation1.phpt44
-rw-r--r--ext/standard/tests/strings/get_html_translation_table_variation2.phpt22
-rw-r--r--ext/standard/tests/strings/hebrev_variation2.phpt14
-rw-r--r--ext/standard/tests/strings/hebrevc_variation2.phpt14
-rw-r--r--ext/standard/tests/strings/htmlspecialchars_decode_variation2.phpt24
-rw-r--r--ext/standard/tests/strings/money_format_variation2.phpt18
-rw-r--r--ext/standard/tests/strings/nl_langinfo_variation1.phpt10
-rw-r--r--ext/standard/tests/strings/str_pad_variation2.phpt10
-rw-r--r--ext/standard/tests/strings/str_pad_variation4.phpt12
-rw-r--r--ext/standard/tests/strings/str_repeat.phptbin16786 -> 17017 bytes
-rw-r--r--ext/standard/tests/strings/str_split_variation2.phpt24
-rw-r--r--ext/standard/tests/strings/str_split_variation2_64bit.phpt22
-rw-r--r--ext/standard/tests/strings/str_split_variation6.phpt2
-rw-r--r--ext/standard/tests/strings/str_split_variation7.phpt2
-rw-r--r--ext/standard/tests/strings/str_word_count.phpt4
-rw-r--r--ext/standard/tests/strings/strcspn_variation3.phpt44
-rw-r--r--ext/standard/tests/strings/strcspn_variation4.phpt22
-rw-r--r--ext/standard/tests/strings/stripos_variation14.phpt18
-rw-r--r--ext/standard/tests/strings/stripos_variation15.phpt6
-rw-r--r--ext/standard/tests/strings/strncasecmp_variation5.phpt18
-rw-r--r--ext/standard/tests/strings/strncmp_variation5.phpt18
-rw-r--r--ext/standard/tests/strings/strpos.phptbin9982 -> 9991 bytes
-rw-r--r--ext/standard/tests/strings/strripos_offset.phpt8
-rw-r--r--ext/standard/tests/strings/strrpos_offset.phpt8
-rw-r--r--ext/standard/tests/strings/strrpos_variation14.phpt20
-rw-r--r--ext/standard/tests/strings/strrpos_variation15.phpt8
-rw-r--r--ext/standard/tests/strings/strspn_variation3.phpt44
-rw-r--r--ext/standard/tests/strings/strspn_variation4.phpt22
-rw-r--r--ext/standard/tests/strings/substr_compare.phpt2
-rw-r--r--ext/standard/tests/strings/substr_count_error.phpt2
-rw-r--r--ext/standard/tests/strings/substr_count_variation_001.phpt6
-rw-r--r--ext/standard/tests/strings/wordwrap_variation2.phpt88
38 files changed, 302 insertions, 302 deletions
diff --git a/ext/standard/tests/strings/bug54322.phpt b/ext/standard/tests/strings/bug54322.phpt
index 4834bdf236..4623a9a2ad 100644
--- a/ext/standard/tests/strings/bug54322.phpt
+++ b/ext/standard/tests/strings/bug54322.phpt
@@ -6,5 +6,5 @@ var_dump(
get_html_translation_table(NAN, 0, "UTF-8") > 0
);
--EXPECTF--
-Warning: get_html_translation_table() expects parameter 1 to be long, double given in %s on line %d
+Warning: get_html_translation_table() expects parameter 1 to be integer, float given in %s on line %d
bool(false)
diff --git a/ext/standard/tests/strings/chunk_split_variation2.phpt b/ext/standard/tests/strings/chunk_split_variation2.phpt
index 1503d520f4..9240ed3ea0 100644
--- a/ext/standard/tests/strings/chunk_split_variation2.phpt
+++ b/ext/standard/tests/strings/chunk_split_variation2.phpt
@@ -100,7 +100,7 @@ Warning: chunk_split(): Chunk length should be greater than zero in %schunk_spli
bool(false)
-- Iteration 3 --
-Warning: chunk_split() expects parameter 2 to be long, double given in %s on line %d
+Warning: chunk_split() expects parameter 2 to be integer, float given in %s on line %d
NULL
-- Iteration 4 --
@@ -112,23 +112,23 @@ Warning: chunk_split(): Chunk length should be greater than zero in %schunk_spli
bool(false)
-- Iteration 6 --
-Warning: chunk_split() expects parameter 2 to be long, array given in %schunk_split_variation2.php on line %d
+Warning: chunk_split() expects parameter 2 to be integer, array given in %schunk_split_variation2.php on line %d
NULL
-- Iteration 7 --
-Warning: chunk_split() expects parameter 2 to be long, array given in %schunk_split_variation2.php on line %d
+Warning: chunk_split() expects parameter 2 to be integer, array given in %schunk_split_variation2.php on line %d
NULL
-- Iteration 8 --
-Warning: chunk_split() expects parameter 2 to be long, array given in %schunk_split_variation2.php on line %d
+Warning: chunk_split() expects parameter 2 to be integer, array given in %schunk_split_variation2.php on line %d
NULL
-- Iteration 9 --
-Warning: chunk_split() expects parameter 2 to be long, array given in %schunk_split_variation2.php on line %d
+Warning: chunk_split() expects parameter 2 to be integer, array given in %schunk_split_variation2.php on line %d
NULL
-- Iteration 10 --
-Warning: chunk_split() expects parameter 2 to be long, array given in %schunk_split_variation2.php on line %d
+Warning: chunk_split() expects parameter 2 to be integer, array given in %schunk_split_variation2.php on line %d
NULL
-- Iteration 11 --
@@ -152,23 +152,23 @@ Warning: chunk_split(): Chunk length should be greater than zero in %schunk_spli
bool(false)
-- Iteration 17 --
-Warning: chunk_split() expects parameter 2 to be long, string given in %schunk_split_variation2.php on line %d
+Warning: chunk_split() expects parameter 2 to be integer, string given in %schunk_split_variation2.php on line %d
NULL
-- Iteration 18 --
-Warning: chunk_split() expects parameter 2 to be long, string given in %schunk_split_variation2.php on line %d
+Warning: chunk_split() expects parameter 2 to be integer, string given in %schunk_split_variation2.php on line %d
NULL
-- Iteration 19 --
-Warning: chunk_split() expects parameter 2 to be long, string given in %schunk_split_variation2.php on line %d
+Warning: chunk_split() expects parameter 2 to be integer, string given in %schunk_split_variation2.php on line %d
NULL
-- Iteration 20 --
-Warning: chunk_split() expects parameter 2 to be long, string given in %schunk_split_variation2.php on line %d
+Warning: chunk_split() expects parameter 2 to be integer, string given in %schunk_split_variation2.php on line %d
NULL
-- Iteration 21 --
-Warning: chunk_split() expects parameter 2 to be long, object given in %schunk_split_variation2.php on line %d
+Warning: chunk_split() expects parameter 2 to be integer, object given in %schunk_split_variation2.php on line %d
NULL
-- Iteration 22 --
@@ -180,6 +180,6 @@ Warning: chunk_split(): Chunk length should be greater than zero in %schunk_spli
bool(false)
-- Iteration 24 --
-Warning: chunk_split() expects parameter 2 to be long, resource given in %schunk_split_variation2.php on line %d
+Warning: chunk_split() expects parameter 2 to be integer, resource given in %schunk_split_variation2.php on line %d
NULL
===DONE===
diff --git a/ext/standard/tests/strings/chunk_split_variation5.phpt b/ext/standard/tests/strings/chunk_split_variation5.phpt
index ca34959354..e53b1e3240 100644
--- a/ext/standard/tests/strings/chunk_split_variation5.phpt
+++ b/ext/standard/tests/strings/chunk_split_variation5.phpt
Binary files differ
diff --git a/ext/standard/tests/strings/chunk_split_variation8.phpt b/ext/standard/tests/strings/chunk_split_variation8.phpt
index 7f1e4959d4..3dfa33a2eb 100644
--- a/ext/standard/tests/strings/chunk_split_variation8.phpt
+++ b/ext/standard/tests/strings/chunk_split_variation8.phpt
@@ -83,7 +83,7 @@ It has _speci@l ch@r$ 2222 !!!Now \k as escape char to test
chunk_split():::"
-- Iteration 7 --
-Warning: chunk_split() expects parameter 2 to be long, double given in %s on line %d
+Warning: chunk_split() expects parameter 2 to be integer, float given in %s on line %d
NULL
-- Iteration 8 --
diff --git a/ext/standard/tests/strings/count_chars_variation2.phpt b/ext/standard/tests/strings/count_chars_variation2.phpt
index fe9597e3ae..7896ff1d73 100644
--- a/ext/standard/tests/strings/count_chars_variation2.phpt
+++ b/ext/standard/tests/strings/count_chars_variation2.phpt
@@ -117,11 +117,11 @@ Warning: count_chars(): Unknown mode in %s on line %d
bool(false)
-- Iteration 11 --
-Warning: count_chars() expects parameter 2 to be long, array given in %s on line %d
+Warning: count_chars() expects parameter 2 to be integer, array given in %s on line %d
bool(false)
-- Iteration 12 --
-Warning: count_chars() expects parameter 2 to be long, array given in %s on line %d
+Warning: count_chars() expects parameter 2 to be integer, array given in %s on line %d
bool(false)
-- Iteration 13 --
bool(true)
@@ -137,11 +137,11 @@ bool(true)
bool(true)
-- Iteration 19 --
-Warning: count_chars() expects parameter 2 to be long, string given in %s on line %d
+Warning: count_chars() expects parameter 2 to be integer, string given in %s on line %d
bool(false)
-- Iteration 20 --
-Warning: count_chars() expects parameter 2 to be long, string given in %s on line %d
+Warning: count_chars() expects parameter 2 to be integer, string given in %s on line %d
bool(false)
-- Iteration 21 --
@@ -155,7 +155,7 @@ Warning: count_chars(): Unknown mode in %s on line %d
bool(false)
-- Iteration 23 --
-Warning: count_chars() expects parameter 2 to be long, object given in %s on line %d
+Warning: count_chars() expects parameter 2 to be integer, object given in %s on line %d
bool(false)
-- Iteration 24 --
bool(true)
diff --git a/ext/standard/tests/strings/explode_variation3.phpt b/ext/standard/tests/strings/explode_variation3.phpt
index 2e87893107..37574e11a4 100644
--- a/ext/standard/tests/strings/explode_variation3.phpt
+++ b/ext/standard/tests/strings/explode_variation3.phpt
@@ -177,15 +177,15 @@ array(6) {
}
-- Iteration 10 --
-Warning: explode() expects parameter 3 to be long, array given in %s on line %d
+Warning: explode() expects parameter 3 to be integer, array given in %s on line %d
NULL
-- Iteration 11 --
-Warning: explode() expects parameter 3 to be long, array given in %s on line %d
+Warning: explode() expects parameter 3 to be integer, array given in %s on line %d
NULL
-- Iteration 12 --
-Warning: explode() expects parameter 3 to be long, array given in %s on line %d
+Warning: explode() expects parameter 3 to be integer, array given in %s on line %d
NULL
-- Iteration 13 --
array(1) {
@@ -219,11 +219,11 @@ array(1) {
}
-- Iteration 19 --
-Warning: explode() expects parameter 3 to be long, object given in %s on line %d
+Warning: explode() expects parameter 3 to be integer, object given in %s on line %d
NULL
-- Iteration 20 --
-Warning: explode() expects parameter 3 to be long, resource given in %s on line %d
+Warning: explode() expects parameter 3 to be integer, resource given in %s on line %d
NULL
-- Iteration 21 --
array(1) {
diff --git a/ext/standard/tests/strings/get_html_translation_table_variation1.phpt b/ext/standard/tests/strings/get_html_translation_table_variation1.phpt
index 76d590c35b..ec4075b5ec 100644
--- a/ext/standard/tests/strings/get_html_translation_table_variation1.phpt
+++ b/ext/standard/tests/strings/get_html_translation_table_variation1.phpt
@@ -106,38 +106,38 @@ echo "Done\n";
--- Testing get_html_translation_table() by supplying different values for 'table' argument ---
-- Iteration 1 --
-Warning: get_html_translation_table() expects parameter 1 to be long, array given in %s on line %d
+Warning: get_html_translation_table() expects parameter 1 to be integer, array given in %s on line %d
NULL
-Warning: get_html_translation_table() expects parameter 1 to be long, array given in %s on line %d
+Warning: get_html_translation_table() expects parameter 1 to be integer, array given in %s on line %d
NULL
-- Iteration 2 --
-Warning: get_html_translation_table() expects parameter 1 to be long, array given in %s on line %d
+Warning: get_html_translation_table() expects parameter 1 to be integer, array given in %s on line %d
NULL
-Warning: get_html_translation_table() expects parameter 1 to be long, array given in %s on line %d
+Warning: get_html_translation_table() expects parameter 1 to be integer, array given in %s on line %d
NULL
-- Iteration 3 --
-Warning: get_html_translation_table() expects parameter 1 to be long, array given in %s on line %d
+Warning: get_html_translation_table() expects parameter 1 to be integer, array given in %s on line %d
NULL
-Warning: get_html_translation_table() expects parameter 1 to be long, array given in %s on line %d
+Warning: get_html_translation_table() expects parameter 1 to be integer, array given in %s on line %d
NULL
-- Iteration 4 --
-Warning: get_html_translation_table() expects parameter 1 to be long, array given in %s on line %d
+Warning: get_html_translation_table() expects parameter 1 to be integer, array given in %s on line %d
NULL
-Warning: get_html_translation_table() expects parameter 1 to be long, array given in %s on line %d
+Warning: get_html_translation_table() expects parameter 1 to be integer, array given in %s on line %d
NULL
-- Iteration 5 --
-Warning: get_html_translation_table() expects parameter 1 to be long, array given in %s on line %d
+Warning: get_html_translation_table() expects parameter 1 to be integer, array given in %s on line %d
NULL
-Warning: get_html_translation_table() expects parameter 1 to be long, array given in %s on line %d
+Warning: get_html_translation_table() expects parameter 1 to be integer, array given in %s on line %d
NULL
-- Iteration 6 --
int(252)
@@ -189,38 +189,38 @@ array(4) {
}
-- Iteration 10 --
-Warning: get_html_translation_table() expects parameter 1 to be long, string given in %s on line %d
+Warning: get_html_translation_table() expects parameter 1 to be integer, string given in %s on line %d
NULL
-Warning: get_html_translation_table() expects parameter 1 to be long, string given in %s on line %d
+Warning: get_html_translation_table() expects parameter 1 to be integer, string given in %s on line %d
NULL
-- Iteration 11 --
-Warning: get_html_translation_table() expects parameter 1 to be long, string given in %s on line %d
+Warning: get_html_translation_table() expects parameter 1 to be integer, string given in %s on line %d
NULL
-Warning: get_html_translation_table() expects parameter 1 to be long, string given in %s on line %d
+Warning: get_html_translation_table() expects parameter 1 to be integer, string given in %s on line %d
NULL
-- Iteration 12 --
-Warning: get_html_translation_table() expects parameter 1 to be long, object given in %s on line %d
+Warning: get_html_translation_table() expects parameter 1 to be integer, object given in %s on line %d
NULL
-Warning: get_html_translation_table() expects parameter 1 to be long, object given in %s on line %d
+Warning: get_html_translation_table() expects parameter 1 to be integer, object given in %s on line %d
NULL
-- Iteration 13 --
-Warning: get_html_translation_table() expects parameter 1 to be long, string given in %s on line %d
+Warning: get_html_translation_table() expects parameter 1 to be integer, string given in %s on line %d
NULL
-Warning: get_html_translation_table() expects parameter 1 to be long, string given in %s on line %d
+Warning: get_html_translation_table() expects parameter 1 to be integer, string given in %s on line %d
NULL
-- Iteration 14 --
-Warning: get_html_translation_table() expects parameter 1 to be long, string given in %s on line %d
+Warning: get_html_translation_table() expects parameter 1 to be integer, string given in %s on line %d
NULL
-Warning: get_html_translation_table() expects parameter 1 to be long, string given in %s on line %d
+Warning: get_html_translation_table() expects parameter 1 to be integer, string given in %s on line %d
NULL
-- Iteration 15 --
array(4) {
@@ -266,10 +266,10 @@ array(4) {
}
-- Iteration 17 --
-Warning: get_html_translation_table() expects parameter 1 to be long, resource given in %s on line %d
+Warning: get_html_translation_table() expects parameter 1 to be integer, resource given in %s on line %d
NULL
-Warning: get_html_translation_table() expects parameter 1 to be long, resource given in %s on line %d
+Warning: get_html_translation_table() expects parameter 1 to be integer, resource given in %s on line %d
NULL
-- Iteration 18 --
array(4) {
diff --git a/ext/standard/tests/strings/get_html_translation_table_variation2.phpt b/ext/standard/tests/strings/get_html_translation_table_variation2.phpt
index ea42af996c..67acf42ff7 100644
--- a/ext/standard/tests/strings/get_html_translation_table_variation2.phpt
+++ b/ext/standard/tests/strings/get_html_translation_table_variation2.phpt
@@ -88,23 +88,23 @@ echo "Done\n";
--- Testing get_html_translation_table() by supplying different values for 'quote_style' argument ---
-- Iteration 1 --
-Warning: get_html_translation_table() expects parameter 2 to be long, array given in %s on line %s
+Warning: get_html_translation_table() expects parameter 2 to be integer, array given in %s on line %s
NULL
-- Iteration 2 --
-Warning: get_html_translation_table() expects parameter 2 to be long, array given in %s on line %s
+Warning: get_html_translation_table() expects parameter 2 to be integer, array given in %s on line %s
NULL
-- Iteration 3 --
-Warning: get_html_translation_table() expects parameter 2 to be long, array given in %s on line %s
+Warning: get_html_translation_table() expects parameter 2 to be integer, array given in %s on line %s
NULL
-- Iteration 4 --
-Warning: get_html_translation_table() expects parameter 2 to be long, array given in %s on line %s
+Warning: get_html_translation_table() expects parameter 2 to be integer, array given in %s on line %s
NULL
-- Iteration 5 --
-Warning: get_html_translation_table() expects parameter 2 to be long, array given in %s on line %s
+Warning: get_html_translation_table() expects parameter 2 to be integer, array given in %s on line %s
NULL
-- Iteration 6 --
array(4) {
@@ -148,23 +148,23 @@ array(3) {
}
-- Iteration 10 --
-Warning: get_html_translation_table() expects parameter 2 to be long, string given in %s on line %s
+Warning: get_html_translation_table() expects parameter 2 to be integer, string given in %s on line %s
NULL
-- Iteration 11 --
-Warning: get_html_translation_table() expects parameter 2 to be long, string given in %s on line %s
+Warning: get_html_translation_table() expects parameter 2 to be integer, string given in %s on line %s
NULL
-- Iteration 12 --
-Warning: get_html_translation_table() expects parameter 2 to be long, object given in %s on line %s
+Warning: get_html_translation_table() expects parameter 2 to be integer, object given in %s on line %s
NULL
-- Iteration 13 --
-Warning: get_html_translation_table() expects parameter 2 to be long, string given in %s on line %s
+Warning: get_html_translation_table() expects parameter 2 to be integer, string given in %s on line %s
NULL
-- Iteration 14 --
-Warning: get_html_translation_table() expects parameter 2 to be long, string given in %s on line %s
+Warning: get_html_translation_table() expects parameter 2 to be integer, string given in %s on line %s
NULL
-- Iteration 15 --
array(3) {
@@ -186,7 +186,7 @@ array(3) {
}
-- Iteration 17 --
-Warning: get_html_translation_table() expects parameter 2 to be long, resource given in %s on line %s
+Warning: get_html_translation_table() expects parameter 2 to be integer, resource given in %s on line %s
NULL
-- Iteration 18 --
array(3) {
diff --git a/ext/standard/tests/strings/hebrev_variation2.phpt b/ext/standard/tests/strings/hebrev_variation2.phpt
index 00ada9abee..501791f9e5 100644
--- a/ext/standard/tests/strings/hebrev_variation2.phpt
+++ b/ext/standard/tests/strings/hebrev_variation2.phpt
@@ -180,15 +180,15 @@ string(109) ".The hebrev function converts logical Hebrew text to visual text
"
-- Iteration 10 --
-Warning: hebrev() expects parameter 2 to be long, array given in %s on line %d
+Warning: hebrev() expects parameter 2 to be integer, array given in %s on line %d
NULL
-- Iteration 11 --
-Warning: hebrev() expects parameter 2 to be long, array given in %s on line %d
+Warning: hebrev() expects parameter 2 to be integer, array given in %s on line %d
NULL
-- Iteration 12 --
-Warning: hebrev() expects parameter 2 to be long, array given in %s on line %d
+Warning: hebrev() expects parameter 2 to be integer, array given in %s on line %d
NULL
-- Iteration 13 --
string(109) "xttel uaisv
@@ -230,11 +230,11 @@ string(109) ".The hebrev function converts logical Hebrew text to visual text
"
-- Iteration 19 --
-Warning: hebrev() expects parameter 2 to be long, string given in %s on line %d
+Warning: hebrev() expects parameter 2 to be integer, string given in %s on line %d
NULL
-- Iteration 20 --
-Warning: hebrev() expects parameter 2 to be long, string given in %s on line %d
+Warning: hebrev() expects parameter 2 to be integer, string given in %s on line %d
NULL
-- Iteration 21 --
@@ -274,11 +274,11 @@ tionfuncThe .
"
-- Iteration 24 --
-Warning: hebrev() expects parameter 2 to be long, object given in %s on line %d
+Warning: hebrev() expects parameter 2 to be integer, object given in %s on line %d
NULL
-- Iteration 25 --
-Warning: hebrev() expects parameter 2 to be long, resource given in %s on line %d
+Warning: hebrev() expects parameter 2 to be integer, resource given in %s on line %d
NULL
-- Iteration 26 --
string(109) ".The hebrev function converts logical Hebrew text to visual text
diff --git a/ext/standard/tests/strings/hebrevc_variation2.phpt b/ext/standard/tests/strings/hebrevc_variation2.phpt
index 924af9a279..373cf806fe 100644
--- a/ext/standard/tests/strings/hebrevc_variation2.phpt
+++ b/ext/standard/tests/strings/hebrevc_variation2.phpt
@@ -254,15 +254,15 @@ string(241) ".The hebrevcc function converts logical Hebrew text to visual text<
"
-- Iteration 10 --
-Warning: hebrevc() expects parameter 2 to be long, array given in %s on line %d
+Warning: hebrevc() expects parameter 2 to be integer, array given in %s on line %d
NULL
-- Iteration 11 --
-Warning: hebrevc() expects parameter 2 to be long, array given in %s on line %d
+Warning: hebrevc() expects parameter 2 to be integer, array given in %s on line %d
NULL
-- Iteration 12 --
-Warning: hebrevc() expects parameter 2 to be long, array given in %s on line %d
+Warning: hebrevc() expects parameter 2 to be integer, array given in %s on line %d
NULL
-- Iteration 13 --
string(331) "xttel uaisv<br />
@@ -338,11 +338,11 @@ string(241) ".The hebrevcc function converts logical Hebrew text to visual text<
"
-- Iteration 19 --
-Warning: hebrevc() expects parameter 2 to be long, string given in %s on line %d
+Warning: hebrevc() expects parameter 2 to be integer, string given in %s on line %d
NULL
-- Iteration 20 --
-Warning: hebrevc() expects parameter 2 to be long, string given in %s on line %d
+Warning: hebrevc() expects parameter 2 to be integer, string given in %s on line %d
NULL
-- Iteration 21 --
@@ -407,11 +407,11 @@ tionfuncThe .<br />
"
-- Iteration 24 --
-Warning: hebrevc() expects parameter 2 to be long, object given in %s on line %d
+Warning: hebrevc() expects parameter 2 to be integer, object given in %s on line %d
NULL
-- Iteration 25 --
-Warning: hebrevc() expects parameter 2 to be long, resource given in %s on line %d
+Warning: hebrevc() expects parameter 2 to be integer, resource given in %s on line %d
NULL
-- Iteration 26 --
string(241) ".The hebrevcc function converts logical Hebrew text to visual text<br />
diff --git a/ext/standard/tests/strings/htmlspecialchars_decode_variation2.phpt b/ext/standard/tests/strings/htmlspecialchars_decode_variation2.phpt
index 8fc4068b9a..837583c224 100644
--- a/ext/standard/tests/strings/htmlspecialchars_decode_variation2.phpt
+++ b/ext/standard/tests/strings/htmlspecialchars_decode_variation2.phpt
@@ -103,7 +103,7 @@ string(104) "<html>Roy&#039;s height > Sam&#039;s height. 13 < 15. 1111 & 0000 =
-- Iteration 3 --
-Warning: htmlspecialchars_decode() expects parameter 2 to be long, double given in %s on line %d
+Warning: htmlspecialchars_decode() expects parameter 2 to be integer, float given in %s on line %d
NULL
-- Iteration 4 --
@@ -114,27 +114,27 @@ string(114) "<html>Roy&#039;s height > Sam&#039;s height. 13 < 15. 1111 & 0000 =
-- Iteration 6 --
-Warning: htmlspecialchars_decode() expects parameter 2 to be long, array given in %shtmlspecialchars_decode_variation2.php on line %d
+Warning: htmlspecialchars_decode() expects parameter 2 to be integer, array given in %shtmlspecialchars_decode_variation2.php on line %d
NULL
-- Iteration 7 --
-Warning: htmlspecialchars_decode() expects parameter 2 to be long, array given in %shtmlspecialchars_decode_variation2.php on line %d
+Warning: htmlspecialchars_decode() expects parameter 2 to be integer, array given in %shtmlspecialchars_decode_variation2.php on line %d
NULL
-- Iteration 8 --
-Warning: htmlspecialchars_decode() expects parameter 2 to be long, array given in %shtmlspecialchars_decode_variation2.php on line %d
+Warning: htmlspecialchars_decode() expects parameter 2 to be integer, array given in %shtmlspecialchars_decode_variation2.php on line %d
NULL
-- Iteration 9 --
-Warning: htmlspecialchars_decode() expects parameter 2 to be long, array given in %shtmlspecialchars_decode_variation2.php on line %d
+Warning: htmlspecialchars_decode() expects parameter 2 to be integer, array given in %shtmlspecialchars_decode_variation2.php on line %d
NULL
-- Iteration 10 --
-Warning: htmlspecialchars_decode() expects parameter 2 to be long, array given in %shtmlspecialchars_decode_variation2.php on line %d
+Warning: htmlspecialchars_decode() expects parameter 2 to be integer, array given in %shtmlspecialchars_decode_variation2.php on line %d
NULL
-- Iteration 11 --
@@ -157,27 +157,27 @@ string(114) "<html>Roy&#039;s height > Sam&#039;s height. 13 < 15. 1111 & 0000 =
-- Iteration 17 --
-Warning: htmlspecialchars_decode() expects parameter 2 to be long, string given in %shtmlspecialchars_decode_variation2.php on line %d
+Warning: htmlspecialchars_decode() expects parameter 2 to be integer, string given in %shtmlspecialchars_decode_variation2.php on line %d
NULL
-- Iteration 18 --
-Warning: htmlspecialchars_decode() expects parameter 2 to be long, string given in %shtmlspecialchars_decode_variation2.php on line %d
+Warning: htmlspecialchars_decode() expects parameter 2 to be integer, string given in %shtmlspecialchars_decode_variation2.php on line %d
NULL
-- Iteration 19 --
-Warning: htmlspecialchars_decode() expects parameter 2 to be long, string given in %shtmlspecialchars_decode_variation2.php on line %d
+Warning: htmlspecialchars_decode() expects parameter 2 to be integer, string given in %shtmlspecialchars_decode_variation2.php on line %d
NULL
-- Iteration 20 --
-Warning: htmlspecialchars_decode() expects parameter 2 to be long, string given in %shtmlspecialchars_decode_variation2.php on line %d
+Warning: htmlspecialchars_decode() expects parameter 2 to be integer, string given in %shtmlspecialchars_decode_variation2.php on line %d
NULL
-- Iteration 21 --
-Warning: htmlspecialchars_decode() expects parameter 2 to be long, object given in %shtmlspecialchars_decode_variation2.php on line %d
+Warning: htmlspecialchars_decode() expects parameter 2 to be integer, object given in %shtmlspecialchars_decode_variation2.php on line %d
NULL
-- Iteration 22 --
@@ -188,6 +188,6 @@ string(114) "<html>Roy&#039;s height > Sam&#039;s height. 13 < 15. 1111 & 0000 =
-- Iteration 24 --
-Warning: htmlspecialchars_decode() expects parameter 2 to be long, resource given in %shtmlspecialchars_decode_variation2.php on line %d
+Warning: htmlspecialchars_decode() expects parameter 2 to be integer, resource given in %shtmlspecialchars_decode_variation2.php on line %d
NULL
Done
diff --git a/ext/standard/tests/strings/money_format_variation2.phpt b/ext/standard/tests/strings/money_format_variation2.phpt
index 8ac4cb9a98..01fd44d66c 100644
--- a/ext/standard/tests/strings/money_format_variation2.phpt
+++ b/ext/standard/tests/strings/money_format_variation2.phpt
@@ -125,15 +125,15 @@ string
string
-- Iteration 10 --
-Warning: money_format() expects parameter 2 to be double, array given in %s on line %d
+Warning: money_format() expects parameter 2 to be float, array given in %s on line %d
NULL
-- Iteration 11 --
-Warning: money_format() expects parameter 2 to be double, array given in %s on line %d
+Warning: money_format() expects parameter 2 to be float, array given in %s on line %d
NULL
-- Iteration 12 --
-Warning: money_format() expects parameter 2 to be double, array given in %s on line %d
+Warning: money_format() expects parameter 2 to be float, array given in %s on line %d
NULL
-- Iteration 13 --
string
@@ -149,29 +149,29 @@ string
string
-- Iteration 19 --
-Warning: money_format() expects parameter 2 to be double, string given in %s on line %d
+Warning: money_format() expects parameter 2 to be float, string given in %s on line %d
NULL
-- Iteration 20 --
-Warning: money_format() expects parameter 2 to be double, string given in %s on line %d
+Warning: money_format() expects parameter 2 to be float, string given in %s on line %d
NULL
-- Iteration 21 --
string
-- Iteration 22 --
-Warning: money_format() expects parameter 2 to be double, string given in %s on line %d
+Warning: money_format() expects parameter 2 to be float, string given in %s on line %d
NULL
-- Iteration 23 --
-Warning: money_format() expects parameter 2 to be double, object given in %s on line %d
+Warning: money_format() expects parameter 2 to be float, object given in %s on line %d
NULL
-- Iteration 24 --
-Warning: money_format() expects parameter 2 to be double, object given in %s on line %d
+Warning: money_format() expects parameter 2 to be float, object given in %s on line %d
NULL
-- Iteration 25 --
-Warning: money_format() expects parameter 2 to be double, resource given in %s on line %d
+Warning: money_format() expects parameter 2 to be float, resource given in %s on line %d
NULL
-- Iteration 26 --
string
diff --git a/ext/standard/tests/strings/nl_langinfo_variation1.phpt b/ext/standard/tests/strings/nl_langinfo_variation1.phpt
index 98edb1ba1c..2d65d0ef07 100644
--- a/ext/standard/tests/strings/nl_langinfo_variation1.phpt
+++ b/ext/standard/tests/strings/nl_langinfo_variation1.phpt
@@ -83,22 +83,22 @@ Warning: nl_langinfo(): Item '-20' is not valid in %s on line %d
bool(false)
-- Iteration 4 --
-Warning: nl_langinfo() expects parameter 1 to be long, array given in %s on line %d
+Warning: nl_langinfo() expects parameter 1 to be integer, array given in %s on line %d
NULL
-- Iteration 5 --
-Warning: nl_langinfo() expects parameter 1 to be long, array given in %s on line %d
+Warning: nl_langinfo() expects parameter 1 to be integer, array given in %s on line %d
NULL
-- Iteration 6 --
-Warning: nl_langinfo() expects parameter 1 to be long, array given in %s on line %d
+Warning: nl_langinfo() expects parameter 1 to be integer, array given in %s on line %d
NULL
-- Iteration 7 --
-Warning: nl_langinfo() expects parameter 1 to be long, object given in %s on line %d
+Warning: nl_langinfo() expects parameter 1 to be integer, object given in %s on line %d
NULL
-- Iteration 8 --
-Warning: nl_langinfo() expects parameter 1 to be long, resource given in %s on line %d
+Warning: nl_langinfo() expects parameter 1 to be integer, resource given in %s on line %d
NULL
===DONE===
diff --git a/ext/standard/tests/strings/str_pad_variation2.phpt b/ext/standard/tests/strings/str_pad_variation2.phpt
index 2bc699069b..6313dd0fe2 100644
--- a/ext/standard/tests/strings/str_pad_variation2.phpt
+++ b/ext/standard/tests/strings/str_pad_variation2.phpt
@@ -102,15 +102,15 @@ string(11) "Test string"
string(1012) "Test string "
-- Iteration 8 --
-Warning: str_pad() expects parameter 2 to be long, array given in %s on line %d
+Warning: str_pad() expects parameter 2 to be integer, array given in %s on line %d
NULL
-- Iteration 9 --
-Warning: str_pad() expects parameter 2 to be long, array given in %s on line %d
+Warning: str_pad() expects parameter 2 to be integer, array given in %s on line %d
NULL
-- Iteration 10 --
-Warning: str_pad() expects parameter 2 to be long, array given in %s on line %d
+Warning: str_pad() expects parameter 2 to be integer, array given in %s on line %d
NULL
-- Iteration 11 --
string(11) "Test string"
@@ -126,11 +126,11 @@ string(11) "Test string"
string(11) "Test string"
-- Iteration 17 --
-Warning: str_pad() expects parameter 2 to be long, object given in %s on line %d
+Warning: str_pad() expects parameter 2 to be integer, object given in %s on line %d
NULL
-- Iteration 18 --
-Warning: str_pad() expects parameter 2 to be long, resource given in %s on line %d
+Warning: str_pad() expects parameter 2 to be integer, resource given in %s on line %d
NULL
-- Iteration 19 --
string(11) "Test string"
diff --git a/ext/standard/tests/strings/str_pad_variation4.phpt b/ext/standard/tests/strings/str_pad_variation4.phpt
index d2b51af0a3..124d064576 100644
--- a/ext/standard/tests/strings/str_pad_variation4.phpt
+++ b/ext/standard/tests/strings/str_pad_variation4.phpt
@@ -123,11 +123,11 @@ Warning: str_pad(): Padding type has to be STR_PAD_LEFT, STR_PAD_RIGHT, or STR_P
NULL
-- Iteration 10 --
-Warning: str_pad() expects parameter 4 to be long, string given in %s on line %d
+Warning: str_pad() expects parameter 4 to be integer, string given in %s on line %d
NULL
-- Iteration 11 --
-Warning: str_pad() expects parameter 4 to be long, string given in %s on line %d
+Warning: str_pad() expects parameter 4 to be integer, string given in %s on line %d
NULL
-- Iteration 12 --
string(20) "****Test string*****"
@@ -137,15 +137,15 @@ string(20) "****Test string*****"
string(20) "****Test string*****"
-- Iteration 15 --
-Warning: str_pad() expects parameter 4 to be long, array given in %s on line %d
+Warning: str_pad() expects parameter 4 to be integer, array given in %s on line %d
NULL
-- Iteration 16 --
-Warning: str_pad() expects parameter 4 to be long, array given in %s on line %d
+Warning: str_pad() expects parameter 4 to be integer, array given in %s on line %d
NULL
-- Iteration 17 --
-Warning: str_pad() expects parameter 4 to be long, array given in %s on line %d
+Warning: str_pad() expects parameter 4 to be integer, array given in %s on line %d
NULL
-- Iteration 18 --
string(20) "Test string*********"
@@ -161,7 +161,7 @@ string(20) "*********Test string"
string(20) "*********Test string"
-- Iteration 24 --
-Warning: str_pad() expects parameter 4 to be long, object given in %s on line %d
+Warning: str_pad() expects parameter 4 to be integer, object given in %s on line %d
NULL
-- Iteration 25 --
string(20) "*********Test string"
diff --git a/ext/standard/tests/strings/str_repeat.phpt b/ext/standard/tests/strings/str_repeat.phpt
index 795050a9a4..bbcc489990 100644
--- a/ext/standard/tests/strings/str_repeat.phpt
+++ b/ext/standard/tests/strings/str_repeat.phpt
Binary files differ
diff --git a/ext/standard/tests/strings/str_split_variation2.phpt b/ext/standard/tests/strings/str_split_variation2.phpt
index 423d9d894c..42a5d5ab38 100644
--- a/ext/standard/tests/strings/str_split_variation2.phpt
+++ b/ext/standard/tests/strings/str_split_variation2.phpt
@@ -111,7 +111,7 @@ Warning: str_split(): The length of each segment must be greater than zero in %s
bool(false)
--Iteration 3 --
-Warning: str_split() expects parameter 2 to be long, double given in %s on line %d
+Warning: str_split() expects parameter 2 to be integer, float given in %s on line %d
NULL
--Iteration 4 --
@@ -123,23 +123,23 @@ Warning: str_split(): The length of each segment must be greater than zero in %s
bool(false)
--Iteration 6 --
-Warning: str_split() expects parameter 2 to be long, array given in %sstr_split_variation2.php on line %d
+Warning: str_split() expects parameter 2 to be integer, array given in %sstr_split_variation2.php on line %d
NULL
--Iteration 7 --
-Warning: str_split() expects parameter 2 to be long, array given in %sstr_split_variation2.php on line %d
+Warning: str_split() expects parameter 2 to be integer, array given in %sstr_split_variation2.php on line %d
NULL
--Iteration 8 --
-Warning: str_split() expects parameter 2 to be long, array given in %sstr_split_variation2.php on line %d
+Warning: str_split() expects parameter 2 to be integer, array given in %sstr_split_variation2.php on line %d
NULL
--Iteration 9 --
-Warning: str_split() expects parameter 2 to be long, array given in %sstr_split_variation2.php on line %d
+Warning: str_split() expects parameter 2 to be integer, array given in %sstr_split_variation2.php on line %d
NULL
--Iteration 10 --
-Warning: str_split() expects parameter 2 to be long, array given in %sstr_split_variation2.php on line %d
+Warning: str_split() expects parameter 2 to be integer, array given in %sstr_split_variation2.php on line %d
NULL
--Iteration 11 --
@@ -257,23 +257,23 @@ Warning: str_split(): The length of each segment must be greater than zero in %s
bool(false)
--Iteration 17 --
-Warning: str_split() expects parameter 2 to be long, string given in %sstr_split_variation2.php on line %d
+Warning: str_split() expects parameter 2 to be integer, string given in %sstr_split_variation2.php on line %d
NULL
--Iteration 18 --
-Warning: str_split() expects parameter 2 to be long, string given in %sstr_split_variation2.php on line %d
+Warning: str_split() expects parameter 2 to be integer, string given in %sstr_split_variation2.php on line %d
NULL
--Iteration 19 --
-Warning: str_split() expects parameter 2 to be long, string given in %sstr_split_variation2.php on line %d
+Warning: str_split() expects parameter 2 to be integer, string given in %sstr_split_variation2.php on line %d
NULL
--Iteration 20 --
-Warning: str_split() expects parameter 2 to be long, string given in %sstr_split_variation2.php on line %d
+Warning: str_split() expects parameter 2 to be integer, string given in %sstr_split_variation2.php on line %d
NULL
--Iteration 21 --
-Warning: str_split() expects parameter 2 to be long, object given in %sstr_split_variation2.php on line %d
+Warning: str_split() expects parameter 2 to be integer, object given in %sstr_split_variation2.php on line %d
NULL
--Iteration 22 --
@@ -285,6 +285,6 @@ Warning: str_split(): The length of each segment must be greater than zero in %s
bool(false)
--Iteration 24 --
-Warning: str_split() expects parameter 2 to be long, resource given in %sstr_split_variation2.php on line %d
+Warning: str_split() expects parameter 2 to be integer, resource given in %sstr_split_variation2.php on line %d
NULL
Done
diff --git a/ext/standard/tests/strings/str_split_variation2_64bit.phpt b/ext/standard/tests/strings/str_split_variation2_64bit.phpt
index 7aeaf0f253..b80a3b42cc 100644
--- a/ext/standard/tests/strings/str_split_variation2_64bit.phpt
+++ b/ext/standard/tests/strings/str_split_variation2_64bit.phpt
@@ -124,23 +124,23 @@ Warning: str_split(): The length of each segment must be greater than zero in %s
bool(false)
--Iteration 6 --
-Warning: str_split() expects parameter 2 to be long, array given in %s on line %d
+Warning: str_split() expects parameter 2 to be integer, array given in %s on line %d
NULL
--Iteration 7 --
-Warning: str_split() expects parameter 2 to be long, array given in %s on line %d
+Warning: str_split() expects parameter 2 to be integer, array given in %s on line %d
NULL
--Iteration 8 --
-Warning: str_split() expects parameter 2 to be long, array given in %s on line %d
+Warning: str_split() expects parameter 2 to be integer, array given in %s on line %d
NULL
--Iteration 9 --
-Warning: str_split() expects parameter 2 to be long, array given in %s on line %d
+Warning: str_split() expects parameter 2 to be integer, array given in %s on line %d
NULL
--Iteration 10 --
-Warning: str_split() expects parameter 2 to be long, array given in %s on line %d
+Warning: str_split() expects parameter 2 to be integer, array given in %s on line %d
NULL
--Iteration 11 --
@@ -258,23 +258,23 @@ Warning: str_split(): The length of each segment must be greater than zero in %s
bool(false)
--Iteration 17 --
-Warning: str_split() expects parameter 2 to be long, string given in %s on line %d
+Warning: str_split() expects parameter 2 to be integer, string given in %s on line %d
NULL
--Iteration 18 --
-Warning: str_split() expects parameter 2 to be long, string given in %s on line %d
+Warning: str_split() expects parameter 2 to be integer, string given in %s on line %d
NULL
--Iteration 19 --
-Warning: str_split() expects parameter 2 to be long, string given in %s on line %d
+Warning: str_split() expects parameter 2 to be integer, string given in %s on line %d
NULL
--Iteration 20 --
-Warning: str_split() expects parameter 2 to be long, string given in %s on line %d
+Warning: str_split() expects parameter 2 to be integer, string given in %s on line %d
NULL
--Iteration 21 --
-Warning: str_split() expects parameter 2 to be long, object given in %s on line %d
+Warning: str_split() expects parameter 2 to be integer, object given in %s on line %d
NULL
--Iteration 22 --
@@ -286,6 +286,6 @@ Warning: str_split(): The length of each segment must be greater than zero in %s
bool(false)
--Iteration 24 --
-Warning: str_split() expects parameter 2 to be long, resource given in %s on line %d
+Warning: str_split() expects parameter 2 to be integer, resource given in %s on line %d
NULL
Done
diff --git a/ext/standard/tests/strings/str_split_variation6.phpt b/ext/standard/tests/strings/str_split_variation6.phpt
index 049d1fe401..53385a76de 100644
--- a/ext/standard/tests/strings/str_split_variation6.phpt
+++ b/ext/standard/tests/strings/str_split_variation6.phpt
@@ -157,7 +157,7 @@ array(1) {
}
-- Iteration 7 --
-Warning: str_split() expects parameter 2 to be long, double given in %s line %d
+Warning: str_split() expects parameter 2 to be integer, float given in %s line %d
NULL
-- Iteration 8 --
diff --git a/ext/standard/tests/strings/str_split_variation7.phpt b/ext/standard/tests/strings/str_split_variation7.phpt
index ee0e88c51a..963e2aa14c 100644
--- a/ext/standard/tests/strings/str_split_variation7.phpt
+++ b/ext/standard/tests/strings/str_split_variation7.phpt
@@ -135,7 +135,7 @@ array(1) {
}
-- Iteration 7 --
-Warning: str_split() expects parameter 2 to be long, double given in %s on line %d
+Warning: str_split() expects parameter 2 to be integer, float given in %s on line %d
NULL
-- Iteration 8 --
diff --git a/ext/standard/tests/strings/str_word_count.phpt b/ext/standard/tests/strings/str_word_count.phpt
index 11e1bb65eb..00e71f781f 100644
--- a/ext/standard/tests/strings/str_word_count.phpt
+++ b/ext/standard/tests/strings/str_word_count.phpt
@@ -87,10 +87,10 @@ bool(false)
Warning: str_word_count(): Invalid format value 999999999 in %s on line %d
bool(false)
-Warning: str_word_count() expects parameter 2 to be long, array given in %s on line %d
+Warning: str_word_count() expects parameter 2 to be integer, array given in %s on line %d
NULL
-Warning: str_word_count() expects parameter 2 to be long, string given in %s on line %d
+Warning: str_word_count() expects parameter 2 to be integer, string given in %s on line %d
NULL
string(55) "Hello friend, you're
looking good today!"
diff --git a/ext/standard/tests/strings/strcspn_variation3.phpt b/ext/standard/tests/strings/strcspn_variation3.phpt
index 8b1923efda..4940b8cfc9 100644
--- a/ext/standard/tests/strings/strcspn_variation3.phpt
+++ b/ext/standard/tests/strings/strcspn_variation3.phpt
@@ -123,42 +123,42 @@ int(0)
-- Iteration with start value as "Array" --
-Warning: strcspn() expects parameter 3 to be long, array given in %s on line %d
+Warning: strcspn() expects parameter 3 to be integer, array given in %s on line %d
NULL
-Warning: strcspn() expects parameter 3 to be long, array given in %s on line %d
+Warning: strcspn() expects parameter 3 to be integer, array given in %s on line %d
NULL
-- Iteration with start value as "Array" --
-Warning: strcspn() expects parameter 3 to be long, array given in %s on line %d
+Warning: strcspn() expects parameter 3 to be integer, array given in %s on line %d
NULL
-Warning: strcspn() expects parameter 3 to be long, array given in %s on line %d
+Warning: strcspn() expects parameter 3 to be integer, array given in %s on line %d
NULL
-- Iteration with start value as "Array" --
-Warning: strcspn() expects parameter 3 to be long, array given in %s on line %d
+Warning: strcspn() expects parameter 3 to be integer, array given in %s on line %d
NULL
-Warning: strcspn() expects parameter 3 to be long, array given in %s on line %d
+Warning: strcspn() expects parameter 3 to be integer, array given in %s on line %d
NULL
-- Iteration with start value as "Array" --
-Warning: strcspn() expects parameter 3 to be long, array given in %s on line %d
+Warning: strcspn() expects parameter 3 to be integer, array given in %s on line %d
NULL
-Warning: strcspn() expects parameter 3 to be long, array given in %s on line %d
+Warning: strcspn() expects parameter 3 to be integer, array given in %s on line %d
NULL
-- Iteration with start value as "Array" --
-Warning: strcspn() expects parameter 3 to be long, array given in %s on line %d
+Warning: strcspn() expects parameter 3 to be integer, array given in %s on line %d
NULL
-Warning: strcspn() expects parameter 3 to be long, array given in %s on line %d
+Warning: strcspn() expects parameter 3 to be integer, array given in %s on line %d
NULL
-- Iteration with start value as "" --
@@ -187,42 +187,42 @@ int(0)
-- Iteration with start value as "" --
-Warning: strcspn() expects parameter 3 to be long, string given in %s on line %d
+Warning: strcspn() expects parameter 3 to be integer, string given in %s on line %d
NULL
-Warning: strcspn() expects parameter 3 to be long, string given in %s on line %d
+Warning: strcspn() expects parameter 3 to be integer, string given in %s on line %d
NULL
-- Iteration with start value as "" --
-Warning: strcspn() expects parameter 3 to be long, string given in %s on line %d
+Warning: strcspn() expects parameter 3 to be integer, string given in %s on line %d
NULL
-Warning: strcspn() expects parameter 3 to be long, string given in %s on line %d
+Warning: strcspn() expects parameter 3 to be integer, string given in %s on line %d
NULL
-- Iteration with start value as "string" --
-Warning: strcspn() expects parameter 3 to be long, string given in %s on line %d
+Warning: strcspn() expects parameter 3 to be integer, string given in %s on line %d
NULL
-Warning: strcspn() expects parameter 3 to be long, string given in %s on line %d
+Warning: strcspn() expects parameter 3 to be integer, string given in %s on line %d
NULL
-- Iteration with start value as "string" --
-Warning: strcspn() expects parameter 3 to be long, string given in %s on line %d
+Warning: strcspn() expects parameter 3 to be integer, string given in %s on line %d
NULL
-Warning: strcspn() expects parameter 3 to be long, string given in %s on line %d
+Warning: strcspn() expects parameter 3 to be integer, string given in %s on line %d
NULL
-- Iteration with start value as "object" --
-Warning: strcspn() expects parameter 3 to be long, object given in %s on line %d
+Warning: strcspn() expects parameter 3 to be integer, object given in %s on line %d
NULL
-Warning: strcspn() expects parameter 3 to be long, object given in %s on line %d
+Warning: strcspn() expects parameter 3 to be integer, object given in %s on line %d
NULL
-- Iteration with start value as "" --
@@ -235,9 +235,9 @@ int(0)
-- Iteration with start value as "Resource id #%d" --
-Warning: strcspn() expects parameter 3 to be long, resource given in %s on line %d
+Warning: strcspn() expects parameter 3 to be integer, resource given in %s on line %d
NULL
-Warning: strcspn() expects parameter 3 to be long, resource given in %s on line %d
+Warning: strcspn() expects parameter 3 to be integer, resource given in %s on line %d
NULL
Done \ No newline at end of file
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
diff --git a/ext/standard/tests/strings/stripos_variation14.phpt b/ext/standard/tests/strings/stripos_variation14.phpt
index a6407425dd..aabf0e62ea 100644
--- a/ext/standard/tests/strings/stripos_variation14.phpt
+++ b/ext/standard/tests/strings/stripos_variation14.phpt
@@ -104,23 +104,23 @@ int(6)
int(6)
-- Iteration 6 --
-Warning: stripos() expects parameter 3 to be long, array given in %s on line %d
+Warning: stripos() expects parameter 3 to be integer, array given in %s on line %d
NULL
-- Iteration 7 --
-Warning: stripos() expects parameter 3 to be long, array given in %s on line %d
+Warning: stripos() expects parameter 3 to be integer, array given in %s on line %d
NULL
-- Iteration 8 --
-Warning: stripos() expects parameter 3 to be long, array given in %s on line %d
+Warning: stripos() expects parameter 3 to be integer, array given in %s on line %d
NULL
-- Iteration 9 --
-Warning: stripos() expects parameter 3 to be long, array given in %s on line %d
+Warning: stripos() expects parameter 3 to be integer, array given in %s on line %d
NULL
-- Iteration 10 --
-Warning: stripos() expects parameter 3 to be long, array given in %s on line %d
+Warning: stripos() expects parameter 3 to be integer, array given in %s on line %d
NULL
-- Iteration 11 --
int(6)
@@ -132,15 +132,15 @@ int(6)
int(6)
-- Iteration 15 --
-Warning: stripos() expects parameter 3 to be long, object given in %s on line %d
+Warning: stripos() expects parameter 3 to be integer, object given in %s on line %d
NULL
-- Iteration 16 --
-Warning: stripos() expects parameter 3 to be long, string given in %s on line %d
+Warning: stripos() expects parameter 3 to be integer, string given in %s on line %d
NULL
-- Iteration 17 --
-Warning: stripos() expects parameter 3 to be long, string given in %s on line %d
+Warning: stripos() expects parameter 3 to be integer, string given in %s on line %d
NULL
-- Iteration 18 --
int(6)
@@ -148,7 +148,7 @@ int(6)
int(6)
-- Iteration 20 --
-Warning: stripos() expects parameter 3 to be long, resource given in %s on line %d
+Warning: stripos() expects parameter 3 to be integer, resource given in %s on line %d
NULL
-- Iteration 21 --
int(6)
diff --git a/ext/standard/tests/strings/stripos_variation15.phpt b/ext/standard/tests/strings/stripos_variation15.phpt
index fd01cf8bd0..182ecba3c1 100644
--- a/ext/standard/tests/strings/stripos_variation15.phpt
+++ b/ext/standard/tests/strings/stripos_variation15.phpt
@@ -148,15 +148,15 @@ bool(false)
bool(false)
-- Iteration 19 --
-Warning: stripos() expects parameter 3 to be long, object given in %s on line %d
+Warning: stripos() expects parameter 3 to be integer, object given in %s on line %d
NULL
-- Iteration 20 --
-Warning: stripos() expects parameter 3 to be long, string given in %s on line %d
+Warning: stripos() expects parameter 3 to be integer, string given in %s on line %d
NULL
-- Iteration 21 --
-Warning: stripos() expects parameter 3 to be long, string given in %s on line %d
+Warning: stripos() expects parameter 3 to be integer, string given in %s on line %d
NULL
-- Iteration 22 --
bool(false)
diff --git a/ext/standard/tests/strings/strncasecmp_variation5.phpt b/ext/standard/tests/strings/strncasecmp_variation5.phpt
index dc17b20043..e88be79a9c 100644
--- a/ext/standard/tests/strings/strncasecmp_variation5.phpt
+++ b/ext/standard/tests/strings/strncasecmp_variation5.phpt
@@ -112,23 +112,23 @@ int(0)
int(0)
-- Iteration 8 --
-Warning: strncasecmp() expects parameter 3 to be long, array given in %s on line %d
+Warning: strncasecmp() expects parameter 3 to be integer, array given in %s on line %d
NULL
-- Iteration 9 --
-Warning: strncasecmp() expects parameter 3 to be long, array given in %s on line %d
+Warning: strncasecmp() expects parameter 3 to be integer, array given in %s on line %d
NULL
-- Iteration 10 --
-Warning: strncasecmp() expects parameter 3 to be long, array given in %s on line %d
+Warning: strncasecmp() expects parameter 3 to be integer, array given in %s on line %d
NULL
-- Iteration 11 --
-Warning: strncasecmp() expects parameter 3 to be long, array given in %s on line %d
+Warning: strncasecmp() expects parameter 3 to be integer, array given in %s on line %d
NULL
-- Iteration 12 --
-Warning: strncasecmp() expects parameter 3 to be long, array given in %s on line %d
+Warning: strncasecmp() expects parameter 3 to be integer, array given in %s on line %d
NULL
-- Iteration 13 --
int(0)
@@ -144,11 +144,11 @@ int(0)
int(0)
-- Iteration 19 --
-Warning: strncasecmp() expects parameter 3 to be long, string given in %s on line %d
+Warning: strncasecmp() expects parameter 3 to be integer, string given in %s on line %d
NULL
-- Iteration 20 --
-Warning: strncasecmp() expects parameter 3 to be long, string given in %s on line %d
+Warning: strncasecmp() expects parameter 3 to be integer, string given in %s on line %d
NULL
-- Iteration 21 --
int(0)
@@ -156,10 +156,10 @@ int(0)
int(0)
-- Iteration 23 --
-Warning: strncasecmp() expects parameter 3 to be long, resource given in %s on line %d
+Warning: strncasecmp() expects parameter 3 to be integer, resource given in %s on line %d
NULL
-- Iteration 24 --
-Warning: strncasecmp() expects parameter 3 to be long, object given in %s on line %d
+Warning: strncasecmp() expects parameter 3 to be integer, object given in %s on line %d
NULL
*** Done ***
diff --git a/ext/standard/tests/strings/strncmp_variation5.phpt b/ext/standard/tests/strings/strncmp_variation5.phpt
index 36648c8b60..22aaa439e8 100644
--- a/ext/standard/tests/strings/strncmp_variation5.phpt
+++ b/ext/standard/tests/strings/strncmp_variation5.phpt
@@ -126,23 +126,23 @@ int(0)
int(0)
-- Iteration 11 --
-Warning: strncmp() expects parameter 3 to be long, array given in%s on line %d
+Warning: strncmp() expects parameter 3 to be integer, array given in%s on line %d
NULL
-- Iteration 12 --
-Warning: strncmp() expects parameter 3 to be long, array given in%s on line %d
+Warning: strncmp() expects parameter 3 to be integer, array given in%s on line %d
NULL
-- Iteration 13 --
-Warning: strncmp() expects parameter 3 to be long, array given in%s on line %d
+Warning: strncmp() expects parameter 3 to be integer, array given in%s on line %d
NULL
-- Iteration 14 --
-Warning: strncmp() expects parameter 3 to be long, array given in%s on line %d
+Warning: strncmp() expects parameter 3 to be integer, array given in%s on line %d
NULL
-- Iteration 15 --
-Warning: strncmp() expects parameter 3 to be long, array given in%s on line %d
+Warning: strncmp() expects parameter 3 to be integer, array given in%s on line %d
NULL
-- Iteration 16 --
int(0)
@@ -158,11 +158,11 @@ int(0)
int(0)
-- Iteration 22 --
-Warning: strncmp() expects parameter 3 to be long, string given in%s on line %d
+Warning: strncmp() expects parameter 3 to be integer, string given in%s on line %d
NULL
-- Iteration 23 --
-Warning: strncmp() expects parameter 3 to be long, string given in%s on line %d
+Warning: strncmp() expects parameter 3 to be integer, string given in%s on line %d
NULL
-- Iteration 24 --
int(0)
@@ -170,10 +170,10 @@ int(0)
int(0)
-- Iteration 26 --
-Warning: strncmp() expects parameter 3 to be long, resource given in%s on line %d
+Warning: strncmp() expects parameter 3 to be integer, resource given in%s on line %d
NULL
-- Iteration 27 --
-Warning: strncmp() expects parameter 3 to be long, object given in%s on line %d
+Warning: strncmp() expects parameter 3 to be integer, object given in%s on line %d
NULL
*** Done ***
diff --git a/ext/standard/tests/strings/strpos.phpt b/ext/standard/tests/strings/strpos.phpt
index 44785ef6c8..b2bfedeb87 100644
--- a/ext/standard/tests/strings/strpos.phpt
+++ b/ext/standard/tests/strings/strpos.phpt
Binary files differ
diff --git a/ext/standard/tests/strings/strripos_offset.phpt b/ext/standard/tests/strings/strripos_offset.phpt
index f6124c022d..47a672cc7e 100644
--- a/ext/standard/tests/strings/strripos_offset.phpt
+++ b/ext/standard/tests/strings/strripos_offset.phpt
@@ -18,16 +18,16 @@ var_dump(strripos(1024, "te", -PHP_INT_MAX-1));
echo "Done\n";
?>
--EXPECTF--
-Warning: strripos() expects parameter 3 to be long, double given in %s on line %d
+Warning: strripos() expects parameter 3 to be integer, float given in %s on line %d
bool(false)
-Warning: strripos() expects parameter 3 to be long, double given in %s on line %d
+Warning: strripos() expects parameter 3 to be integer, float given in %s on line %d
bool(false)
-Warning: strripos() expects parameter 3 to be long, double given in %s on line %d
+Warning: strripos() expects parameter 3 to be integer, float given in %s on line %d
bool(false)
-Warning: strripos() expects parameter 3 to be long, double given in %s on line %d
+Warning: strripos() expects parameter 3 to be integer, float given in %s on line %d
bool(false)
Warning: strripos() expects parameter 1 to be string, array given in %s on line %d
diff --git a/ext/standard/tests/strings/strrpos_offset.phpt b/ext/standard/tests/strings/strrpos_offset.phpt
index 41540f1b46..4f20895b15 100644
--- a/ext/standard/tests/strings/strrpos_offset.phpt
+++ b/ext/standard/tests/strings/strrpos_offset.phpt
@@ -17,16 +17,16 @@ var_dump(strrpos(1024, "te", -PHP_INT_MAX-1));
echo "Done\n";
?>
--EXPECTF--
-Warning: strrpos() expects parameter 3 to be long, double given in %s on line %d
+Warning: strrpos() expects parameter 3 to be integer, float given in %s on line %d
bool(false)
-Warning: strrpos() expects parameter 3 to be long, double given in %s on line %d
+Warning: strrpos() expects parameter 3 to be integer, float given in %s on line %d
bool(false)
-Warning: strrpos() expects parameter 3 to be long, double given in %s on line %d
+Warning: strrpos() expects parameter 3 to be integer, float given in %s on line %d
bool(false)
-Warning: strrpos() expects parameter 3 to be long, double given in %s on line %d
+Warning: strrpos() expects parameter 3 to be integer, float given in %s on line %d
bool(false)
Warning: strrpos(): Offset is greater than the length of haystack string in %s on line %d
diff --git a/ext/standard/tests/strings/strrpos_variation14.phpt b/ext/standard/tests/strings/strrpos_variation14.phpt
index 9b5d2154e8..ba252b9d2b 100644
--- a/ext/standard/tests/strings/strrpos_variation14.phpt
+++ b/ext/standard/tests/strings/strrpos_variation14.phpt
@@ -94,7 +94,7 @@ int(6)
int(6)
-- Iteration 3 --
-Warning: strrpos() expects parameter 3 to be long, double given in %s on line %d
+Warning: strrpos() expects parameter 3 to be integer, float given in %s on line %d
bool(false)
-- Iteration 4 --
int(6)
@@ -102,23 +102,23 @@ int(6)
int(6)
-- Iteration 6 --
-Warning: strrpos() expects parameter 3 to be long, array given in %s on line %d
+Warning: strrpos() expects parameter 3 to be integer, array given in %s on line %d
bool(false)
-- Iteration 7 --
-Warning: strrpos() expects parameter 3 to be long, array given in %s on line %d
+Warning: strrpos() expects parameter 3 to be integer, array given in %s on line %d
bool(false)
-- Iteration 8 --
-Warning: strrpos() expects parameter 3 to be long, array given in %s on line %d
+Warning: strrpos() expects parameter 3 to be integer, array given in %s on line %d
bool(false)
-- Iteration 9 --
-Warning: strrpos() expects parameter 3 to be long, array given in %s on line %d
+Warning: strrpos() expects parameter 3 to be integer, array given in %s on line %d
bool(false)
-- Iteration 10 --
-Warning: strrpos() expects parameter 3 to be long, array given in %s on line %d
+Warning: strrpos() expects parameter 3 to be integer, array given in %s on line %d
bool(false)
-- Iteration 11 --
int(6)
@@ -130,15 +130,15 @@ int(6)
int(6)
-- Iteration 15 --
-Warning: strrpos() expects parameter 3 to be long, object given in %s on line %d
+Warning: strrpos() expects parameter 3 to be integer, object given in %s on line %d
bool(false)
-- Iteration 16 --
-Warning: strrpos() expects parameter 3 to be long, string given in %s on line %d
+Warning: strrpos() expects parameter 3 to be integer, string given in %s on line %d
bool(false)
-- Iteration 17 --
-Warning: strrpos() expects parameter 3 to be long, string given in %s on line %d
+Warning: strrpos() expects parameter 3 to be integer, string given in %s on line %d
bool(false)
-- Iteration 18 --
int(6)
@@ -146,7 +146,7 @@ int(6)
int(6)
-- Iteration 20 --
-Warning: strrpos() expects parameter 3 to be long, resource given in %s on line %d
+Warning: strrpos() expects parameter 3 to be integer, resource given in %s on line %d
bool(false)
-- Iteration 21 --
int(6)
diff --git a/ext/standard/tests/strings/strrpos_variation15.phpt b/ext/standard/tests/strings/strrpos_variation15.phpt
index 412454913c..02bc804fcf 100644
--- a/ext/standard/tests/strings/strrpos_variation15.phpt
+++ b/ext/standard/tests/strings/strrpos_variation15.phpt
@@ -112,7 +112,7 @@ Warning: strrpos(): Offset is greater than the length of haystack string in %s o
bool(false)
-- Iteration 7 --
-Warning: strrpos() expects parameter 3 to be long, double given in %s on line %d
+Warning: strrpos() expects parameter 3 to be integer, float given in %s on line %d
bool(false)
-- Iteration 8 --
bool(false)
@@ -148,15 +148,15 @@ bool(false)
bool(false)
-- Iteration 19 --
-Warning: strrpos() expects parameter 3 to be long, object given in %s on line %d
+Warning: strrpos() expects parameter 3 to be integer, object given in %s on line %d
bool(false)
-- Iteration 20 --
-Warning: strrpos() expects parameter 3 to be long, string given in %s on line %d
+Warning: strrpos() expects parameter 3 to be integer, string given in %s on line %d
bool(false)
-- Iteration 21 --
-Warning: strrpos() expects parameter 3 to be long, string given in %s on line %d
+Warning: strrpos() expects parameter 3 to be integer, string given in %s on line %d
bool(false)
-- Iteration 22 --
bool(false)
diff --git a/ext/standard/tests/strings/strspn_variation3.phpt b/ext/standard/tests/strings/strspn_variation3.phpt
index 3195220dea..13eb327f72 100644
--- a/ext/standard/tests/strings/strspn_variation3.phpt
+++ b/ext/standard/tests/strings/strspn_variation3.phpt
@@ -123,42 +123,42 @@ int(2)
-- Iteration with start value as "Array" --
-Warning: strspn() expects parameter 3 to be long, array given in %s on line %d
+Warning: strspn() expects parameter 3 to be integer, array given in %s on line %d
NULL
-Warning: strspn() expects parameter 3 to be long, array given in %s on line %d
+Warning: strspn() expects parameter 3 to be integer, array given in %s on line %d
NULL
-- Iteration with start value as "Array" --
-Warning: strspn() expects parameter 3 to be long, array given in %s on line %d
+Warning: strspn() expects parameter 3 to be integer, array given in %s on line %d
NULL
-Warning: strspn() expects parameter 3 to be long, array given in %s on line %d
+Warning: strspn() expects parameter 3 to be integer, array given in %s on line %d
NULL
-- Iteration with start value as "Array" --
-Warning: strspn() expects parameter 3 to be long, array given in %s on line %d
+Warning: strspn() expects parameter 3 to be integer, array given in %s on line %d
NULL
-Warning: strspn() expects parameter 3 to be long, array given in %s on line %d
+Warning: strspn() expects parameter 3 to be integer, array given in %s on line %d
NULL
-- Iteration with start value as "Array" --
-Warning: strspn() expects parameter 3 to be long, array given in %s on line %d
+Warning: strspn() expects parameter 3 to be integer, array given in %s on line %d
NULL
-Warning: strspn() expects parameter 3 to be long, array given in %s on line %d
+Warning: strspn() expects parameter 3 to be integer, array given in %s on line %d
NULL
-- Iteration with start value as "Array" --
-Warning: strspn() expects parameter 3 to be long, array given in %s on line %d
+Warning: strspn() expects parameter 3 to be integer, array given in %s on line %d
NULL
-Warning: strspn() expects parameter 3 to be long, array given in %s on line %d
+Warning: strspn() expects parameter 3 to be integer, array given in %s on line %d
NULL
-- Iteration with start value as "" --
@@ -187,42 +187,42 @@ int(2)
-- Iteration with start value as "" --
-Warning: strspn() expects parameter 3 to be long, string given in %s on line %d
+Warning: strspn() expects parameter 3 to be integer, string given in %s on line %d
NULL
-Warning: strspn() expects parameter 3 to be long, string given in %s on line %d
+Warning: strspn() expects parameter 3 to be integer, string given in %s on line %d
NULL
-- Iteration with start value as "" --
-Warning: strspn() expects parameter 3 to be long, string given in %s on line %d
+Warning: strspn() expects parameter 3 to be integer, string given in %s on line %d
NULL
-Warning: strspn() expects parameter 3 to be long, string given in %s on line %d
+Warning: strspn() expects parameter 3 to be integer, string given in %s on line %d
NULL
-- Iteration with start value as "string" --
-Warning: strspn() expects parameter 3 to be long, string given in %s on line %d
+Warning: strspn() expects parameter 3 to be integer, string given in %s on line %d
NULL
-Warning: strspn() expects parameter 3 to be long, string given in %s on line %d
+Warning: strspn() expects parameter 3 to be integer, string given in %s on line %d
NULL
-- Iteration with start value as "string" --
-Warning: strspn() expects parameter 3 to be long, string given in %s on line %d
+Warning: strspn() expects parameter 3 to be integer, string given in %s on line %d
NULL
-Warning: strspn() expects parameter 3 to be long, string given in %s on line %d
+Warning: strspn() expects parameter 3 to be integer, string given in %s on line %d
NULL
-- Iteration with start value as "object" --
-Warning: strspn() expects parameter 3 to be long, object given in %s on line %d
+Warning: strspn() expects parameter 3 to be integer, object given in %s on line %d
NULL
-Warning: strspn() expects parameter 3 to be long, object given in %s on line %d
+Warning: strspn() expects parameter 3 to be integer, object given in %s on line %d
NULL
-- Iteration with start value as "" --
@@ -235,9 +235,9 @@ int(2)
-- Iteration with start value as "Resource id #%d" --
-Warning: strspn() expects parameter 3 to be long, resource given in %s on line %d
+Warning: strspn() expects parameter 3 to be integer, resource given in %s on line %d
NULL
-Warning: strspn() expects parameter 3 to be long, resource given in %s on line %d
+Warning: strspn() expects parameter 3 to be integer, resource given in %s on line %d
NULL
Done \ No newline at end of file
diff --git a/ext/standard/tests/strings/strspn_variation4.phpt b/ext/standard/tests/strings/strspn_variation4.phpt
index 87dceac3b8..c723328482 100644
--- a/ext/standard/tests/strings/strspn_variation4.phpt
+++ b/ext/standard/tests/strings/strspn_variation4.phpt
@@ -117,27 +117,27 @@ int(0)
-- Iteration with len value as "Array" --
-Warning: strspn() expects parameter 4 to be long, array given in %s on line %d
+Warning: strspn() expects parameter 4 to be integer, array given in %s on line %d
NULL
-- Iteration with len value as "Array" --
-Warning: strspn() expects parameter 4 to be long, array given in %s on line %d
+Warning: strspn() expects parameter 4 to be integer, array given in %s on line %d
NULL
-- Iteration with len value as "Array" --
-Warning: strspn() expects parameter 4 to be long, array given in %s on line %d
+Warning: strspn() expects parameter 4 to be integer, array given in %s on line %d
NULL
-- Iteration with len value as "Array" --
-Warning: strspn() expects parameter 4 to be long, array given in %s on line %d
+Warning: strspn() expects parameter 4 to be integer, array given in %s on line %d
NULL
-- Iteration with len value as "Array" --
-Warning: strspn() expects parameter 4 to be long, array given in %s on line %d
+Warning: strspn() expects parameter 4 to be integer, array given in %s on line %d
NULL
-- Iteration with len value as "" --
@@ -160,27 +160,27 @@ int(0)
-- Iteration with len value as "" --
-Warning: strspn() expects parameter 4 to be long, string given in %s on line %d
+Warning: strspn() expects parameter 4 to be integer, string given in %s on line %d
NULL
-- Iteration with len value as "" --
-Warning: strspn() expects parameter 4 to be long, string given in %s on line %d
+Warning: strspn() expects parameter 4 to be integer, string given in %s on line %d
NULL
-- Iteration with len value as "string" --
-Warning: strspn() expects parameter 4 to be long, string given in %s on line %d
+Warning: strspn() expects parameter 4 to be integer, string given in %s on line %d
NULL
-- Iteration with len value as "string" --
-Warning: strspn() expects parameter 4 to be long, string given in %s on line %d
+Warning: strspn() expects parameter 4 to be integer, string given in %s on line %d
NULL
-- Iteration with len value as "object" --
-Warning: strspn() expects parameter 4 to be long, object given in %s on line %d
+Warning: strspn() expects parameter 4 to be integer, object given in %s on line %d
NULL
-- Iteration with len value as "" --
@@ -191,6 +191,6 @@ int(0)
-- Iteration with len value as "Resource id #%d" --
-Warning: strspn() expects parameter 4 to be long, resource given in %s on line %d
+Warning: strspn() expects parameter 4 to be integer, resource given in %s on line %d
NULL
Done \ No newline at end of file
diff --git a/ext/standard/tests/strings/substr_compare.phpt b/ext/standard/tests/strings/substr_compare.phpt
index 1896f3cacc..2012fe07eb 100644
--- a/ext/standard/tests/strings/substr_compare.phpt
+++ b/ext/standard/tests/strings/substr_compare.phpt
@@ -41,6 +41,6 @@ Warning: substr_compare(): The length must be greater than or equal to zero in %
bool(false)
int(0)
-Warning: substr_compare() expects parameter 4 to be long, string given in %s on line %d
+Warning: substr_compare() expects parameter 4 to be integer, string given in %s on line %d
bool(false)
Done
diff --git a/ext/standard/tests/strings/substr_count_error.phpt b/ext/standard/tests/strings/substr_count_error.phpt
index 6f7e7728b1..f6924217b9 100644
--- a/ext/standard/tests/strings/substr_count_error.phpt
+++ b/ext/standard/tests/strings/substr_count_error.phpt
@@ -55,7 +55,7 @@ bool(false)
Notice: Undefined variable: str in %s on line %d
-Warning: substr_count() expects parameter 3 to be long, string given in %s on line %d
+Warning: substr_count() expects parameter 3 to be integer, string given in %s on line %d
NULL
Notice: Undefined variable: str in %s on line %d
diff --git a/ext/standard/tests/strings/substr_count_variation_001.phpt b/ext/standard/tests/strings/substr_count_variation_001.phpt
index 6277d4ddb5..a9d538d17a 100644
--- a/ext/standard/tests/strings/substr_count_variation_001.phpt
+++ b/ext/standard/tests/strings/substr_count_variation_001.phpt
@@ -68,13 +68,13 @@ int(2)
-- 3rd or 4th arg as NULL --
-Warning: substr_count() expects parameter 3 to be long, string given %s on line %d
+Warning: substr_count() expects parameter 3 to be integer, string given %s on line %d
NULL
-Warning: substr_count() expects parameter 3 to be long, string given %s on line %d
+Warning: substr_count() expects parameter 3 to be integer, string given %s on line %d
NULL
-Warning: substr_count() expects parameter 3 to be long, string given %s on line %d
+Warning: substr_count() expects parameter 3 to be integer, string given %s on line %d
NULL
int(0)
int(2)
diff --git a/ext/standard/tests/strings/wordwrap_variation2.phpt b/ext/standard/tests/strings/wordwrap_variation2.phpt
index b914a2a815..5f51da81f8 100644
--- a/ext/standard/tests/strings/wordwrap_variation2.phpt
+++ b/ext/standard/tests/strings/wordwrap_variation2.phpt
@@ -128,68 +128,68 @@ string(39) "testing<br />\nwordwrap<br />\nfunction"
string(223) "<br />\nt<br />\ne<br />\ns<br />\nt<br />\ni<br />\nn<br />\ng<br />\n<br />\nw<br />\no<br />\nr<br />\nd<br />\nw<br />\nr<br />\na<br />\np<br />\n<br />\nf<br />\nu<br />\nn<br />\nc<br />\nt<br />\ni<br />\no<br />\nn"
-- Iteration 4 --
-Warning: wordwrap() expects parameter 2 to be long, array given in %s on line %d
+Warning: wordwrap() expects parameter 2 to be integer, array given in %s on line %d
NULL
-Warning: wordwrap() expects parameter 2 to be long, array given in %s on line %d
+Warning: wordwrap() expects parameter 2 to be integer, array given in %s on line %d
NULL
-Warning: wordwrap() expects parameter 2 to be long, array given in %s on line %d
+Warning: wordwrap() expects parameter 2 to be integer, array given in %s on line %d
NULL
-Warning: wordwrap() expects parameter 2 to be long, array given in %s on line %d
+Warning: wordwrap() expects parameter 2 to be integer, array given in %s on line %d
NULL
-- Iteration 5 --
-Warning: wordwrap() expects parameter 2 to be long, array given in %s on line %d
+Warning: wordwrap() expects parameter 2 to be integer, array given in %s on line %d
NULL
-Warning: wordwrap() expects parameter 2 to be long, array given in %s on line %d
+Warning: wordwrap() expects parameter 2 to be integer, array given in %s on line %d
NULL
-Warning: wordwrap() expects parameter 2 to be long, array given in %s on line %d
+Warning: wordwrap() expects parameter 2 to be integer, array given in %s on line %d
NULL
-Warning: wordwrap() expects parameter 2 to be long, array given in %s on line %d
+Warning: wordwrap() expects parameter 2 to be integer, array given in %s on line %d
NULL
-- Iteration 6 --
-Warning: wordwrap() expects parameter 2 to be long, array given in %s on line %d
+Warning: wordwrap() expects parameter 2 to be integer, array given in %s on line %d
NULL
-Warning: wordwrap() expects parameter 2 to be long, array given in %s on line %d
+Warning: wordwrap() expects parameter 2 to be integer, array given in %s on line %d
NULL
-Warning: wordwrap() expects parameter 2 to be long, array given in %s on line %d
+Warning: wordwrap() expects parameter 2 to be integer, array given in %s on line %d
NULL
-Warning: wordwrap() expects parameter 2 to be long, array given in %s on line %d
+Warning: wordwrap() expects parameter 2 to be integer, array given in %s on line %d
NULL
-- Iteration 7 --
-Warning: wordwrap() expects parameter 2 to be long, array given in %s on line %d
+Warning: wordwrap() expects parameter 2 to be integer, array given in %s on line %d
NULL
-Warning: wordwrap() expects parameter 2 to be long, array given in %s on line %d
+Warning: wordwrap() expects parameter 2 to be integer, array given in %s on line %d
NULL
-Warning: wordwrap() expects parameter 2 to be long, array given in %s on line %d
+Warning: wordwrap() expects parameter 2 to be integer, array given in %s on line %d
NULL
-Warning: wordwrap() expects parameter 2 to be long, array given in %s on line %d
+Warning: wordwrap() expects parameter 2 to be integer, array given in %s on line %d
NULL
-- Iteration 8 --
-Warning: wordwrap() expects parameter 2 to be long, array given in %s on line %d
+Warning: wordwrap() expects parameter 2 to be integer, array given in %s on line %d
NULL
-Warning: wordwrap() expects parameter 2 to be long, array given in %s on line %d
+Warning: wordwrap() expects parameter 2 to be integer, array given in %s on line %d
NULL
-Warning: wordwrap() expects parameter 2 to be long, array given in %s on line %d
+Warning: wordwrap() expects parameter 2 to be integer, array given in %s on line %d
NULL
-Warning: wordwrap() expects parameter 2 to be long, array given in %s on line %d
+Warning: wordwrap() expects parameter 2 to be integer, array given in %s on line %d
NULL
-- Iteration 9 --
string(25) "testing
@@ -225,42 +225,42 @@ Warning: wordwrap(): Can't force cut when width is zero in %s on line %d
bool(false)
-- Iteration 13 --
-Warning: wordwrap() expects parameter 2 to be long, string given in %s on line %d
+Warning: wordwrap() expects parameter 2 to be integer, string given in %s on line %d
NULL
-Warning: wordwrap() expects parameter 2 to be long, string given in %s on line %d
+Warning: wordwrap() expects parameter 2 to be integer, string given in %s on line %d
NULL
-Warning: wordwrap() expects parameter 2 to be long, string given in %s on line %d
+Warning: wordwrap() expects parameter 2 to be integer, string given in %s on line %d
NULL
-Warning: wordwrap() expects parameter 2 to be long, string given in %s on line %d
+Warning: wordwrap() expects parameter 2 to be integer, string given in %s on line %d
NULL
-- Iteration 14 --
-Warning: wordwrap() expects parameter 2 to be long, string given in %s on line %d
+Warning: wordwrap() expects parameter 2 to be integer, string given in %s on line %d
NULL
-Warning: wordwrap() expects parameter 2 to be long, string given in %s on line %d
+Warning: wordwrap() expects parameter 2 to be integer, string given in %s on line %d
NULL
-Warning: wordwrap() expects parameter 2 to be long, string given in %s on line %d
+Warning: wordwrap() expects parameter 2 to be integer, string given in %s on line %d
NULL
-Warning: wordwrap() expects parameter 2 to be long, string given in %s on line %d
+Warning: wordwrap() expects parameter 2 to be integer, string given in %s on line %d
NULL
-- Iteration 15 --
-Warning: wordwrap() expects parameter 2 to be long, object given in %s on line %d
+Warning: wordwrap() expects parameter 2 to be integer, object given in %s on line %d
NULL
-Warning: wordwrap() expects parameter 2 to be long, object given in %s on line %d
+Warning: wordwrap() expects parameter 2 to be integer, object given in %s on line %d
NULL
-Warning: wordwrap() expects parameter 2 to be long, object given in %s on line %d
+Warning: wordwrap() expects parameter 2 to be integer, object given in %s on line %d
NULL
-Warning: wordwrap() expects parameter 2 to be long, object given in %s on line %d
+Warning: wordwrap() expects parameter 2 to be integer, object given in %s on line %d
NULL
-- Iteration 16 --
string(25) "testing
@@ -282,42 +282,42 @@ Warning: wordwrap(): Can't force cut when width is zero in %s on line %d
bool(false)
-- Iteration 18 --
-Warning: wordwrap() expects parameter 2 to be long, string given in %s on line %d
+Warning: wordwrap() expects parameter 2 to be integer, string given in %s on line %d
NULL
-Warning: wordwrap() expects parameter 2 to be long, string given in %s on line %d
+Warning: wordwrap() expects parameter 2 to be integer, string given in %s on line %d
NULL
-Warning: wordwrap() expects parameter 2 to be long, string given in %s on line %d
+Warning: wordwrap() expects parameter 2 to be integer, string given in %s on line %d
NULL
-Warning: wordwrap() expects parameter 2 to be long, string given in %s on line %d
+Warning: wordwrap() expects parameter 2 to be integer, string given in %s on line %d
NULL
-- Iteration 19 --
-Warning: wordwrap() expects parameter 2 to be long, string given in %s on line %d
+Warning: wordwrap() expects parameter 2 to be integer, string given in %s on line %d
NULL
-Warning: wordwrap() expects parameter 2 to be long, string given in %s on line %d
+Warning: wordwrap() expects parameter 2 to be integer, string given in %s on line %d
NULL
-Warning: wordwrap() expects parameter 2 to be long, string given in %s on line %d
+Warning: wordwrap() expects parameter 2 to be integer, string given in %s on line %d
NULL
-Warning: wordwrap() expects parameter 2 to be long, string given in %s on line %d
+Warning: wordwrap() expects parameter 2 to be integer, string given in %s on line %d
NULL
-- Iteration 20 --
-Warning: wordwrap() expects parameter 2 to be long, resource given in %s on line %d
+Warning: wordwrap() expects parameter 2 to be integer, resource given in %s on line %d
NULL
-Warning: wordwrap() expects parameter 2 to be long, resource given in %s on line %d
+Warning: wordwrap() expects parameter 2 to be integer, resource given in %s on line %d
NULL
-Warning: wordwrap() expects parameter 2 to be long, resource given in %s on line %d
+Warning: wordwrap() expects parameter 2 to be integer, resource given in %s on line %d
NULL
-Warning: wordwrap() expects parameter 2 to be long, resource given in %s on line %d
+Warning: wordwrap() expects parameter 2 to be integer, resource given in %s on line %d
NULL
-- Iteration 21 --
string(25) "testing