summaryrefslogtreecommitdiff
path: root/ext/imap
diff options
context:
space:
mode:
Diffstat (limited to 'ext/imap')
-rw-r--r--ext/imap/tests/imap_close_variation1.phpt10
-rw-r--r--ext/imap/tests/imap_close_variation2.phpt6
-rw-r--r--ext/imap/tests/imap_fetch_overview_variation1.phpt10
-rw-r--r--ext/imap/tests/imap_fetchbody_variation1.phpt10
-rw-r--r--ext/imap/tests/imap_fetchbody_variation2.phpt14
-rw-r--r--ext/imap/tests/imap_fetchheader_variation1.phpt10
-rw-r--r--ext/imap/tests/imap_fetchheader_variation2.phpt22
-rw-r--r--ext/imap/tests/imap_timeout_basic.phpt2
8 files changed, 42 insertions, 42 deletions
diff --git a/ext/imap/tests/imap_close_variation1.phpt b/ext/imap/tests/imap_close_variation1.phpt
index 320390527e..6867ad897a 100644
--- a/ext/imap/tests/imap_close_variation1.phpt
+++ b/ext/imap/tests/imap_close_variation1.phpt
@@ -114,27 +114,27 @@ NULL
-- Iteration 5 --
-Warning: imap_close() expects parameter 1 to be resource, double given in %simap_close_variation1.php on line 80
+Warning: imap_close() expects parameter 1 to be resource, float given in %simap_close_variation1.php on line 80
NULL
-- Iteration 6 --
-Warning: imap_close() expects parameter 1 to be resource, double given in %simap_close_variation1.php on line 80
+Warning: imap_close() expects parameter 1 to be resource, float given in %simap_close_variation1.php on line 80
NULL
-- Iteration 7 --
-Warning: imap_close() expects parameter 1 to be resource, double given in %simap_close_variation1.php on line 80
+Warning: imap_close() expects parameter 1 to be resource, float given in %simap_close_variation1.php on line 80
NULL
-- Iteration 8 --
-Warning: imap_close() expects parameter 1 to be resource, double given in %simap_close_variation1.php on line 80
+Warning: imap_close() expects parameter 1 to be resource, float given in %simap_close_variation1.php on line 80
NULL
-- Iteration 9 --
-Warning: imap_close() expects parameter 1 to be resource, double given in %simap_close_variation1.php on line 80
+Warning: imap_close() expects parameter 1 to be resource, float given in %simap_close_variation1.php on line 80
NULL
-- Iteration 10 --
diff --git a/ext/imap/tests/imap_close_variation2.phpt b/ext/imap/tests/imap_close_variation2.phpt
index feadfed5f9..97c298b7bd 100644
--- a/ext/imap/tests/imap_close_variation2.phpt
+++ b/ext/imap/tests/imap_close_variation2.phpt
@@ -189,19 +189,19 @@ CL_EXPUNGE was not set, 3 msgs in mailbox
-- Iteration 16 --
-Warning: imap_close() expects parameter 2 to be long, %unicode_string_optional% given in %s on line %d
+Warning: imap_close() expects parameter 2 to be integer, %unicode_string_optional% given in %s on line %d
NULL
CL_EXPUNGE was not set, 3 msgs in mailbox
-- Iteration 17 --
-Warning: imap_close() expects parameter 2 to be long, %unicode_string_optional% given in %s on line %d
+Warning: imap_close() expects parameter 2 to be integer, %unicode_string_optional% given in %s on line %d
NULL
CL_EXPUNGE was not set, 3 msgs in mailbox
-- Iteration 18 --
-Warning: imap_close() expects parameter 2 to be long, array given in %s on line %d
+Warning: imap_close() expects parameter 2 to be integer, array given in %s on line %d
NULL
CL_EXPUNGE was not set, 3 msgs in mailbox
diff --git a/ext/imap/tests/imap_fetch_overview_variation1.phpt b/ext/imap/tests/imap_fetch_overview_variation1.phpt
index 150c555617..6c7df6e762 100644
--- a/ext/imap/tests/imap_fetch_overview_variation1.phpt
+++ b/ext/imap/tests/imap_fetch_overview_variation1.phpt
@@ -119,27 +119,27 @@ NULL
-- Testing with first argument value: float(10.5)
-Warning: imap_fetch_overview() expects parameter 1 to be resource, double given in %s on line %d
+Warning: imap_fetch_overview() expects parameter 1 to be resource, float given in %s on line %d
NULL
-- Testing with first argument value: float(-10.5)
-Warning: imap_fetch_overview() expects parameter 1 to be resource, double given in %s on line %d
+Warning: imap_fetch_overview() expects parameter 1 to be resource, float given in %s on line %d
NULL
-- Testing with first argument value: float(123456789000)
-Warning: imap_fetch_overview() expects parameter 1 to be resource, double given in %s on line %d
+Warning: imap_fetch_overview() expects parameter 1 to be resource, float given in %s on line %d
NULL
-- Testing with first argument value: float(1.23456789E-9)
-Warning: imap_fetch_overview() expects parameter 1 to be resource, double given in %s on line %d
+Warning: imap_fetch_overview() expects parameter 1 to be resource, float given in %s on line %d
NULL
-- Testing with first argument value: float(0.5)
-Warning: imap_fetch_overview() expects parameter 1 to be resource, double given in %s on line %d
+Warning: imap_fetch_overview() expects parameter 1 to be resource, float given in %s on line %d
NULL
-- Testing with first argument value: NULL
diff --git a/ext/imap/tests/imap_fetchbody_variation1.phpt b/ext/imap/tests/imap_fetchbody_variation1.phpt
index 5f587df4a6..f566f9bf86 100644
--- a/ext/imap/tests/imap_fetchbody_variation1.phpt
+++ b/ext/imap/tests/imap_fetchbody_variation1.phpt
@@ -119,27 +119,27 @@ NULL
-- Iteration 5 --
-Warning: imap_fetchbody() expects parameter 1 to be resource, double given in %s on line 85
+Warning: imap_fetchbody() expects parameter 1 to be resource, float given in %s on line 85
NULL
-- Iteration 6 --
-Warning: imap_fetchbody() expects parameter 1 to be resource, double given in %s on line 85
+Warning: imap_fetchbody() expects parameter 1 to be resource, float given in %s on line 85
NULL
-- Iteration 7 --
-Warning: imap_fetchbody() expects parameter 1 to be resource, double given in %s on line 85
+Warning: imap_fetchbody() expects parameter 1 to be resource, float given in %s on line 85
NULL
-- Iteration 8 --
-Warning: imap_fetchbody() expects parameter 1 to be resource, double given in %s on line 85
+Warning: imap_fetchbody() expects parameter 1 to be resource, float given in %s on line 85
NULL
-- Iteration 9 --
-Warning: imap_fetchbody() expects parameter 1 to be resource, double given in %s on line 85
+Warning: imap_fetchbody() expects parameter 1 to be resource, float given in %s on line 85
NULL
-- Iteration 10 --
diff --git a/ext/imap/tests/imap_fetchbody_variation2.phpt b/ext/imap/tests/imap_fetchbody_variation2.phpt
index 64b7a3284f..bc76c5d2ab 100644
--- a/ext/imap/tests/imap_fetchbody_variation2.phpt
+++ b/ext/imap/tests/imap_fetchbody_variation2.phpt
@@ -176,37 +176,37 @@ bool(false)
-- Iteration 16 --
-Warning: imap_fetchbody() expects parameter 2 to be long, %unicode_string_optional% given in %s on line %d
+Warning: imap_fetchbody() expects parameter 2 to be integer, %unicode_string_optional% given in %s on line %d
NULL
-- Iteration 17 --
-Warning: imap_fetchbody() expects parameter 2 to be long, %unicode_string_optional% given in %s on line %d
+Warning: imap_fetchbody() expects parameter 2 to be integer, %unicode_string_optional% given in %s on line %d
NULL
-- Iteration 18 --
-Warning: imap_fetchbody() expects parameter 2 to be long, array given in %s on line %d
+Warning: imap_fetchbody() expects parameter 2 to be integer, array given in %s on line %d
NULL
-- Iteration 19 --
-Warning: imap_fetchbody() expects parameter 2 to be long, %unicode_string_optional% given in %s on line %d
+Warning: imap_fetchbody() expects parameter 2 to be integer, %unicode_string_optional% given in %s on line %d
NULL
-- Iteration 20 --
-Warning: imap_fetchbody() expects parameter 2 to be long, %unicode_string_optional% given in %s on line %d
+Warning: imap_fetchbody() expects parameter 2 to be integer, %unicode_string_optional% given in %s on line %d
NULL
-- Iteration 21 --
-Warning: imap_fetchbody() expects parameter 2 to be long, %unicode_string_optional% given in %s on line %d
+Warning: imap_fetchbody() expects parameter 2 to be integer, %unicode_string_optional% given in %s on line %d
NULL
-- Iteration 22 --
-Warning: imap_fetchbody() expects parameter 2 to be long, object given in %s on line %d
+Warning: imap_fetchbody() expects parameter 2 to be integer, object given in %s on line %d
NULL
-- Iteration 23 --
diff --git a/ext/imap/tests/imap_fetchheader_variation1.phpt b/ext/imap/tests/imap_fetchheader_variation1.phpt
index 0c0e9e1f26..aabdc2ef10 100644
--- a/ext/imap/tests/imap_fetchheader_variation1.phpt
+++ b/ext/imap/tests/imap_fetchheader_variation1.phpt
@@ -130,27 +130,27 @@ NULL
-- Iteration 5 --
-Warning: imap_fetchheader() expects parameter 1 to be resource, double given in %s on line %d
+Warning: imap_fetchheader() expects parameter 1 to be resource, float given in %s on line %d
NULL
-- Iteration 6 --
-Warning: imap_fetchheader() expects parameter 1 to be resource, double given in %s on line %d
+Warning: imap_fetchheader() expects parameter 1 to be resource, float given in %s on line %d
NULL
-- Iteration 7 --
-Warning: imap_fetchheader() expects parameter 1 to be resource, double given in %s on line %d
+Warning: imap_fetchheader() expects parameter 1 to be resource, float given in %s on line %d
NULL
-- Iteration 8 --
-Warning: imap_fetchheader() expects parameter 1 to be resource, double given in %s on line %d
+Warning: imap_fetchheader() expects parameter 1 to be resource, float given in %s on line %d
NULL
-- Iteration 9 --
-Warning: imap_fetchheader() expects parameter 1 to be resource, double given in %s on line %d
+Warning: imap_fetchheader() expects parameter 1 to be resource, float given in %s on line %d
NULL
-- Iteration 10 --
diff --git a/ext/imap/tests/imap_fetchheader_variation2.phpt b/ext/imap/tests/imap_fetchheader_variation2.phpt
index fe115779f4..7e7a3fc979 100644
--- a/ext/imap/tests/imap_fetchheader_variation2.phpt
+++ b/ext/imap/tests/imap_fetchheader_variation2.phpt
@@ -209,52 +209,52 @@ bool(false)
-- Iteration 16 --
-Warning: imap_fetchheader() expects parameter 2 to be long, %unicode_string_optional% given in %s on line %d
+Warning: imap_fetchheader() expects parameter 2 to be integer, %unicode_string_optional% given in %s on line %d
NULL
-- Iteration 17 --
-Warning: imap_fetchheader() expects parameter 2 to be long, %unicode_string_optional% given in %s on line %d
+Warning: imap_fetchheader() expects parameter 2 to be integer, %unicode_string_optional% given in %s on line %d
NULL
-- Iteration 18 --
-Warning: imap_fetchheader() expects parameter 2 to be long, %unicode_string_optional% given in %s on line %d
+Warning: imap_fetchheader() expects parameter 2 to be integer, %unicode_string_optional% given in %s on line %d
NULL
-- Iteration 19 --
-Warning: imap_fetchheader() expects parameter 2 to be long, %unicode_string_optional% given in %s on line %d
+Warning: imap_fetchheader() expects parameter 2 to be integer, %unicode_string_optional% given in %s on line %d
NULL
-- Iteration 20 --
-Warning: imap_fetchheader() expects parameter 2 to be long, %unicode_string_optional% given in %s on line %d
+Warning: imap_fetchheader() expects parameter 2 to be integer, %unicode_string_optional% given in %s on line %d
NULL
-- Iteration 21 --
-Warning: imap_fetchheader() expects parameter 2 to be long, array given in %s on line %d
+Warning: imap_fetchheader() expects parameter 2 to be integer, array given in %s on line %d
NULL
-- Iteration 22 --
-Warning: imap_fetchheader() expects parameter 2 to be long, array given in %s on line %d
+Warning: imap_fetchheader() expects parameter 2 to be integer, array given in %s on line %d
NULL
-- Iteration 23 --
-Warning: imap_fetchheader() expects parameter 2 to be long, array given in %s on line %d
+Warning: imap_fetchheader() expects parameter 2 to be integer, array given in %s on line %d
NULL
-- Iteration 24 --
-Warning: imap_fetchheader() expects parameter 2 to be long, array given in %s on line %d
+Warning: imap_fetchheader() expects parameter 2 to be integer, array given in %s on line %d
NULL
-- Iteration 25 --
-Warning: imap_fetchheader() expects parameter 2 to be long, object given in %s on line %d
+Warning: imap_fetchheader() expects parameter 2 to be integer, object given in %s on line %d
NULL
-- Iteration 26 --
@@ -269,6 +269,6 @@ bool(false)
-- Iteration 28 --
-Warning: imap_fetchheader() expects parameter 2 to be long, resource given in %s on line %d
+Warning: imap_fetchheader() expects parameter 2 to be integer, resource given in %s on line %d
NULL
===DONE===
diff --git a/ext/imap/tests/imap_timeout_basic.phpt b/ext/imap/tests/imap_timeout_basic.phpt
index c2727e56b7..9e616df60e 100644
--- a/ext/imap/tests/imap_timeout_basic.phpt
+++ b/ext/imap/tests/imap_timeout_basic.phpt
@@ -44,7 +44,7 @@ Checking with no parameters
Warning: imap_timeout() expects at least 1 parameter, 0 given in %s on line %d
Checking with incorrect parameter type
-Warning: imap_timeout() expects parameter 1 to be long, %s given in %s on line %d
+Warning: imap_timeout() expects parameter 1 to be integer, %s given in %s on line %d
GET values:
int(%d)
int(%d)