diff options
author | Stanislav Malyshev <stas@php.net> | 2011-10-21 06:08:47 +0000 |
---|---|---|
committer | Stanislav Malyshev <stas@php.net> | 2011-10-21 06:08:47 +0000 |
commit | d81ea16ef14735b97f22702ca1a78c3674fd987e (patch) | |
tree | 520d4dd5ffdb6b59aee7cc19b10839ad6def922b /ext/posix/tests | |
parent | 2cf34bc9fc30f6094f8291314bfd25f74511ceff (diff) | |
download | php-git-d81ea16ef14735b97f22702ca1a78c3674fd987e.tar.gz |
Changed silent conversion of array to string to produce a notice. (Patrick)
Diffstat (limited to 'ext/posix/tests')
-rw-r--r-- | ext/posix/tests/posix_getgrgid_variation.phpt | 10 | ||||
-rw-r--r-- | ext/posix/tests/posix_getpgid_variation.phpt | 10 | ||||
-rw-r--r-- | ext/posix/tests/posix_getpwuid_variation.phpt | 10 | ||||
-rw-r--r-- | ext/posix/tests/posix_kill_variation1.phpt | 10 | ||||
-rw-r--r-- | ext/posix/tests/posix_kill_variation2.phpt | 10 | ||||
-rw-r--r-- | ext/posix/tests/posix_strerror_variation1.phpt | 10 |
6 files changed, 60 insertions, 0 deletions
diff --git a/ext/posix/tests/posix_getgrgid_variation.phpt b/ext/posix/tests/posix_getgrgid_variation.phpt index 13db73b791..5cce391d7b 100644 --- a/ext/posix/tests/posix_getgrgid_variation.phpt +++ b/ext/posix/tests/posix_getgrgid_variation.phpt @@ -103,26 +103,36 @@ valid output Arg value 0.5 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 long, 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 long, 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 long, 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 long, 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 long, array given in %s on line %d diff --git a/ext/posix/tests/posix_getpgid_variation.phpt b/ext/posix/tests/posix_getpgid_variation.phpt index e53d58f393..b9c92b539a 100644 --- a/ext/posix/tests/posix_getpgid_variation.phpt +++ b/ext/posix/tests/posix_getpgid_variation.phpt @@ -103,26 +103,36 @@ valid output Arg value 0.5 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 long, 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 long, 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 long, 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 long, 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 long, array given in %s on line %d diff --git a/ext/posix/tests/posix_getpwuid_variation.phpt b/ext/posix/tests/posix_getpwuid_variation.phpt index 8e91d6c315..8b66f7f3d5 100644 --- a/ext/posix/tests/posix_getpwuid_variation.phpt +++ b/ext/posix/tests/posix_getpwuid_variation.phpt @@ -103,26 +103,36 @@ valid output Arg value 0.5 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 long, 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 long, 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 long, 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 long, 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 long, array given in %s on line %d diff --git a/ext/posix/tests/posix_kill_variation1.phpt b/ext/posix/tests/posix_kill_variation1.phpt index 6fcf0fa98f..230977a9d0 100644 --- a/ext/posix/tests/posix_kill_variation1.phpt +++ b/ext/posix/tests/posix_kill_variation1.phpt @@ -97,26 +97,36 @@ bool(false) Arg value 0.5 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 long, 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 long, 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 long, 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 long, 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 long, array given in %s on line %d diff --git a/ext/posix/tests/posix_kill_variation2.phpt b/ext/posix/tests/posix_kill_variation2.phpt index 240cfa57c1..c03ead9a4b 100644 --- a/ext/posix/tests/posix_kill_variation2.phpt +++ b/ext/posix/tests/posix_kill_variation2.phpt @@ -97,26 +97,36 @@ bool(false) Arg value 0.5 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 long, 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 long, 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 long, 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 long, 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 long, array given in %s on line %d diff --git a/ext/posix/tests/posix_strerror_variation1.phpt b/ext/posix/tests/posix_strerror_variation1.phpt index 5d6e354532..4d2b526716 100644 --- a/ext/posix/tests/posix_strerror_variation1.phpt +++ b/ext/posix/tests/posix_strerror_variation1.phpt @@ -96,26 +96,36 @@ string Arg value 0.5 string +Notice: Array to string conversion in %sposix_strerror_variation1.php on line %d + Arg value Array Warning: posix_strerror() expects parameter 1 to be long, 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 long, 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 long, 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 long, 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 long, array given in %s on line %d |