summaryrefslogtreecommitdiff
path: root/ext/posix
diff options
context:
space:
mode:
authorGabriel Caruso <carusogabriel34@gmail.com>2018-02-04 11:33:49 -0200
committerNikita Popov <nikita.ppv@gmail.com>2018-02-04 19:08:23 +0100
commitce1d69a1f6dcf15d43029301059c25e5bc09a577 (patch)
tree3df785771b4bfa07a9e270b04750840ed47f1cbf /ext/posix
parent4861730a945908208a049b0c037ddf4a339f999a (diff)
downloadphp-git-ce1d69a1f6dcf15d43029301059c25e5bc09a577.tar.gz
Use int instead of integer in type errors
PHP requires integer typehints to be written "int" and does not allow "integer" as an alias. This changes type error messages to match the actual type name and avoids confusing messages like "must be of the type integer, integer given".
Diffstat (limited to 'ext/posix')
-rw-r--r--ext/posix/tests/posix_getgrgid_variation.phpt20
-rw-r--r--ext/posix/tests/posix_getpgid_variation.phpt20
-rw-r--r--ext/posix/tests/posix_getpwuid_variation.phpt20
-rw-r--r--ext/posix/tests/posix_getsid_error.phpt2
-rw-r--r--ext/posix/tests/posix_initgroups.phpt2
-rw-r--r--ext/posix/tests/posix_initgroups_basic.phpt2
-rw-r--r--ext/posix/tests/posix_kill_variation1.phpt20
-rw-r--r--ext/posix/tests/posix_kill_variation2.phpt20
-rw-r--r--ext/posix/tests/posix_seteuid_error2.phpt4
-rw-r--r--ext/posix/tests/posix_seteuid_variation1.phpt8
-rw-r--r--ext/posix/tests/posix_seteuid_variation3.phpt4
-rw-r--r--ext/posix/tests/posix_seteuid_variation4.phpt4
-rw-r--r--ext/posix/tests/posix_seteuid_variation6.phpt8
-rw-r--r--ext/posix/tests/posix_setgid_variation1.phpt8
-rw-r--r--ext/posix/tests/posix_setgid_variation3.phpt4
-rw-r--r--ext/posix/tests/posix_setgid_variation4.phpt4
-rw-r--r--ext/posix/tests/posix_setgid_variation6.phpt4
-rw-r--r--ext/posix/tests/posix_setgid_variation7.phpt8
-rw-r--r--ext/posix/tests/posix_setuid_error2.phpt4
-rw-r--r--ext/posix/tests/posix_setuid_variation1.phpt8
-rw-r--r--ext/posix/tests/posix_setuid_variation3.phpt4
-rw-r--r--ext/posix/tests/posix_setuid_variation4.phpt4
-rw-r--r--ext/posix/tests/posix_setuid_variation6.phpt8
-rw-r--r--ext/posix/tests/posix_strerror_variation1.phpt20
24 files changed, 105 insertions, 105 deletions
diff --git a/ext/posix/tests/posix_getgrgid_variation.phpt b/ext/posix/tests/posix_getgrgid_variation.phpt
index 7abd32b97f..235e080a6c 100644
--- a/ext/posix/tests/posix_getgrgid_variation.phpt
+++ b/ext/posix/tests/posix_getgrgid_variation.phpt
@@ -97,7 +97,7 @@ valid output
Arg value 101234567000
-Warning: posix_getgrgid() expects parameter 1 to be integer, float given in %s on line %d
+Warning: posix_getgrgid() expects parameter 1 to be int, float given in %s on line %d
valid output
Arg value 1.07654321E-9
@@ -110,35 +110,35 @@ Notice: Array to string conversion in %sposix_getgrgid_variation.php on line %d
Arg value Array
-Warning: posix_getgrgid() expects parameter 1 to be integer, array given in %s on line %d
+Warning: posix_getgrgid() expects parameter 1 to be int, array given in %s on line %d
valid output
Notice: Array to string conversion in %sposix_getgrgid_variation.php on line %d
Arg value Array
-Warning: posix_getgrgid() expects parameter 1 to be integer, array given in %s on line %d
+Warning: posix_getgrgid() expects parameter 1 to be int, array given in %s on line %d
valid output
Notice: Array to string conversion in %sposix_getgrgid_variation.php on line %d
Arg value Array
-Warning: posix_getgrgid() expects parameter 1 to be integer, array given in %s on line %d
+Warning: posix_getgrgid() expects parameter 1 to be int, array given in %s on line %d
valid output
Notice: Array to string conversion in %sposix_getgrgid_variation.php on line %d
Arg value Array
-Warning: posix_getgrgid() expects parameter 1 to be integer, array given in %s on line %d
+Warning: posix_getgrgid() expects parameter 1 to be int, array given in %s on line %d
valid output
Notice: Array to string conversion in %sposix_getgrgid_variation.php on line %d
Arg value Array
-Warning: posix_getgrgid() expects parameter 1 to be integer, array given in %s on line %d
+Warning: posix_getgrgid() expects parameter 1 to be int, array given in %s on line %d
valid output
Arg value
@@ -161,22 +161,22 @@ valid output
Arg value
-Warning: posix_getgrgid() expects parameter 1 to be integer, string given in %s on line %d
+Warning: posix_getgrgid() expects parameter 1 to be int, string given in %s on line %d
valid output
Arg value
-Warning: posix_getgrgid() expects parameter 1 to be integer, string given in %s on line %d
+Warning: posix_getgrgid() expects parameter 1 to be int, string given in %s on line %d
valid output
Arg value string
-Warning: posix_getgrgid() expects parameter 1 to be integer, string given in %s on line %d
+Warning: posix_getgrgid() expects parameter 1 to be int, string given in %s on line %d
valid output
Arg value string
-Warning: posix_getgrgid() expects parameter 1 to be integer, string given in %s on line %d
+Warning: posix_getgrgid() expects parameter 1 to be int, string given in %s on line %d
valid output
Arg value
diff --git a/ext/posix/tests/posix_getpgid_variation.phpt b/ext/posix/tests/posix_getpgid_variation.phpt
index 478164c210..bbf062d998 100644
--- a/ext/posix/tests/posix_getpgid_variation.phpt
+++ b/ext/posix/tests/posix_getpgid_variation.phpt
@@ -97,7 +97,7 @@ valid output
Arg value 101234567000
-Warning: posix_getpgid() expects parameter 1 to be integer, float given in %s on line %d
+Warning: posix_getpgid() expects parameter 1 to be int, float given in %s on line %d
valid output
Arg value 1.07654321E-9
@@ -110,35 +110,35 @@ Notice: Array to string conversion in %sposix_getpgid_variation.php on line %d
Arg value Array
-Warning: posix_getpgid() expects parameter 1 to be integer, array given in %s on line %d
+Warning: posix_getpgid() expects parameter 1 to be int, array given in %s on line %d
valid output
Notice: Array to string conversion in %sposix_getpgid_variation.php on line %d
Arg value Array
-Warning: posix_getpgid() expects parameter 1 to be integer, array given in %s on line %d
+Warning: posix_getpgid() expects parameter 1 to be int, array given in %s on line %d
valid output
Notice: Array to string conversion in %sposix_getpgid_variation.php on line %d
Arg value Array
-Warning: posix_getpgid() expects parameter 1 to be integer, array given in %s on line %d
+Warning: posix_getpgid() expects parameter 1 to be int, array given in %s on line %d
valid output
Notice: Array to string conversion in %sposix_getpgid_variation.php on line %d
Arg value Array
-Warning: posix_getpgid() expects parameter 1 to be integer, array given in %s on line %d
+Warning: posix_getpgid() expects parameter 1 to be int, array given in %s on line %d
valid output
Notice: Array to string conversion in %sposix_getpgid_variation.php on line %d
Arg value Array
-Warning: posix_getpgid() expects parameter 1 to be integer, array given in %s on line %d
+Warning: posix_getpgid() expects parameter 1 to be int, array given in %s on line %d
valid output
Arg value
@@ -161,22 +161,22 @@ valid output
Arg value
-Warning: posix_getpgid() expects parameter 1 to be integer, string given in %s on line %d
+Warning: posix_getpgid() expects parameter 1 to be int, string given in %s on line %d
valid output
Arg value
-Warning: posix_getpgid() expects parameter 1 to be integer, string given in %s on line %d
+Warning: posix_getpgid() expects parameter 1 to be int, string given in %s on line %d
valid output
Arg value string
-Warning: posix_getpgid() expects parameter 1 to be integer, string given in %s on line %d
+Warning: posix_getpgid() expects parameter 1 to be int, string given in %s on line %d
valid output
Arg value string
-Warning: posix_getpgid() expects parameter 1 to be integer, string given in %s on line %d
+Warning: posix_getpgid() expects parameter 1 to be int, string given in %s on line %d
valid output
Arg value
diff --git a/ext/posix/tests/posix_getpwuid_variation.phpt b/ext/posix/tests/posix_getpwuid_variation.phpt
index fa000f5b8a..9bcddea832 100644
--- a/ext/posix/tests/posix_getpwuid_variation.phpt
+++ b/ext/posix/tests/posix_getpwuid_variation.phpt
@@ -97,7 +97,7 @@ valid output
Arg value 101234567000
-Warning: posix_getpwuid() expects parameter 1 to be integer, float given in %s on line %d
+Warning: posix_getpwuid() expects parameter 1 to be int, float given in %s on line %d
valid output
Arg value 1.07654321E-9
@@ -110,35 +110,35 @@ Notice: Array to string conversion in %sposix_getpwuid_variation.php on line %d
Arg value Array
-Warning: posix_getpwuid() expects parameter 1 to be integer, array given in %s on line %d
+Warning: posix_getpwuid() expects parameter 1 to be int, array given in %s on line %d
valid output
Notice: Array to string conversion in %sposix_getpwuid_variation.php on line %d
Arg value Array
-Warning: posix_getpwuid() expects parameter 1 to be integer, array given in %s on line %d
+Warning: posix_getpwuid() expects parameter 1 to be int, array given in %s on line %d
valid output
Notice: Array to string conversion in %sposix_getpwuid_variation.php on line %d
Arg value Array
-Warning: posix_getpwuid() expects parameter 1 to be integer, array given in %s on line %d
+Warning: posix_getpwuid() expects parameter 1 to be int, array given in %s on line %d
valid output
Notice: Array to string conversion in %sposix_getpwuid_variation.php on line %d
Arg value Array
-Warning: posix_getpwuid() expects parameter 1 to be integer, array given in %s on line %d
+Warning: posix_getpwuid() expects parameter 1 to be int, array given in %s on line %d
valid output
Notice: Array to string conversion in %sposix_getpwuid_variation.php on line %d
Arg value Array
-Warning: posix_getpwuid() expects parameter 1 to be integer, array given in %s on line %d
+Warning: posix_getpwuid() expects parameter 1 to be int, array given in %s on line %d
valid output
Arg value
@@ -161,22 +161,22 @@ valid output
Arg value
-Warning: posix_getpwuid() expects parameter 1 to be integer, string given in %s on line %d
+Warning: posix_getpwuid() expects parameter 1 to be int, string given in %s on line %d
valid output
Arg value
-Warning: posix_getpwuid() expects parameter 1 to be integer, string given in %s on line %d
+Warning: posix_getpwuid() expects parameter 1 to be int, string given in %s on line %d
valid output
Arg value string
-Warning: posix_getpwuid() expects parameter 1 to be integer, string given in %s on line %d
+Warning: posix_getpwuid() expects parameter 1 to be int, string given in %s on line %d
valid output
Arg value string
-Warning: posix_getpwuid() expects parameter 1 to be integer, string given in %s on line %d
+Warning: posix_getpwuid() expects parameter 1 to be int, string given in %s on line %d
valid output
Arg value
diff --git a/ext/posix/tests/posix_getsid_error.phpt b/ext/posix/tests/posix_getsid_error.phpt
index 9d2a259624..cb9d384153 100644
--- a/ext/posix/tests/posix_getsid_error.phpt
+++ b/ext/posix/tests/posix_getsid_error.phpt
@@ -22,7 +22,7 @@ var_dump( posix_getsid(-1) );
Warning: posix_getsid() expects exactly 1 parameter, 0 given in %s on line %d
bool(false)
-Warning: posix_getsid() expects parameter 1 to be integer, array given in %s on line %d
+Warning: posix_getsid() expects parameter 1 to be int, array given in %s on line %d
bool(false)
bool(false)
===DONE===
diff --git a/ext/posix/tests/posix_initgroups.phpt b/ext/posix/tests/posix_initgroups.phpt
index e7db4a6794..2fdd808f1f 100644
--- a/ext/posix/tests/posix_initgroups.phpt
+++ b/ext/posix/tests/posix_initgroups.phpt
@@ -13,6 +13,6 @@ var_dump(posix_initgroups(NULL, NULL));
?>
--EXPECTF--
-Warning: posix_initgroups() expects parameter 2 to be integer, string given in %s on line %d
+Warning: posix_initgroups() expects parameter 2 to be int, string given in %s on line %d
bool(false)
bool(false)
diff --git a/ext/posix/tests/posix_initgroups_basic.phpt b/ext/posix/tests/posix_initgroups_basic.phpt
index afed610335..b97f1dc167 100644
--- a/ext/posix/tests/posix_initgroups_basic.phpt
+++ b/ext/posix/tests/posix_initgroups_basic.phpt
@@ -16,7 +16,7 @@ var_dump(posix_initgroups(NULL, NULL));
--EXPECTF--
Basic test of POSIX posix_initgroups function
-Warning: posix_initgroups() expects parameter 2 to be integer, string given in %s on line %d
+Warning: posix_initgroups() expects parameter 2 to be int, string given in %s on line %d
bool(false)
bool(false)
===DONE====
diff --git a/ext/posix/tests/posix_kill_variation1.phpt b/ext/posix/tests/posix_kill_variation1.phpt
index d26f11df03..1a3fa20d79 100644
--- a/ext/posix/tests/posix_kill_variation1.phpt
+++ b/ext/posix/tests/posix_kill_variation1.phpt
@@ -91,7 +91,7 @@ bool(false)
Arg value 101234567000
-Warning: posix_kill() expects parameter 1 to be integer, float given in %s on line %d
+Warning: posix_kill() expects parameter 1 to be int, float given in %s on line %d
bool(false)
Arg value 1.07654321E-9
@@ -104,35 +104,35 @@ Notice: Array to string conversion in %sposix_kill_variation1.php on line %d
Arg value Array
-Warning: posix_kill() expects parameter 1 to be integer, array given in %s on line %d
+Warning: posix_kill() expects parameter 1 to be int, array given in %s on line %d
bool(false)
Notice: Array to string conversion in %sposix_kill_variation1.php on line %d
Arg value Array
-Warning: posix_kill() expects parameter 1 to be integer, array given in %s on line %d
+Warning: posix_kill() expects parameter 1 to be int, array given in %s on line %d
bool(false)
Notice: Array to string conversion in %sposix_kill_variation1.php on line %d
Arg value Array
-Warning: posix_kill() expects parameter 1 to be integer, array given in %s on line %d
+Warning: posix_kill() expects parameter 1 to be int, array given in %s on line %d
bool(false)
Notice: Array to string conversion in %sposix_kill_variation1.php on line %d
Arg value Array
-Warning: posix_kill() expects parameter 1 to be integer, array given in %s on line %d
+Warning: posix_kill() expects parameter 1 to be int, array given in %s on line %d
bool(false)
Notice: Array to string conversion in %sposix_kill_variation1.php on line %d
Arg value Array
-Warning: posix_kill() expects parameter 1 to be integer, array given in %s on line %d
+Warning: posix_kill() expects parameter 1 to be int, array given in %s on line %d
bool(false)
Arg value
@@ -155,22 +155,22 @@ bool(false)
Arg value
-Warning: posix_kill() expects parameter 1 to be integer, string given in %s on line %d
+Warning: posix_kill() expects parameter 1 to be int, string given in %s on line %d
bool(false)
Arg value
-Warning: posix_kill() expects parameter 1 to be integer, string given in %s on line %d
+Warning: posix_kill() expects parameter 1 to be int, string given in %s on line %d
bool(false)
Arg value string
-Warning: posix_kill() expects parameter 1 to be integer, string given in %s on line %d
+Warning: posix_kill() expects parameter 1 to be int, string given in %s on line %d
bool(false)
Arg value string
-Warning: posix_kill() expects parameter 1 to be integer, string given in %s on line %d
+Warning: posix_kill() expects parameter 1 to be int, string given in %s on line %d
bool(false)
Arg value
diff --git a/ext/posix/tests/posix_kill_variation2.phpt b/ext/posix/tests/posix_kill_variation2.phpt
index 399151a7ed..d3fe6e78da 100644
--- a/ext/posix/tests/posix_kill_variation2.phpt
+++ b/ext/posix/tests/posix_kill_variation2.phpt
@@ -91,7 +91,7 @@ bool(false)
Arg value 101234567000
-Warning: posix_kill() expects parameter 2 to be integer, float given in %s on line %d
+Warning: posix_kill() expects parameter 2 to be int, float given in %s on line %d
bool(false)
Arg value 1.07654321E-9
@@ -104,35 +104,35 @@ Notice: Array to string conversion in %sposix_kill_variation2.php on line %d
Arg value Array
-Warning: posix_kill() expects parameter 2 to be integer, array given in %s on line %d
+Warning: posix_kill() expects parameter 2 to be int, array given in %s on line %d
bool(false)
Notice: Array to string conversion in %sposix_kill_variation2.php on line %d
Arg value Array
-Warning: posix_kill() expects parameter 2 to be integer, array given in %s on line %d
+Warning: posix_kill() expects parameter 2 to be int, array given in %s on line %d
bool(false)
Notice: Array to string conversion in %sposix_kill_variation2.php on line %d
Arg value Array
-Warning: posix_kill() expects parameter 2 to be integer, array given in %s on line %d
+Warning: posix_kill() expects parameter 2 to be int, array given in %s on line %d
bool(false)
Notice: Array to string conversion in %sposix_kill_variation2.php on line %d
Arg value Array
-Warning: posix_kill() expects parameter 2 to be integer, array given in %s on line %d
+Warning: posix_kill() expects parameter 2 to be int, array given in %s on line %d
bool(false)
Notice: Array to string conversion in %sposix_kill_variation2.php on line %d
Arg value Array
-Warning: posix_kill() expects parameter 2 to be integer, array given in %s on line %d
+Warning: posix_kill() expects parameter 2 to be int, array given in %s on line %d
bool(false)
Arg value
@@ -155,22 +155,22 @@ bool(false)
Arg value
-Warning: posix_kill() expects parameter 2 to be integer, string given in %s on line %d
+Warning: posix_kill() expects parameter 2 to be int, string given in %s on line %d
bool(false)
Arg value
-Warning: posix_kill() expects parameter 2 to be integer, string given in %s on line %d
+Warning: posix_kill() expects parameter 2 to be int, string given in %s on line %d
bool(false)
Arg value string
-Warning: posix_kill() expects parameter 2 to be integer, string given in %s on line %d
+Warning: posix_kill() expects parameter 2 to be int, string given in %s on line %d
bool(false)
Arg value string
-Warning: posix_kill() expects parameter 2 to be integer, string given in %s on line %d
+Warning: posix_kill() expects parameter 2 to be int, string given in %s on line %d
bool(false)
Arg value
diff --git a/ext/posix/tests/posix_seteuid_error2.phpt b/ext/posix/tests/posix_seteuid_error2.phpt
index cf724c13a5..1073d8c44a 100644
--- a/ext/posix/tests/posix_seteuid_error2.phpt
+++ b/ext/posix/tests/posix_seteuid_error2.phpt
@@ -49,7 +49,7 @@ foreach ( $variation_array as $var ) {
?>
--EXPECTF--
*** Test substituting argument 1 with object values ***
-Error: 2 - posix_seteuid() expects parameter 1 to be integer, object given, %s
+Error: 2 - posix_seteuid() expects parameter 1 to be int, object given, %s
bool(false)
-Error: 2 - posix_seteuid() expects parameter 1 to be integer, object given, %s
+Error: 2 - posix_seteuid() expects parameter 1 to be int, object given, %s
bool(false)
diff --git a/ext/posix/tests/posix_seteuid_variation1.phpt b/ext/posix/tests/posix_seteuid_variation1.phpt
index 44546c47bf..d205c9917c 100644
--- a/ext/posix/tests/posix_seteuid_variation1.phpt
+++ b/ext/posix/tests/posix_seteuid_variation1.phpt
@@ -28,14 +28,14 @@ foreach ( $variation_array as $var ) {
?>
--EXPECTF--
-Warning: posix_seteuid() expects parameter 1 to be integer, array given in %s on line 15
+Warning: posix_seteuid() expects parameter 1 to be int, array given in %s on line 15
bool(false)
-Warning: posix_seteuid() expects parameter 1 to be integer, array given in %s on line 15
+Warning: posix_seteuid() expects parameter 1 to be int, array given in %s on line 15
bool(false)
-Warning: posix_seteuid() expects parameter 1 to be integer, array given in %s on line 15
+Warning: posix_seteuid() expects parameter 1 to be int, array given in %s on line 15
bool(false)
-Warning: posix_seteuid() expects parameter 1 to be integer, array given in %s on line 15
+Warning: posix_seteuid() expects parameter 1 to be int, array given in %s on line 15
bool(false)
diff --git a/ext/posix/tests/posix_seteuid_variation3.phpt b/ext/posix/tests/posix_seteuid_variation3.phpt
index 413c6c21bd..1d89c8b913 100644
--- a/ext/posix/tests/posix_seteuid_variation3.phpt
+++ b/ext/posix/tests/posix_seteuid_variation3.phpt
@@ -39,10 +39,10 @@ foreach ( $variation_array as $var ) {
bool(false)
bool(false)
-Warning: posix_seteuid() expects parameter 1 to be integer, string given in %s on line 22
+Warning: posix_seteuid() expects parameter 1 to be int, string given in %s on line 22
bool(false)
-Warning: posix_seteuid() expects parameter 1 to be integer, string given in %s on line 22
+Warning: posix_seteuid() expects parameter 1 to be int, string given in %s on line 22
bool(false)
bool(false)
bool(false)
diff --git a/ext/posix/tests/posix_seteuid_variation4.phpt b/ext/posix/tests/posix_seteuid_variation4.phpt
index 7dc10f85c7..455c5e2533 100644
--- a/ext/posix/tests/posix_seteuid_variation4.phpt
+++ b/ext/posix/tests/posix_seteuid_variation4.phpt
@@ -38,9 +38,9 @@ foreach ( $variation_array as $var ) {
bool(false)
bool(false)
-Warning: posix_seteuid() expects parameter 1 to be integer, float given in %s on line %d
+Warning: posix_seteuid() expects parameter 1 to be int, float given in %s on line %d
bool(false)
-Warning: posix_seteuid() expects parameter 1 to be integer, float given in %s on line %d
+Warning: posix_seteuid() expects parameter 1 to be int, float given in %s on line %d
bool(false)
bool(false)
diff --git a/ext/posix/tests/posix_seteuid_variation6.phpt b/ext/posix/tests/posix_seteuid_variation6.phpt
index 10fd2a81b6..e514b7cd74 100644
--- a/ext/posix/tests/posix_seteuid_variation6.phpt
+++ b/ext/posix/tests/posix_seteuid_variation6.phpt
@@ -35,14 +35,14 @@ foreach ( $variation_array as $var ) {
--EXPECTF--
*** Test substituting argument 1 with string values ***
-Warning: posix_seteuid() expects parameter 1 to be integer, string given in %s on line 21
+Warning: posix_seteuid() expects parameter 1 to be int, string given in %s on line 21
bool(false)
-Warning: posix_seteuid() expects parameter 1 to be integer, string given in %s on line 21
+Warning: posix_seteuid() expects parameter 1 to be int, string given in %s on line 21
bool(false)
-Warning: posix_seteuid() expects parameter 1 to be integer, string given in %s on line 21
+Warning: posix_seteuid() expects parameter 1 to be int, string given in %s on line 21
bool(false)
-Warning: posix_seteuid() expects parameter 1 to be integer, string given in %s on line 21
+Warning: posix_seteuid() expects parameter 1 to be int, string given in %s on line 21
bool(false)
diff --git a/ext/posix/tests/posix_setgid_variation1.phpt b/ext/posix/tests/posix_setgid_variation1.phpt
index 64b83ec3cd..7aadaf3657 100644
--- a/ext/posix/tests/posix_setgid_variation1.phpt
+++ b/ext/posix/tests/posix_setgid_variation1.phpt
@@ -33,15 +33,15 @@ foreach ( $variation_array as $var ) {
--EXPECTF--
*** Test substituting argument 1 with array values ***
-Warning: posix_setgid() expects parameter 1 to be integer, array given in %s on line %d
+Warning: posix_setgid() expects parameter 1 to be int, array given in %s on line %d
bool(false)
-Warning: posix_setgid() expects parameter 1 to be integer, array given in %s on line %d
+Warning: posix_setgid() expects parameter 1 to be int, array given in %s on line %d
bool(false)
-Warning: posix_setgid() expects parameter 1 to be integer, array given in %s on line %d
+Warning: posix_setgid() expects parameter 1 to be int, array given in %s on line %d
bool(false)
-Warning: posix_setgid() expects parameter 1 to be integer, array given in %s on line %d
+Warning: posix_setgid() expects parameter 1 to be int, array given in %s on line %d
bool(false)
===DONE===
diff --git a/ext/posix/tests/posix_setgid_variation3.phpt b/ext/posix/tests/posix_setgid_variation3.phpt
index 4ae575f699..92580c9373 100644
--- a/ext/posix/tests/posix_setgid_variation3.phpt
+++ b/ext/posix/tests/posix_setgid_variation3.phpt
@@ -39,10 +39,10 @@ foreach ( $variation_array as $var ) {
bool(false)
bool(false)
-Warning: posix_setgid() expects parameter 1 to be integer, string given in %s on line %d
+Warning: posix_setgid() expects parameter 1 to be int, string given in %s on line %d
bool(false)
-Warning: posix_setgid() expects parameter 1 to be integer, string given in %s on line %d
+Warning: posix_setgid() expects parameter 1 to be int, string given in %s on line %d
bool(false)
bool(false)
bool(false)
diff --git a/ext/posix/tests/posix_setgid_variation4.phpt b/ext/posix/tests/posix_setgid_variation4.phpt
index 15d3cf56d8..4292c0dfc5 100644
--- a/ext/posix/tests/posix_setgid_variation4.phpt
+++ b/ext/posix/tests/posix_setgid_variation4.phpt
@@ -37,10 +37,10 @@ foreach ( $variation_array as $var ) {
bool(false)
bool(false)
-Warning: posix_setgid() expects parameter 1 to be integer, float given in %s on line %d
+Warning: posix_setgid() expects parameter 1 to be int, float given in %s on line %d
bool(false)
-Warning: posix_setgid() expects parameter 1 to be integer, float given in %s on line %d
+Warning: posix_setgid() expects parameter 1 to be int, float given in %s on line %d
bool(false)
bool(false)
===DONE===
diff --git a/ext/posix/tests/posix_setgid_variation6.phpt b/ext/posix/tests/posix_setgid_variation6.phpt
index a711d05c9a..abee8ed222 100644
--- a/ext/posix/tests/posix_setgid_variation6.phpt
+++ b/ext/posix/tests/posix_setgid_variation6.phpt
@@ -50,9 +50,9 @@ foreach ( $variation_array as $var ) {
===DONE===
--EXPECTF--
*** Test substituting argument 1 with object values ***
-Error: 2 - posix_setgid() expects parameter 1 to be integer, object given, %s
+Error: 2 - posix_setgid() expects parameter 1 to be int, object given, %s
bool(false)
-Error: 2 - posix_setgid() expects parameter 1 to be integer, object given, %s
+Error: 2 - posix_setgid() expects parameter 1 to be int, object given, %s
bool(false)
===DONE===
\ No newline at end of file
diff --git a/ext/posix/tests/posix_setgid_variation7.phpt b/ext/posix/tests/posix_setgid_variation7.phpt
index 3dc691fbb7..0c4ef502f4 100644
--- a/ext/posix/tests/posix_setgid_variation7.phpt
+++ b/ext/posix/tests/posix_setgid_variation7.phpt
@@ -35,14 +35,14 @@ foreach ( $variation_array as $var ) {
--EXPECTF--
*** Test substituting argument 1 with string values ***
-Warning: posix_setgid() expects parameter 1 to be integer, string given in %s on line %d
+Warning: posix_setgid() expects parameter 1 to be int, string given in %s on line %d
bool(false)
-Warning: posix_setgid() expects parameter 1 to be integer, string given in %s on line %d
+Warning: posix_setgid() expects parameter 1 to be int, string given in %s on line %d
bool(false)
-Warning: posix_setgid() expects parameter 1 to be integer, string given in %s on line %d
+Warning: posix_setgid() expects parameter 1 to be int, string given in %s on line %d
bool(false)
-Warning: posix_setgid() expects parameter 1 to be integer, string given in %s on line %d
+Warning: posix_setgid() expects parameter 1 to be int, string given in %s on line %d
bool(false)
diff --git a/ext/posix/tests/posix_setuid_error2.phpt b/ext/posix/tests/posix_setuid_error2.phpt
index 5473f48897..577b9d3102 100644
--- a/ext/posix/tests/posix_setuid_error2.phpt
+++ b/ext/posix/tests/posix_setuid_error2.phpt
@@ -49,7 +49,7 @@ foreach ( $variation_array as $var ) {
?>
--EXPECTF--
*** Test substituting argument 1 with object values ***
-Error: 2 - posix_setuid() expects parameter 1 to be integer, object given, %s
+Error: 2 - posix_setuid() expects parameter 1 to be int, object given, %s
bool(false)
-Error: 2 - posix_setuid() expects parameter 1 to be integer, object given, %s
+Error: 2 - posix_setuid() expects parameter 1 to be int, object given, %s
bool(false)
diff --git a/ext/posix/tests/posix_setuid_variation1.phpt b/ext/posix/tests/posix_setuid_variation1.phpt
index 6748d7b9e8..44e02e0a27 100644
--- a/ext/posix/tests/posix_setuid_variation1.phpt
+++ b/ext/posix/tests/posix_setuid_variation1.phpt
@@ -28,14 +28,14 @@ foreach ( $variation_array as $var ) {
?>
--EXPECTF--
-Warning: posix_setuid() expects parameter 1 to be integer, array given in %s on line 15
+Warning: posix_setuid() expects parameter 1 to be int, array given in %s on line 15
bool(false)
-Warning: posix_setuid() expects parameter 1 to be integer, array given in %s on line 15
+Warning: posix_setuid() expects parameter 1 to be int, array given in %s on line 15
bool(false)
-Warning: posix_setuid() expects parameter 1 to be integer, array given in %s on line 15
+Warning: posix_setuid() expects parameter 1 to be int, array given in %s on line 15
bool(false)
-Warning: posix_setuid() expects parameter 1 to be integer, array given in %s on line 15
+Warning: posix_setuid() expects parameter 1 to be int, array given in %s on line 15
bool(false)
diff --git a/ext/posix/tests/posix_setuid_variation3.phpt b/ext/posix/tests/posix_setuid_variation3.phpt
index 0042b72ee3..f562002485 100644
--- a/ext/posix/tests/posix_setuid_variation3.phpt
+++ b/ext/posix/tests/posix_setuid_variation3.phpt
@@ -39,10 +39,10 @@ foreach ( $variation_array as $var ) {
bool(false)
bool(false)
-Warning: posix_setuid() expects parameter 1 to be integer, string given in %s on line 22
+Warning: posix_setuid() expects parameter 1 to be int, string given in %s on line 22
bool(false)
-Warning: posix_setuid() expects parameter 1 to be integer, string given in %s on line 22
+Warning: posix_setuid() expects parameter 1 to be int, string given in %s on line 22
bool(false)
bool(false)
bool(false)
diff --git a/ext/posix/tests/posix_setuid_variation4.phpt b/ext/posix/tests/posix_setuid_variation4.phpt
index 185ef8f53c..419f675bf5 100644
--- a/ext/posix/tests/posix_setuid_variation4.phpt
+++ b/ext/posix/tests/posix_setuid_variation4.phpt
@@ -38,9 +38,9 @@ foreach ( $variation_array as $var ) {
bool(false)
bool(false)
-Warning: posix_setuid() expects parameter 1 to be integer, float given in %s on line %d
+Warning: posix_setuid() expects parameter 1 to be int, float given in %s on line %d
bool(false)
-Warning: posix_setuid() expects parameter 1 to be integer, float given in %s on line %d
+Warning: posix_setuid() expects parameter 1 to be int, float given in %s on line %d
bool(false)
bool(false)
diff --git a/ext/posix/tests/posix_setuid_variation6.phpt b/ext/posix/tests/posix_setuid_variation6.phpt
index 0536b8d199..e902b07ddc 100644
--- a/ext/posix/tests/posix_setuid_variation6.phpt
+++ b/ext/posix/tests/posix_setuid_variation6.phpt
@@ -35,14 +35,14 @@ foreach ( $variation_array as $var ) {
--EXPECTF--
*** Test substituting argument 1 with string values ***
-Warning: posix_setuid() expects parameter 1 to be integer, string given in %s on line 21
+Warning: posix_setuid() expects parameter 1 to be int, string given in %s on line 21
bool(false)
-Warning: posix_setuid() expects parameter 1 to be integer, string given in %s on line 21
+Warning: posix_setuid() expects parameter 1 to be int, string given in %s on line 21
bool(false)
-Warning: posix_setuid() expects parameter 1 to be integer, string given in %s on line 21
+Warning: posix_setuid() expects parameter 1 to be int, string given in %s on line 21
bool(false)
-Warning: posix_setuid() expects parameter 1 to be integer, string given in %s on line 21
+Warning: posix_setuid() expects parameter 1 to be int, string given in %s on line 21
bool(false)
diff --git a/ext/posix/tests/posix_strerror_variation1.phpt b/ext/posix/tests/posix_strerror_variation1.phpt
index 40fff34be8..43ef566893 100644
--- a/ext/posix/tests/posix_strerror_variation1.phpt
+++ b/ext/posix/tests/posix_strerror_variation1.phpt
@@ -90,7 +90,7 @@ string
Arg value 101234567000
-Warning: posix_strerror() expects parameter 1 to be integer, float given in %s on line %d
+Warning: posix_strerror() expects parameter 1 to be int, float given in %s on line %d
boolean
Arg value 1.07654321E-9
@@ -103,35 +103,35 @@ Notice: Array to string conversion in %sposix_strerror_variation1.php on line %d
Arg value Array
-Warning: posix_strerror() expects parameter 1 to be integer, array given in %s on line %d
+Warning: posix_strerror() expects parameter 1 to be int, array given in %s on line %d
boolean
Notice: Array to string conversion in %sposix_strerror_variation1.php on line %d
Arg value Array
-Warning: posix_strerror() expects parameter 1 to be integer, array given in %s on line %d
+Warning: posix_strerror() expects parameter 1 to be int, array given in %s on line %d
boolean
Notice: Array to string conversion in %sposix_strerror_variation1.php on line %d
Arg value Array
-Warning: posix_strerror() expects parameter 1 to be integer, array given in %s on line %d
+Warning: posix_strerror() expects parameter 1 to be int, array given in %s on line %d
boolean
Notice: Array to string conversion in %sposix_strerror_variation1.php on line %d
Arg value Array
-Warning: posix_strerror() expects parameter 1 to be integer, array given in %s on line %d
+Warning: posix_strerror() expects parameter 1 to be int, array given in %s on line %d
boolean
Notice: Array to string conversion in %sposix_strerror_variation1.php on line %d
Arg value Array
-Warning: posix_strerror() expects parameter 1 to be integer, array given in %s on line %d
+Warning: posix_strerror() expects parameter 1 to be int, array given in %s on line %d
boolean
Arg value
@@ -154,22 +154,22 @@ string
Arg value
-Warning: posix_strerror() expects parameter 1 to be integer, string given in %s on line %d
+Warning: posix_strerror() expects parameter 1 to be int, string given in %s on line %d
boolean
Arg value
-Warning: posix_strerror() expects parameter 1 to be integer, string given in %s on line %d
+Warning: posix_strerror() expects parameter 1 to be int, string given in %s on line %d
boolean
Arg value string
-Warning: posix_strerror() expects parameter 1 to be integer, string given in %s on line %d
+Warning: posix_strerror() expects parameter 1 to be int, string given in %s on line %d
boolean
Arg value string
-Warning: posix_strerror() expects parameter 1 to be integer, string given in %s on line %d
+Warning: posix_strerror() expects parameter 1 to be int, string given in %s on line %d
boolean
Arg value