From 2580a7ba092b4ed9f4a9860d911e2e17ec545ef5 Mon Sep 17 00:00:00 2001 From: Nikita Popov Date: Thu, 7 Mar 2019 16:39:05 +0100 Subject: [PATCH] More zpp error/variation test removals --- ext/standard/tests/assert/assert_error1.phpt | 39 --- ext/standard/tests/dir/chdir_error1.phpt | 39 --- .../tests/dir/chdir_variation1-win32-mb.phpt | 241 --------------- ext/standard/tests/dir/chdir_variation1.phpt | 235 --------------- ext/standard/tests/dir/closedir_error.phpt | 45 --- .../tests/dir/closedir_variation1.phpt | 212 ------------- ext/standard/tests/dir/dir_error.phpt | 34 --- ext/standard/tests/dir/dir_variation1.phpt | 166 ---------- .../tests/dir/dir_variation2-win32-mb.phpt | 229 -------------- ext/standard/tests/dir/dir_variation2.phpt | 223 -------------- ext/standard/tests/dir/getcwd_error.phpt | 29 -- .../tests/dir/opendir_error1-win32-mb.phpt | 53 ---- ext/standard/tests/dir/opendir_error1.phpt | 47 --- .../tests/dir/opendir_variation1.phpt | 224 -------------- .../dir/opendir_variation2-win32-mb.phpt | 245 --------------- .../tests/dir/opendir_variation2.phpt | 239 --------------- .../tests/dir/readdir_error-win32-mb.phpt | 49 --- ext/standard/tests/dir/readdir_error.phpt | 43 --- .../tests/dir/readdir_variation1.phpt | 210 ------------- .../tests/dir/rewinddir_error-win32-mb.phpt | 48 --- ext/standard/tests/dir/rewinddir_error.phpt | 42 --- .../tests/dir/rewinddir_variation1.phpt | 211 ------------- .../tests/dir/scandir_error1-win32-mb.phpt | 53 ---- ext/standard/tests/dir/scandir_error1.phpt | 47 --- .../tests/dir/scandir_variation1.phpt | 259 ---------------- .../tests/dir/scandir_variation2-mb.phpt | 285 ------------------ .../tests/dir/scandir_variation2.phpt | 285 ------------------ .../tests/dir/scandir_variation3.phpt | 238 --------------- ext/standard/tests/file/rename_error.phpt | 35 --- ext/standard/tests/file/umask_error.phpt | 26 -- .../tests/image/getimagesize_error1.phpt | 38 --- .../image/image_type_to_mime_type_error.phpt | 35 --- ext/standard/tests/mail/ezmlm_hash_error.phpt | 66 ---- ext/standard/tests/mail/mail_error.phpt | 44 --- ext/standard/tests/math/abs_error.phpt | 39 --- ext/standard/tests/math/acos_error.phpt | 29 -- ext/standard/tests/math/acosh_error.phpt | 29 -- ext/standard/tests/math/asin_error.phpt | 29 -- ext/standard/tests/math/asinh_error.phpt | 29 -- ext/standard/tests/math/atan2_error.phpt | 14 - ext/standard/tests/math/atan_error.phpt | 29 -- ext/standard/tests/math/bindec_error.phpt | 37 --- ext/standard/tests/math/ceil_error.phpt | 33 -- ext/standard/tests/math/cos_error.phpt | 29 -- ext/standard/tests/math/cosh_error.phpt | 29 -- ext/standard/tests/math/decbin_error.phpt | 32 -- ext/standard/tests/math/dechex_error.phpt | 26 -- ext/standard/tests/math/decoct_error.phpt | 25 -- ext/standard/tests/math/deg2rad_error.phpt | 31 -- ext/standard/tests/math/exp_error.phpt | 13 - ext/standard/tests/math/expm1_error.phpt | 30 -- ext/standard/tests/math/floor_error.phpt | 33 -- ext/standard/tests/math/fmod_error.phpt | 16 - ext/standard/tests/math/getrandmax_error.phpt | 9 - ext/standard/tests/math/hexdec_error.phpt | 36 --- ext/standard/tests/math/hypot_error.phpt | 33 -- ext/standard/tests/math/is_finite_error.phpt | 11 - .../tests/math/is_infinite_error.phpt | 11 - ext/standard/tests/math/is_nan_error.phpt | 11 - ext/standard/tests/math/log10_error.phpt | 31 -- ext/standard/tests/math/log1p_error.phpt | 29 -- .../tests/math/mt_getrandmax_error.phpt | 9 - ext/standard/tests/math/mt_rand_error.phpt | 17 -- ext/standard/tests/math/mt_srand_error.phpt | 17 -- ext/standard/tests/math/octdec_error.phpt | 37 --- ext/standard/tests/math/pow_error.phpt | 16 - ext/standard/tests/math/rad2deg_error.phpt | 31 -- ext/standard/tests/math/rand_error.phpt | 17 -- ext/standard/tests/math/round_error.phpt | 31 -- ext/standard/tests/math/sin_error.phpt | 29 -- ext/standard/tests/math/sqrt_error.phpt | 31 -- ext/standard/tests/math/srand_error.phpt | 32 -- ext/standard/tests/math/tan_error.phpt | 29 -- ext/standard/tests/math/tanh_error.phpt | 29 -- .../tests/misc/syslog_parameters.phpt | 22 -- .../tests/misc/time_nanosleep_error1.phpt | 14 - .../tests/misc/time_nanosleep_error2.phpt | 14 - .../tests/misc/time_sleep_until_error2.phpt | 14 - .../tests/misc/time_sleep_until_error3.phpt | 14 - .../tests/network/closelog_error.phpt | 27 -- .../tests/network/gethostbyname_error005.phpt | 12 - .../tests/network/gethostbynamel_error.phpt | 36 --- ext/standard/tests/network/ip2long_error.phpt | 37 --- ext/standard/tests/network/long2ip_error.phpt | 37 --- ext/standard/tests/network/syslog_error.phpt | 40 --- .../password/password_get_info_error.phpt | 17 -- .../serialize/serialization_error_001.phpt | 42 --- .../stream_context_set_option_error_001.phpt | 21 -- .../stream_context_set_option_error_002.phpt | 18 -- ext/standard/tests/strings/strlen_error.phpt | 33 -- .../tests/strings/strripos_error.phpt | 34 --- .../tests/url/base64_decode_error_001.phpt | 38 --- .../tests/url/base64_encode_error_001.phpt | 37 --- .../tests/url/get_headers_error_001.phpt | 42 --- .../tests/url/get_headers_error_002.phpt | 54 ---- .../tests/url/parse_url_error_001.phpt | 38 --- .../tests/url/rawurldecode_error_001.phpt | 39 --- .../tests/url/rawurlencode_error_001.phpt | 39 --- .../tests/url/urldecode_error_001.phpt | 39 --- .../tests/url/urlencode_error_001.phpt | 39 --- 100 files changed, 6139 deletions(-) delete mode 100644 ext/standard/tests/assert/assert_error1.phpt delete mode 100644 ext/standard/tests/dir/chdir_error1.phpt delete mode 100644 ext/standard/tests/dir/chdir_variation1-win32-mb.phpt delete mode 100644 ext/standard/tests/dir/chdir_variation1.phpt delete mode 100644 ext/standard/tests/dir/closedir_error.phpt delete mode 100644 ext/standard/tests/dir/closedir_variation1.phpt delete mode 100644 ext/standard/tests/dir/dir_error.phpt delete mode 100644 ext/standard/tests/dir/dir_variation1.phpt delete mode 100644 ext/standard/tests/dir/dir_variation2-win32-mb.phpt delete mode 100644 ext/standard/tests/dir/dir_variation2.phpt delete mode 100644 ext/standard/tests/dir/getcwd_error.phpt delete mode 100644 ext/standard/tests/dir/opendir_error1-win32-mb.phpt delete mode 100644 ext/standard/tests/dir/opendir_error1.phpt delete mode 100644 ext/standard/tests/dir/opendir_variation1.phpt delete mode 100644 ext/standard/tests/dir/opendir_variation2-win32-mb.phpt delete mode 100644 ext/standard/tests/dir/opendir_variation2.phpt delete mode 100644 ext/standard/tests/dir/readdir_error-win32-mb.phpt delete mode 100644 ext/standard/tests/dir/readdir_error.phpt delete mode 100644 ext/standard/tests/dir/readdir_variation1.phpt delete mode 100644 ext/standard/tests/dir/rewinddir_error-win32-mb.phpt delete mode 100644 ext/standard/tests/dir/rewinddir_error.phpt delete mode 100644 ext/standard/tests/dir/rewinddir_variation1.phpt delete mode 100644 ext/standard/tests/dir/scandir_error1-win32-mb.phpt delete mode 100644 ext/standard/tests/dir/scandir_error1.phpt delete mode 100644 ext/standard/tests/dir/scandir_variation1.phpt delete mode 100644 ext/standard/tests/dir/scandir_variation2-mb.phpt delete mode 100644 ext/standard/tests/dir/scandir_variation2.phpt delete mode 100644 ext/standard/tests/dir/scandir_variation3.phpt delete mode 100644 ext/standard/tests/file/rename_error.phpt delete mode 100644 ext/standard/tests/file/umask_error.phpt delete mode 100644 ext/standard/tests/image/getimagesize_error1.phpt delete mode 100644 ext/standard/tests/image/image_type_to_mime_type_error.phpt delete mode 100644 ext/standard/tests/mail/ezmlm_hash_error.phpt delete mode 100644 ext/standard/tests/mail/mail_error.phpt delete mode 100644 ext/standard/tests/math/abs_error.phpt delete mode 100644 ext/standard/tests/math/acos_error.phpt delete mode 100644 ext/standard/tests/math/acosh_error.phpt delete mode 100644 ext/standard/tests/math/asin_error.phpt delete mode 100644 ext/standard/tests/math/asinh_error.phpt delete mode 100644 ext/standard/tests/math/atan2_error.phpt delete mode 100644 ext/standard/tests/math/atan_error.phpt delete mode 100644 ext/standard/tests/math/bindec_error.phpt delete mode 100644 ext/standard/tests/math/ceil_error.phpt delete mode 100644 ext/standard/tests/math/cos_error.phpt delete mode 100644 ext/standard/tests/math/cosh_error.phpt delete mode 100644 ext/standard/tests/math/decbin_error.phpt delete mode 100644 ext/standard/tests/math/dechex_error.phpt delete mode 100644 ext/standard/tests/math/decoct_error.phpt delete mode 100644 ext/standard/tests/math/deg2rad_error.phpt delete mode 100644 ext/standard/tests/math/exp_error.phpt delete mode 100644 ext/standard/tests/math/expm1_error.phpt delete mode 100644 ext/standard/tests/math/floor_error.phpt delete mode 100644 ext/standard/tests/math/fmod_error.phpt delete mode 100644 ext/standard/tests/math/getrandmax_error.phpt delete mode 100644 ext/standard/tests/math/hexdec_error.phpt delete mode 100644 ext/standard/tests/math/hypot_error.phpt delete mode 100644 ext/standard/tests/math/is_finite_error.phpt delete mode 100644 ext/standard/tests/math/is_infinite_error.phpt delete mode 100644 ext/standard/tests/math/is_nan_error.phpt delete mode 100644 ext/standard/tests/math/log10_error.phpt delete mode 100644 ext/standard/tests/math/log1p_error.phpt delete mode 100644 ext/standard/tests/math/mt_getrandmax_error.phpt delete mode 100644 ext/standard/tests/math/mt_rand_error.phpt delete mode 100644 ext/standard/tests/math/mt_srand_error.phpt delete mode 100644 ext/standard/tests/math/octdec_error.phpt delete mode 100644 ext/standard/tests/math/pow_error.phpt delete mode 100644 ext/standard/tests/math/rad2deg_error.phpt delete mode 100644 ext/standard/tests/math/rand_error.phpt delete mode 100644 ext/standard/tests/math/round_error.phpt delete mode 100644 ext/standard/tests/math/sin_error.phpt delete mode 100644 ext/standard/tests/math/sqrt_error.phpt delete mode 100644 ext/standard/tests/math/srand_error.phpt delete mode 100644 ext/standard/tests/math/tan_error.phpt delete mode 100644 ext/standard/tests/math/tanh_error.phpt delete mode 100644 ext/standard/tests/misc/syslog_parameters.phpt delete mode 100644 ext/standard/tests/misc/time_nanosleep_error1.phpt delete mode 100644 ext/standard/tests/misc/time_nanosleep_error2.phpt delete mode 100644 ext/standard/tests/misc/time_sleep_until_error2.phpt delete mode 100644 ext/standard/tests/misc/time_sleep_until_error3.phpt delete mode 100644 ext/standard/tests/network/closelog_error.phpt delete mode 100644 ext/standard/tests/network/gethostbyname_error005.phpt delete mode 100644 ext/standard/tests/network/gethostbynamel_error.phpt delete mode 100644 ext/standard/tests/network/ip2long_error.phpt delete mode 100644 ext/standard/tests/network/long2ip_error.phpt delete mode 100644 ext/standard/tests/network/syslog_error.phpt delete mode 100644 ext/standard/tests/password/password_get_info_error.phpt delete mode 100644 ext/standard/tests/serialize/serialization_error_001.phpt delete mode 100644 ext/standard/tests/streams/stream_context_set_option_error_001.phpt delete mode 100644 ext/standard/tests/streams/stream_context_set_option_error_002.phpt delete mode 100644 ext/standard/tests/strings/strlen_error.phpt delete mode 100644 ext/standard/tests/strings/strripos_error.phpt delete mode 100644 ext/standard/tests/url/base64_decode_error_001.phpt delete mode 100644 ext/standard/tests/url/base64_encode_error_001.phpt delete mode 100644 ext/standard/tests/url/get_headers_error_001.phpt delete mode 100644 ext/standard/tests/url/get_headers_error_002.phpt delete mode 100644 ext/standard/tests/url/parse_url_error_001.phpt delete mode 100644 ext/standard/tests/url/rawurldecode_error_001.phpt delete mode 100644 ext/standard/tests/url/rawurlencode_error_001.phpt delete mode 100644 ext/standard/tests/url/urldecode_error_001.phpt delete mode 100644 ext/standard/tests/url/urlencode_error_001.phpt diff --git a/ext/standard/tests/assert/assert_error1.phpt b/ext/standard/tests/assert/assert_error1.phpt deleted file mode 100644 index 55879e8427..0000000000 --- a/ext/standard/tests/assert/assert_error1.phpt +++ /dev/null @@ -1,39 +0,0 @@ ---TEST-- -assert() - error - invalid params ---INI-- -assert.active = 1 -assert.warning = 1 -assert.callback = f1 -assert.quiet_eval = 1 -assert.bail = 0 ---FILE-- - -===DONE=== ---EXPECTF-- -*** Testing chdir() : error conditions *** - --- Testing chdir() function with Zero arguments -- - -Warning: chdir() expects exactly 1 parameter, 0 given in %s on line %d -bool(false) - --- Testing chdir() function with more than expected no. of arguments -- - -Warning: chdir() expects exactly 1 parameter, 2 given in %s on line %d -bool(false) -===DONE=== diff --git a/ext/standard/tests/dir/chdir_variation1-win32-mb.phpt b/ext/standard/tests/dir/chdir_variation1-win32-mb.phpt deleted file mode 100644 index 5b9fa16486..0000000000 --- a/ext/standard/tests/dir/chdir_variation1-win32-mb.phpt +++ /dev/null @@ -1,241 +0,0 @@ ---TEST-- -Test chdir() function : usage variations - different data type as $directory arg ---SKIPIF-- - ---FILE-- -dir_path = $dir; - } - - public function __toString() { - return "$this->dir_path"; - } -} - -// heredoc string -$heredoc = << -===DONE=== ---CLEAN-- - ---EXPECTF-- -*** Testing chdir() : usage variations *** - --- Iteration 1 -- - -Warning: chdir(): %s (errno %d) in %s on line %d -bool(false) - --- Iteration 2 -- - -Warning: chdir(): %s (errno %d) in %s on line %d -bool(false) - --- Iteration 3 -- - -Warning: chdir(): %s (errno %d) in %s on line %d -bool(false) - --- Iteration 4 -- - -Warning: chdir(): %s (errno %d) in %s on line %d -bool(false) - --- Iteration 5 -- - -Warning: chdir(): %s (errno %d) in %s on line %d -bool(false) - --- Iteration 6 -- - -Warning: chdir(): %s (errno %d) in %s on line %d -bool(false) - --- Iteration 7 -- - -Warning: chdir(): %s (errno %d) in %s on line %d -bool(false) - --- Iteration 8 -- - -Warning: chdir(): %s (errno %d) in %s on line %d -bool(false) - --- Iteration 9 -- - -Warning: chdir(): %s (errno %d) in %s on line %d -bool(false) - --- Iteration 10 -- - -Warning: chdir(): %s (errno %d) in %s on line %d -bool(false) - --- Iteration 11 -- - -Warning: chdir(): %s (errno %d) in %s on line %d -bool(false) - --- Iteration 12 -- - -Warning: chdir(): %s (errno %d) in %s on line %d -bool(false) - --- Iteration 13 -- - -Warning: chdir(): %s (errno %d) in %s on line %d -bool(false) - --- Iteration 14 -- - -Warning: chdir(): %s (errno %d) in %s on line %d -bool(false) - --- Iteration 15 -- - -Warning: chdir(): %s (errno %d) in %s on line %d -bool(false) - --- Iteration 16 -- - -Warning: chdir(): %s (errno %d) in %s on line %d -bool(false) - --- Iteration 17 -- - -Warning: chdir(): %s (errno %d) in %s on line %d -bool(false) - --- Iteration 18 -- - -Warning: chdir() expects parameter 1 to be a valid path, array given in %s on line %d -bool(false) - --- Iteration 19 -- -bool(true) - --- Iteration 20 -- - -Warning: chdir(): %s (errno %d) in %s on line %d -bool(false) - --- Iteration 21 -- -bool(true) - --- Iteration 22 -- -bool(true) - --- Iteration 23 -- - -Warning: chdir(): %s (errno %d) in %s on line %d -bool(false) - --- Iteration 24 -- - -Warning: chdir(): %s (errno %d) in %s on line %d -bool(false) - --- Iteration 25 -- - -Warning: chdir() expects parameter 1 to be a valid path, resource given in %s on line %d -bool(false) -===DONE=== diff --git a/ext/standard/tests/dir/chdir_variation1.phpt b/ext/standard/tests/dir/chdir_variation1.phpt deleted file mode 100644 index f456f1e1a7..0000000000 --- a/ext/standard/tests/dir/chdir_variation1.phpt +++ /dev/null @@ -1,235 +0,0 @@ ---TEST-- -Test chdir() function : usage variations - different data type as $directory arg ---FILE-- -dir_path = $dir; - } - - public function __toString() { - return "$this->dir_path"; - } -} - -// heredoc string -$heredoc = << -===DONE=== ---CLEAN-- - ---EXPECTF-- -*** Testing chdir() : usage variations *** - --- Iteration 1 -- - -Warning: chdir(): %s (errno %d) in %s on line %d -bool(false) - --- Iteration 2 -- - -Warning: chdir(): %s (errno %d) in %s on line %d -bool(false) - --- Iteration 3 -- - -Warning: chdir(): %s (errno %d) in %s on line %d -bool(false) - --- Iteration 4 -- - -Warning: chdir(): %s (errno %d) in %s on line %d -bool(false) - --- Iteration 5 -- - -Warning: chdir(): %s (errno %d) in %s on line %d -bool(false) - --- Iteration 6 -- - -Warning: chdir(): %s (errno %d) in %s on line %d -bool(false) - --- Iteration 7 -- - -Warning: chdir(): %s (errno %d) in %s on line %d -bool(false) - --- Iteration 8 -- - -Warning: chdir(): %s (errno %d) in %s on line %d -bool(false) - --- Iteration 9 -- - -Warning: chdir(): %s (errno %d) in %s on line %d -bool(false) - --- Iteration 10 -- - -Warning: chdir(): %s (errno %d) in %s on line %d -bool(false) - --- Iteration 11 -- - -Warning: chdir(): %s (errno %d) in %s on line %d -bool(false) - --- Iteration 12 -- - -Warning: chdir(): %s (errno %d) in %s on line %d -bool(false) - --- Iteration 13 -- - -Warning: chdir(): %s (errno %d) in %s on line %d -bool(false) - --- Iteration 14 -- - -Warning: chdir(): %s (errno %d) in %s on line %d -bool(false) - --- Iteration 15 -- - -Warning: chdir(): %s (errno %d) in %s on line %d -bool(false) - --- Iteration 16 -- - -Warning: chdir(): %s (errno %d) in %s on line %d -bool(false) - --- Iteration 17 -- - -Warning: chdir(): %s (errno %d) in %s on line %d -bool(false) - --- Iteration 18 -- - -Warning: chdir() expects parameter 1 to be a valid path, array given in %s on line %d -bool(false) - --- Iteration 19 -- -bool(true) - --- Iteration 20 -- - -Warning: chdir(): %s (errno %d) in %s on line %d -bool(false) - --- Iteration 21 -- -bool(true) - --- Iteration 22 -- -bool(true) - --- Iteration 23 -- - -Warning: chdir(): %s (errno %d) in %s on line %d -bool(false) - --- Iteration 24 -- - -Warning: chdir(): %s (errno %d) in %s on line %d -bool(false) - --- Iteration 25 -- - -Warning: chdir() expects parameter 1 to be a valid path, resource given in %s on line %d -bool(false) -===DONE=== diff --git a/ext/standard/tests/dir/closedir_error.phpt b/ext/standard/tests/dir/closedir_error.phpt deleted file mode 100644 index b7ec7e3a79..0000000000 --- a/ext/standard/tests/dir/closedir_error.phpt +++ /dev/null @@ -1,45 +0,0 @@ ---TEST-- -Test closedir() function : error conditions - Pass incorrect number of arguments ---FILE-- - -===DONE=== ---CLEAN-- - ---EXPECTF-- -*** Testing closedir() : error conditions *** - --- Testing closedir() function with more than expected no. of arguments -- - -Warning: closedir() expects at most 1 parameter, 2 given in %s on line %d -NULL -===DONE=== diff --git a/ext/standard/tests/dir/closedir_variation1.phpt b/ext/standard/tests/dir/closedir_variation1.phpt deleted file mode 100644 index b80837194b..0000000000 --- a/ext/standard/tests/dir/closedir_variation1.phpt +++ /dev/null @@ -1,212 +0,0 @@ ---TEST-- -Test closedir() function : usage variations - different data types as $dir_handle arg ---FILE-- - -===DONE=== ---EXPECTF-- -*** Testing closedir() : usage variations *** - --- Iteration 1 -- - -Warning: closedir() expects parameter 1 to be resource, int given in %s on line %d -NULL - --- Iteration 2 -- - -Warning: closedir() expects parameter 1 to be resource, int given in %s on line %d -NULL - --- Iteration 3 -- - -Warning: closedir() expects parameter 1 to be resource, int given in %s on line %d -NULL - --- Iteration 4 -- - -Warning: closedir() expects parameter 1 to be resource, int given in %s on line %d -NULL - --- Iteration 5 -- - -Warning: closedir() expects parameter 1 to be resource, float given in %s on line %d -NULL - --- Iteration 6 -- - -Warning: closedir() expects parameter 1 to be resource, float given in %s on line %d -NULL - --- Iteration 7 -- - -Warning: closedir() expects parameter 1 to be resource, float given in %s on line %d -NULL - --- Iteration 8 -- - -Warning: closedir() expects parameter 1 to be resource, float given in %s on line %d -NULL - --- Iteration 9 -- - -Warning: closedir() expects parameter 1 to be resource, float given in %s on line %d -NULL - --- Iteration 10 -- - -Warning: closedir() expects parameter 1 to be resource, null given in %s on line %d -NULL - --- Iteration 11 -- - -Warning: closedir() expects parameter 1 to be resource, null given in %s on line %d -NULL - --- Iteration 12 -- - -Warning: closedir() expects parameter 1 to be resource, bool given in %s on line %d -NULL - --- Iteration 13 -- - -Warning: closedir() expects parameter 1 to be resource, bool given in %s on line %d -NULL - --- Iteration 14 -- - -Warning: closedir() expects parameter 1 to be resource, bool given in %s on line %d -NULL - --- Iteration 15 -- - -Warning: closedir() expects parameter 1 to be resource, bool given in %s on line %d -NULL - --- Iteration 16 -- - -Warning: closedir() expects parameter 1 to be resource, string given in %s on line %d -NULL - --- Iteration 17 -- - -Warning: closedir() expects parameter 1 to be resource, string given in %s on line %d -NULL - --- Iteration 18 -- - -Warning: closedir() expects parameter 1 to be resource, array given in %s on line %d -NULL - --- Iteration 19 -- - -Warning: closedir() expects parameter 1 to be resource, string given in %s on line %d -NULL - --- Iteration 20 -- - -Warning: closedir() expects parameter 1 to be resource, string given in %s on line %d -NULL - --- Iteration 21 -- - -Warning: closedir() expects parameter 1 to be resource, string given in %s on line %d -NULL - --- Iteration 22 -- - -Warning: closedir() expects parameter 1 to be resource, object given in %s on line %d -NULL - --- Iteration 23 -- - -Warning: closedir() expects parameter 1 to be resource, null given in %s on line %d -NULL - --- Iteration 24 -- - -Warning: closedir() expects parameter 1 to be resource, null given in %s on line %d -NULL -===DONE=== diff --git a/ext/standard/tests/dir/dir_error.phpt b/ext/standard/tests/dir/dir_error.phpt deleted file mode 100644 index 5bdf181b50..0000000000 --- a/ext/standard/tests/dir/dir_error.phpt +++ /dev/null @@ -1,34 +0,0 @@ ---TEST-- -Test dir() function : error conditions ---FILE-- - ---EXPECTF-- -*** Testing dir() : error conditions *** - --- Testing dir() function with zero arguments -- -Warning: dir() expects at least 1 parameter, 0 given in %s on line %d -NULL - --- Testing dir() function with one more than expected number of arguments -- -Warning: dir() expects at most 2 parameters, 3 given in %s on line %d -NULL -Done diff --git a/ext/standard/tests/dir/dir_variation1.phpt b/ext/standard/tests/dir/dir_variation1.phpt deleted file mode 100644 index fff04ba8f9..0000000000 --- a/ext/standard/tests/dir/dir_variation1.phpt +++ /dev/null @@ -1,166 +0,0 @@ ---TEST-- -Test dir() function : usage variations - unexpected value for 'dir' argument ---SKIPIF-- - ---FILE-- -var = 10; - } -} - -// get a resource variable -$fp = fopen(__FILE__, "r"); // get a file handle -$dfp = opendir( dirname(__FILE__) ); // get a dir handle - -// unexpected values to be passed to $directory argument -$unexpected_values = array ( - - // array data -/*1*/ array(), - array(0), - array(1), - array(1, 2), - array('color' => 'red', 'item' => 'pen'), - - // null data -/*6*/ NULL, - null, - - // boolean data -/*8*/ true, - false, - TRUE, - FALSE, - - // empty data -/*12*/ "", - '', - - // undefined data -/*14*/ @$undefined_var, - - // unset data -/*15*/ @$unset_var, - - // resource variable(dir and file handle) -/*16*/ $fp, - $dfp, - - // object data -/*18*/ new A() -); - -// loop through various elements of $unexpected_values to check the behavior of dir() -$iterator = 1; -foreach( $unexpected_values as $unexpected_value ) { - echo "\n-- Iteration $iterator --\n"; - var_dump( dir($unexpected_value) ); - $iterator++; -} - -fclose($fp); -closedir($dfp); -echo "Done"; -?> ---EXPECTF-- -*** Testing dir() : unexpected values for $directory argument *** - --- Iteration 1 -- - -Warning: dir() expects parameter 1 to be a valid path, array given in %s on line %d -NULL - --- Iteration 2 -- - -Warning: dir() expects parameter 1 to be a valid path, array given in %s on line %d -NULL - --- Iteration 3 -- - -Warning: dir() expects parameter 1 to be a valid path, array given in %s on line %d -NULL - --- Iteration 4 -- - -Warning: dir() expects parameter 1 to be a valid path, array given in %s on line %d -NULL - --- Iteration 5 -- - -Warning: dir() expects parameter 1 to be a valid path, array given in %s on line %d -NULL - --- Iteration 6 -- -bool(false) - --- Iteration 7 -- -bool(false) - --- Iteration 8 -- - -Warning: dir(1): failed to open dir: %s in %s on line %d -bool(false) - --- Iteration 9 -- -bool(false) - --- Iteration 10 -- - -Warning: dir(1): failed to open dir: %s in %s on line %d -bool(false) - --- Iteration 11 -- -bool(false) - --- Iteration 12 -- -bool(false) - --- Iteration 13 -- -bool(false) - --- Iteration 14 -- -bool(false) - --- Iteration 15 -- -bool(false) - --- Iteration 16 -- - -Warning: dir() expects parameter 1 to be a valid path, resource given in %s on line %d -NULL - --- Iteration 17 -- - -Warning: dir() expects parameter 1 to be a valid path, resource given in %s on line %d -NULL - --- Iteration 18 -- - -Warning: dir() expects parameter 1 to be a valid path, object given in %s on line %d -NULL -Done diff --git a/ext/standard/tests/dir/dir_variation2-win32-mb.phpt b/ext/standard/tests/dir/dir_variation2-win32-mb.phpt deleted file mode 100644 index f538b92f87..0000000000 --- a/ext/standard/tests/dir/dir_variation2-win32-mb.phpt +++ /dev/null @@ -1,229 +0,0 @@ ---TEST-- -Test dir() function : usage variations - unexpected value for 'context' argument ---SKIPIF-- - ---FILE-- -var = 10; - } -} - -// heredoc string -$heredoc = << 'red', 'item' => 'pen'), - - - // null data -/*15*/ NULL, - null, - - // boolean data -/*17*/ true, - false, - TRUE, - FALSE, - - // empty data -/*21*/ "", - '', - - // string data -/*23*/ "string", - 'string', - $heredoc, - - // object data -/*26*/ new classA(), - - // undefined data -/*27*/ @$undefined_var, - - // unset data -/*28*/ @$unset_var -); - -// loop through various elements of $unexpected_values to check the behavior of dir() -$iterator = 1; -foreach( $unexpected_values as $unexpected_value ) { - echo "\n-- Iteration $iterator --"; - var_dump( dir($directory, $unexpected_value) ); - $iterator++; -} - -echo "Done"; -?> ---CLEAN-- - ---EXPECTF-- -*** Testing dir() : unexpected values for $context argument *** - --- Iteration 1 -- -Warning: dir() expects parameter 2 to be resource, int given in %s on line %d -NULL - --- Iteration 2 -- -Warning: dir() expects parameter 2 to be resource, int given in %s on line %d -NULL - --- Iteration 3 -- -Warning: dir() expects parameter 2 to be resource, int given in %s on line %d -NULL - --- Iteration 4 -- -Warning: dir() expects parameter 2 to be resource, int given in %s on line %d -NULL - --- Iteration 5 -- -Warning: dir() expects parameter 2 to be resource, float given in %s on line %d -NULL - --- Iteration 6 -- -Warning: dir() expects parameter 2 to be resource, float given in %s on line %d -NULL - --- Iteration 7 -- -Warning: dir() expects parameter 2 to be resource, float given in %s on line %d -NULL - --- Iteration 8 -- -Warning: dir() expects parameter 2 to be resource, float given in %s on line %d -NULL - --- Iteration 9 -- -Warning: dir() expects parameter 2 to be resource, float given in %s on line %d -NULL - --- Iteration 10 -- -Warning: dir() expects parameter 2 to be resource, array given in %s on line %d -NULL - --- Iteration 11 -- -Warning: dir() expects parameter 2 to be resource, array given in %s on line %d -NULL - --- Iteration 12 -- -Warning: dir() expects parameter 2 to be resource, array given in %s on line %d -NULL - --- Iteration 13 -- -Warning: dir() expects parameter 2 to be resource, array given in %s on line %d -NULL - --- Iteration 14 -- -Warning: dir() expects parameter 2 to be resource, array given in %s on line %d -NULL - --- Iteration 15 -- -Warning: dir() expects parameter 2 to be resource, null given in %s on line %d -NULL - --- Iteration 16 -- -Warning: dir() expects parameter 2 to be resource, null given in %s on line %d -NULL - --- Iteration 17 -- -Warning: dir() expects parameter 2 to be resource, bool given in %s on line %d -NULL - --- Iteration 18 -- -Warning: dir() expects parameter 2 to be resource, bool given in %s on line %d -NULL - --- Iteration 19 -- -Warning: dir() expects parameter 2 to be resource, bool given in %s on line %d -NULL - --- Iteration 20 -- -Warning: dir() expects parameter 2 to be resource, bool given in %s on line %d -NULL - --- Iteration 21 -- -Warning: dir() expects parameter 2 to be resource, string given in %s on line %d -NULL - --- Iteration 22 -- -Warning: dir() expects parameter 2 to be resource, string given in %s on line %d -NULL - --- Iteration 23 -- -Warning: dir() expects parameter 2 to be resource, string given in %s on line %d -NULL - --- Iteration 24 -- -Warning: dir() expects parameter 2 to be resource, string given in %s on line %d -NULL - --- Iteration 25 -- -Warning: dir() expects parameter 2 to be resource, string given in %s on line %d -NULL - --- Iteration 26 -- -Warning: dir() expects parameter 2 to be resource, object given in %s on line %d -NULL - --- Iteration 27 -- -Warning: dir() expects parameter 2 to be resource, null given in %s on line %d -NULL - --- Iteration 28 -- -Warning: dir() expects parameter 2 to be resource, null given in %s on line %d -NULL -Done diff --git a/ext/standard/tests/dir/dir_variation2.phpt b/ext/standard/tests/dir/dir_variation2.phpt deleted file mode 100644 index f38b3caeea..0000000000 --- a/ext/standard/tests/dir/dir_variation2.phpt +++ /dev/null @@ -1,223 +0,0 @@ ---TEST-- -Test dir() function : usage variations - unexpected value for 'context' argument ---FILE-- -var = 10; - } -} - -// heredoc string -$heredoc = << 'red', 'item' => 'pen'), - - - // null data -/*15*/ NULL, - null, - - // boolean data -/*17*/ true, - false, - TRUE, - FALSE, - - // empty data -/*21*/ "", - '', - - // string data -/*23*/ "string", - 'string', - $heredoc, - - // object data -/*26*/ new classA(), - - // undefined data -/*27*/ @$undefined_var, - - // unset data -/*28*/ @$unset_var -); - -// loop through various elements of $unexpected_values to check the behavior of dir() -$iterator = 1; -foreach( $unexpected_values as $unexpected_value ) { - echo "\n-- Iteration $iterator --"; - var_dump( dir($directory, $unexpected_value) ); - $iterator++; -} - -echo "Done"; -?> ---CLEAN-- - ---EXPECTF-- -*** Testing dir() : unexpected values for $context argument *** - --- Iteration 1 -- -Warning: dir() expects parameter 2 to be resource, int given in %s on line %d -NULL - --- Iteration 2 -- -Warning: dir() expects parameter 2 to be resource, int given in %s on line %d -NULL - --- Iteration 3 -- -Warning: dir() expects parameter 2 to be resource, int given in %s on line %d -NULL - --- Iteration 4 -- -Warning: dir() expects parameter 2 to be resource, int given in %s on line %d -NULL - --- Iteration 5 -- -Warning: dir() expects parameter 2 to be resource, float given in %s on line %d -NULL - --- Iteration 6 -- -Warning: dir() expects parameter 2 to be resource, float given in %s on line %d -NULL - --- Iteration 7 -- -Warning: dir() expects parameter 2 to be resource, float given in %s on line %d -NULL - --- Iteration 8 -- -Warning: dir() expects parameter 2 to be resource, float given in %s on line %d -NULL - --- Iteration 9 -- -Warning: dir() expects parameter 2 to be resource, float given in %s on line %d -NULL - --- Iteration 10 -- -Warning: dir() expects parameter 2 to be resource, array given in %s on line %d -NULL - --- Iteration 11 -- -Warning: dir() expects parameter 2 to be resource, array given in %s on line %d -NULL - --- Iteration 12 -- -Warning: dir() expects parameter 2 to be resource, array given in %s on line %d -NULL - --- Iteration 13 -- -Warning: dir() expects parameter 2 to be resource, array given in %s on line %d -NULL - --- Iteration 14 -- -Warning: dir() expects parameter 2 to be resource, array given in %s on line %d -NULL - --- Iteration 15 -- -Warning: dir() expects parameter 2 to be resource, null given in %s on line %d -NULL - --- Iteration 16 -- -Warning: dir() expects parameter 2 to be resource, null given in %s on line %d -NULL - --- Iteration 17 -- -Warning: dir() expects parameter 2 to be resource, bool given in %s on line %d -NULL - --- Iteration 18 -- -Warning: dir() expects parameter 2 to be resource, bool given in %s on line %d -NULL - --- Iteration 19 -- -Warning: dir() expects parameter 2 to be resource, bool given in %s on line %d -NULL - --- Iteration 20 -- -Warning: dir() expects parameter 2 to be resource, bool given in %s on line %d -NULL - --- Iteration 21 -- -Warning: dir() expects parameter 2 to be resource, string given in %s on line %d -NULL - --- Iteration 22 -- -Warning: dir() expects parameter 2 to be resource, string given in %s on line %d -NULL - --- Iteration 23 -- -Warning: dir() expects parameter 2 to be resource, string given in %s on line %d -NULL - --- Iteration 24 -- -Warning: dir() expects parameter 2 to be resource, string given in %s on line %d -NULL - --- Iteration 25 -- -Warning: dir() expects parameter 2 to be resource, string given in %s on line %d -NULL - --- Iteration 26 -- -Warning: dir() expects parameter 2 to be resource, object given in %s on line %d -NULL - --- Iteration 27 -- -Warning: dir() expects parameter 2 to be resource, null given in %s on line %d -NULL - --- Iteration 28 -- -Warning: dir() expects parameter 2 to be resource, null given in %s on line %d -NULL -Done diff --git a/ext/standard/tests/dir/getcwd_error.phpt b/ext/standard/tests/dir/getcwd_error.phpt deleted file mode 100644 index 1fcfa47a9d..0000000000 --- a/ext/standard/tests/dir/getcwd_error.phpt +++ /dev/null @@ -1,29 +0,0 @@ ---TEST-- -Test getcwd() function : error conditions - Incorrect number of arguments ---FILE-- - -===DONE=== ---EXPECTF-- -*** Testing getcwd() : error conditions *** - --- Testing getcwd() function with one argument -- - -Warning: getcwd() expects exactly 0 parameters, 1 given in %s on line %d -NULL -===DONE=== diff --git a/ext/standard/tests/dir/opendir_error1-win32-mb.phpt b/ext/standard/tests/dir/opendir_error1-win32-mb.phpt deleted file mode 100644 index 59ab389e10..0000000000 --- a/ext/standard/tests/dir/opendir_error1-win32-mb.phpt +++ /dev/null @@ -1,53 +0,0 @@ ---TEST-- -Test opendir() function : error conditions - Incorrect number of args ---SKIPIF-- - ---FILE-- - -===DONE=== ---CLEAN-- - ---EXPECTF-- -*** Testing opendir() : error conditions *** - --- Testing opendir() function with Zero arguments -- - -Warning: opendir() expects at least 1 parameter, 0 given in %s on line %d -NULL - --- Testing opendir() function with more than expected no. of arguments -- - -Warning: opendir() expects at most 2 parameters, 3 given in %s on line %d -NULL -===DONE=== diff --git a/ext/standard/tests/dir/opendir_error1.phpt b/ext/standard/tests/dir/opendir_error1.phpt deleted file mode 100644 index ccfed4bf05..0000000000 --- a/ext/standard/tests/dir/opendir_error1.phpt +++ /dev/null @@ -1,47 +0,0 @@ ---TEST-- -Test opendir() function : error conditions - Incorrect number of args ---FILE-- - -===DONE=== ---CLEAN-- - ---EXPECTF-- -*** Testing opendir() : error conditions *** - --- Testing opendir() function with Zero arguments -- - -Warning: opendir() expects at least 1 parameter, 0 given in %s on line %d -NULL - --- Testing opendir() function with more than expected no. of arguments -- - -Warning: opendir() expects at most 2 parameters, 3 given in %s on line %d -NULL -===DONE=== diff --git a/ext/standard/tests/dir/opendir_variation1.phpt b/ext/standard/tests/dir/opendir_variation1.phpt deleted file mode 100644 index cb4d543f72..0000000000 --- a/ext/standard/tests/dir/opendir_variation1.phpt +++ /dev/null @@ -1,224 +0,0 @@ ---TEST-- -Test opendir() function : usage variations - different data types as $path arg ---SKIPIF-- - ---FILE-- -path = $path; - } - public function __toString() { - return $this->path; - } -} - -// heredoc string -$heredoc = << -===DONE=== ---CLEAN-- - ---EXPECTF-- -*** Testing opendir() : usage variations *** - --- Iteration 1 -- - -Warning: opendir(0): failed to open dir: %s in %s on line %d -bool(false) - --- Iteration 2 -- - -Warning: opendir(1): failed to open dir: %s in %s on line %d -bool(false) - --- Iteration 3 -- - -Warning: opendir(12345): failed to open dir: %s in %s on line %d -bool(false) - --- Iteration 4 -- - -Warning: opendir(-2345): failed to open dir: %s in %s on line %d -bool(false) - --- Iteration 5 -- - -Warning: opendir(10.5): failed to open dir: %s in %s on line %d -bool(false) - --- Iteration 6 -- - -Warning: opendir(-10.5): failed to open dir: %s in %s on line %d -bool(false) - --- Iteration 7 -- - -Warning: opendir(123456789000): failed to open dir: %s in %s on line %d -bool(false) - --- Iteration 8 -- - -Warning: opendir(1.23456789E-9): failed to open dir: %s in %s on line %d -bool(false) - --- Iteration 9 -- - -Warning: opendir(0.5): failed to open dir: %s in %s on line %d -bool(false) - --- Iteration 10 -- -bool(false) - --- Iteration 11 -- -bool(false) - --- Iteration 12 -- - -Warning: opendir(1): failed to open dir: %s in %s on line %d -bool(false) - --- Iteration 13 -- -bool(false) - --- Iteration 14 -- - -Warning: opendir(1): failed to open dir: %s in %s on line %d -bool(false) - --- Iteration 15 -- -bool(false) - --- Iteration 16 -- -bool(false) - --- Iteration 17 -- -bool(false) - --- Iteration 18 -- - -Warning: opendir() expects parameter 1 to be a valid path, array given in %s on line %d -NULL - --- Iteration 19 -- -resource(%d) of type (stream) - --- Iteration 20 -- - -Warning: opendir(string): failed to open dir: %s in %s on line %d -bool(false) - --- Iteration 21 -- -resource(%d) of type (stream) - --- Iteration 22 -- -resource(%d) of type (stream) - --- Iteration 23 -- -bool(false) - --- Iteration 24 -- -bool(false) - --- Iteration 25 -- - -Warning: opendir() expects parameter 1 to be a valid path, resource given in %s on line %d -NULL -===DONE=== diff --git a/ext/standard/tests/dir/opendir_variation2-win32-mb.phpt b/ext/standard/tests/dir/opendir_variation2-win32-mb.phpt deleted file mode 100644 index e5b891f5fa..0000000000 --- a/ext/standard/tests/dir/opendir_variation2-win32-mb.phpt +++ /dev/null @@ -1,245 +0,0 @@ ---TEST-- -Test opendir() function : usage variations - different data types as $context arg ---SKIPIF-- - ---FILE-- - -===DONE=== ---CLEAN-- - ---EXPECTF-- -*** Testing opendir() : usage variation *** - --- Iteration 1 -- - -Warning: opendir() expects parameter 2 to be resource, int given in %s on line %d -NULL - --- Iteration 2 -- - -Warning: opendir() expects parameter 2 to be resource, int given in %s on line %d -NULL - --- Iteration 3 -- - -Warning: opendir() expects parameter 2 to be resource, int given in %s on line %d -NULL - --- Iteration 4 -- - -Warning: opendir() expects parameter 2 to be resource, int given in %s on line %d -NULL - --- Iteration 5 -- - -Warning: opendir() expects parameter 2 to be resource, float given in %s on line %d -NULL - --- Iteration 6 -- - -Warning: opendir() expects parameter 2 to be resource, float given in %s on line %d -NULL - --- Iteration 7 -- - -Warning: opendir() expects parameter 2 to be resource, float given in %s on line %d -NULL - --- Iteration 8 -- - -Warning: opendir() expects parameter 2 to be resource, float given in %s on line %d -NULL - --- Iteration 9 -- - -Warning: opendir() expects parameter 2 to be resource, float given in %s on line %d -NULL - --- Iteration 10 -- - -Warning: opendir() expects parameter 2 to be resource, null given in %s on line %d -NULL - --- Iteration 11 -- - -Warning: opendir() expects parameter 2 to be resource, null given in %s on line %d -NULL - --- Iteration 12 -- - -Warning: opendir() expects parameter 2 to be resource, bool given in %s on line %d -NULL - --- Iteration 13 -- - -Warning: opendir() expects parameter 2 to be resource, bool given in %s on line %d -NULL - --- Iteration 14 -- - -Warning: opendir() expects parameter 2 to be resource, bool given in %s on line %d -NULL - --- Iteration 15 -- - -Warning: opendir() expects parameter 2 to be resource, bool given in %s on line %d -NULL - --- Iteration 16 -- - -Warning: opendir() expects parameter 2 to be resource, string given in %s on line %d -NULL - --- Iteration 17 -- - -Warning: opendir() expects parameter 2 to be resource, string given in %s on line %d -NULL - --- Iteration 18 -- - -Warning: opendir() expects parameter 2 to be resource, array given in %s on line %d -NULL - --- Iteration 19 -- - -Warning: opendir() expects parameter 2 to be resource, string given in %s on line %d -NULL - --- Iteration 20 -- - -Warning: opendir() expects parameter 2 to be resource, string given in %s on line %d -NULL - --- Iteration 21 -- - -Warning: opendir() expects parameter 2 to be resource, string given in %s on line %d -NULL - --- Iteration 22 -- - -Warning: opendir() expects parameter 2 to be resource, object given in %s on line %d -NULL - --- Iteration 23 -- - -Warning: opendir() expects parameter 2 to be resource, null given in %s on line %d -NULL - --- Iteration 24 -- - -Warning: opendir() expects parameter 2 to be resource, null given in %s on line %d -NULL - --- Iteration 25 -- - -Warning: opendir(): supplied resource is not a valid Stream-Context resource in %s on line %d -resource(%d) of type (stream) -===DONE=== diff --git a/ext/standard/tests/dir/opendir_variation2.phpt b/ext/standard/tests/dir/opendir_variation2.phpt deleted file mode 100644 index a6811eb5ef..0000000000 --- a/ext/standard/tests/dir/opendir_variation2.phpt +++ /dev/null @@ -1,239 +0,0 @@ ---TEST-- -Test opendir() function : usage variations - different data types as $context arg ---FILE-- - -===DONE=== ---CLEAN-- - ---EXPECTF-- -*** Testing opendir() : usage variation *** - --- Iteration 1 -- - -Warning: opendir() expects parameter 2 to be resource, int given in %s on line %d -NULL - --- Iteration 2 -- - -Warning: opendir() expects parameter 2 to be resource, int given in %s on line %d -NULL - --- Iteration 3 -- - -Warning: opendir() expects parameter 2 to be resource, int given in %s on line %d -NULL - --- Iteration 4 -- - -Warning: opendir() expects parameter 2 to be resource, int given in %s on line %d -NULL - --- Iteration 5 -- - -Warning: opendir() expects parameter 2 to be resource, float given in %s on line %d -NULL - --- Iteration 6 -- - -Warning: opendir() expects parameter 2 to be resource, float given in %s on line %d -NULL - --- Iteration 7 -- - -Warning: opendir() expects parameter 2 to be resource, float given in %s on line %d -NULL - --- Iteration 8 -- - -Warning: opendir() expects parameter 2 to be resource, float given in %s on line %d -NULL - --- Iteration 9 -- - -Warning: opendir() expects parameter 2 to be resource, float given in %s on line %d -NULL - --- Iteration 10 -- - -Warning: opendir() expects parameter 2 to be resource, null given in %s on line %d -NULL - --- Iteration 11 -- - -Warning: opendir() expects parameter 2 to be resource, null given in %s on line %d -NULL - --- Iteration 12 -- - -Warning: opendir() expects parameter 2 to be resource, bool given in %s on line %d -NULL - --- Iteration 13 -- - -Warning: opendir() expects parameter 2 to be resource, bool given in %s on line %d -NULL - --- Iteration 14 -- - -Warning: opendir() expects parameter 2 to be resource, bool given in %s on line %d -NULL - --- Iteration 15 -- - -Warning: opendir() expects parameter 2 to be resource, bool given in %s on line %d -NULL - --- Iteration 16 -- - -Warning: opendir() expects parameter 2 to be resource, string given in %s on line %d -NULL - --- Iteration 17 -- - -Warning: opendir() expects parameter 2 to be resource, string given in %s on line %d -NULL - --- Iteration 18 -- - -Warning: opendir() expects parameter 2 to be resource, array given in %s on line %d -NULL - --- Iteration 19 -- - -Warning: opendir() expects parameter 2 to be resource, string given in %s on line %d -NULL - --- Iteration 20 -- - -Warning: opendir() expects parameter 2 to be resource, string given in %s on line %d -NULL - --- Iteration 21 -- - -Warning: opendir() expects parameter 2 to be resource, string given in %s on line %d -NULL - --- Iteration 22 -- - -Warning: opendir() expects parameter 2 to be resource, object given in %s on line %d -NULL - --- Iteration 23 -- - -Warning: opendir() expects parameter 2 to be resource, null given in %s on line %d -NULL - --- Iteration 24 -- - -Warning: opendir() expects parameter 2 to be resource, null given in %s on line %d -NULL - --- Iteration 25 -- - -Warning: opendir(): supplied resource is not a valid Stream-Context resource in %s on line %d -resource(%d) of type (stream) -===DONE=== diff --git a/ext/standard/tests/dir/readdir_error-win32-mb.phpt b/ext/standard/tests/dir/readdir_error-win32-mb.phpt deleted file mode 100644 index 21eaad4b06..0000000000 --- a/ext/standard/tests/dir/readdir_error-win32-mb.phpt +++ /dev/null @@ -1,49 +0,0 @@ ---TEST-- -Test readdir() function : error conditions - Incorrect number of args ---SKIPIF-- - ---FILE-- - -===DONE=== ---CLEAN-- - ---EXPECTF-- -*** Testing readdir() : error conditions *** - --- Testing readdir() function with more than expected no. of arguments -- - -Warning: readdir() expects at most 1 parameter, 2 given in %s on line %d -NULL -===DONE=== diff --git a/ext/standard/tests/dir/readdir_error.phpt b/ext/standard/tests/dir/readdir_error.phpt deleted file mode 100644 index 24fbad37a9..0000000000 --- a/ext/standard/tests/dir/readdir_error.phpt +++ /dev/null @@ -1,43 +0,0 @@ ---TEST-- -Test readdir() function : error conditions - Incorrect number of args ---FILE-- - -===DONE=== ---CLEAN-- - ---EXPECTF-- -*** Testing readdir() : error conditions *** - --- Testing readdir() function with more than expected no. of arguments -- - -Warning: readdir() expects at most 1 parameter, 2 given in %s on line %d -NULL -===DONE=== diff --git a/ext/standard/tests/dir/readdir_variation1.phpt b/ext/standard/tests/dir/readdir_variation1.phpt deleted file mode 100644 index 47e00c4b76..0000000000 --- a/ext/standard/tests/dir/readdir_variation1.phpt +++ /dev/null @@ -1,210 +0,0 @@ ---TEST-- -Test readdir() function : usage variations - different data types as $dir_handle arg ---FILE-- - -===DONE=== ---EXPECTF-- -*** Testing readdir() : usage variations *** - --- Iteration 1 -- - -Warning: readdir() expects parameter 1 to be resource, int given in %s on line %d -NULL - --- Iteration 2 -- - -Warning: readdir() expects parameter 1 to be resource, int given in %s on line %d -NULL - --- Iteration 3 -- - -Warning: readdir() expects parameter 1 to be resource, int given in %s on line %d -NULL - --- Iteration 4 -- - -Warning: readdir() expects parameter 1 to be resource, int given in %s on line %d -NULL - --- Iteration 5 -- - -Warning: readdir() expects parameter 1 to be resource, float given in %s on line %d -NULL - --- Iteration 6 -- - -Warning: readdir() expects parameter 1 to be resource, float given in %s on line %d -NULL - --- Iteration 7 -- - -Warning: readdir() expects parameter 1 to be resource, float given in %s on line %d -NULL - --- Iteration 8 -- - -Warning: readdir() expects parameter 1 to be resource, float given in %s on line %d -NULL - --- Iteration 9 -- - -Warning: readdir() expects parameter 1 to be resource, float given in %s on line %d -NULL - --- Iteration 10 -- - -Warning: readdir() expects parameter 1 to be resource, null given in %s on line %d -NULL - --- Iteration 11 -- - -Warning: readdir() expects parameter 1 to be resource, null given in %s on line %d -NULL - --- Iteration 12 -- - -Warning: readdir() expects parameter 1 to be resource, bool given in %s on line %d -NULL - --- Iteration 13 -- - -Warning: readdir() expects parameter 1 to be resource, bool given in %s on line %d -NULL - --- Iteration 14 -- - -Warning: readdir() expects parameter 1 to be resource, bool given in %s on line %d -NULL - --- Iteration 15 -- - -Warning: readdir() expects parameter 1 to be resource, bool given in %s on line %d -NULL - --- Iteration 16 -- - -Warning: readdir() expects parameter 1 to be resource, string given in %s on line %d -NULL - --- Iteration 17 -- - -Warning: readdir() expects parameter 1 to be resource, string given in %s on line %d -NULL - --- Iteration 18 -- - -Warning: readdir() expects parameter 1 to be resource, array given in %s on line %d -NULL - --- Iteration 19 -- - -Warning: readdir() expects parameter 1 to be resource, string given in %s on line %d -NULL - --- Iteration 20 -- - -Warning: readdir() expects parameter 1 to be resource, string given in %s on line %d -NULL - --- Iteration 21 -- - -Warning: readdir() expects parameter 1 to be resource, string given in %s on line %d -NULL - --- Iteration 22 -- - -Warning: readdir() expects parameter 1 to be resource, object given in %s on line %d -NULL - --- Iteration 23 -- - -Warning: readdir() expects parameter 1 to be resource, null given in %s on line %d -NULL - --- Iteration 24 -- - -Warning: readdir() expects parameter 1 to be resource, null given in %s on line %d -NULL -===DONE=== diff --git a/ext/standard/tests/dir/rewinddir_error-win32-mb.phpt b/ext/standard/tests/dir/rewinddir_error-win32-mb.phpt deleted file mode 100644 index 9fa264ba4c..0000000000 --- a/ext/standard/tests/dir/rewinddir_error-win32-mb.phpt +++ /dev/null @@ -1,48 +0,0 @@ ---TEST-- -Test rewinddir() function : error conditions - incorrect number of args ---SKIPIF-- - ---FILE-- - -===DONE=== ---CLEAN-- - ---EXPECTF-- -*** Testing rewinddir() : error conditions *** - --- Testing rewinddir() function with more than expected no. of arguments -- - -Warning: rewinddir() expects at most 1 parameter, 2 given in %s on line %d -NULL -===DONE=== diff --git a/ext/standard/tests/dir/rewinddir_error.phpt b/ext/standard/tests/dir/rewinddir_error.phpt deleted file mode 100644 index 2019c4a457..0000000000 --- a/ext/standard/tests/dir/rewinddir_error.phpt +++ /dev/null @@ -1,42 +0,0 @@ ---TEST-- -Test rewinddir() function : error conditions - incorrect number of args ---FILE-- - -===DONE=== ---CLEAN-- - ---EXPECTF-- -*** Testing rewinddir() : error conditions *** - --- Testing rewinddir() function with more than expected no. of arguments -- - -Warning: rewinddir() expects at most 1 parameter, 2 given in %s on line %d -NULL -===DONE=== diff --git a/ext/standard/tests/dir/rewinddir_variation1.phpt b/ext/standard/tests/dir/rewinddir_variation1.phpt deleted file mode 100644 index 3007e43adb..0000000000 --- a/ext/standard/tests/dir/rewinddir_variation1.phpt +++ /dev/null @@ -1,211 +0,0 @@ ---TEST-- -Test rewinddir() function : usage variations - different data types as $dir_handle arg ---FILE-- - -===DONE=== ---EXPECTF-- -*** Testing rewinddir() : usage variations *** - --- Iteration 1 -- - -Warning: rewinddir() expects parameter 1 to be resource, int given in %s on line %d -NULL - --- Iteration 2 -- - -Warning: rewinddir() expects parameter 1 to be resource, int given in %s on line %d -NULL - --- Iteration 3 -- - -Warning: rewinddir() expects parameter 1 to be resource, int given in %s on line %d -NULL - --- Iteration 4 -- - -Warning: rewinddir() expects parameter 1 to be resource, int given in %s on line %d -NULL - --- Iteration 5 -- - -Warning: rewinddir() expects parameter 1 to be resource, float given in %s on line %d -NULL - --- Iteration 6 -- - -Warning: rewinddir() expects parameter 1 to be resource, float given in %s on line %d -NULL - --- Iteration 7 -- - -Warning: rewinddir() expects parameter 1 to be resource, float given in %s on line %d -NULL - --- Iteration 8 -- - -Warning: rewinddir() expects parameter 1 to be resource, float given in %s on line %d -NULL - --- Iteration 9 -- - -Warning: rewinddir() expects parameter 1 to be resource, float given in %s on line %d -NULL - --- Iteration 10 -- - -Warning: rewinddir() expects parameter 1 to be resource, null given in %s on line %d -NULL - --- Iteration 11 -- - -Warning: rewinddir() expects parameter 1 to be resource, null given in %s on line %d -NULL - --- Iteration 12 -- - -Warning: rewinddir() expects parameter 1 to be resource, bool given in %s on line %d -NULL - --- Iteration 13 -- - -Warning: rewinddir() expects parameter 1 to be resource, bool given in %s on line %d -NULL - --- Iteration 14 -- - -Warning: rewinddir() expects parameter 1 to be resource, bool given in %s on line %d -NULL - --- Iteration 15 -- - -Warning: rewinddir() expects parameter 1 to be resource, bool given in %s on line %d -NULL - --- Iteration 16 -- - -Warning: rewinddir() expects parameter 1 to be resource, string given in %s on line %d -NULL - --- Iteration 17 -- - -Warning: rewinddir() expects parameter 1 to be resource, string given in %s on line %d -NULL - --- Iteration 18 -- - -Warning: rewinddir() expects parameter 1 to be resource, array given in %s on line %d -NULL - --- Iteration 19 -- - -Warning: rewinddir() expects parameter 1 to be resource, string given in %s on line %d -NULL - --- Iteration 20 -- - -Warning: rewinddir() expects parameter 1 to be resource, string given in %s on line %d -NULL - --- Iteration 21 -- - -Warning: rewinddir() expects parameter 1 to be resource, string given in %s on line %d -NULL - --- Iteration 22 -- - -Warning: rewinddir() expects parameter 1 to be resource, object given in %s on line %d -NULL - --- Iteration 23 -- - -Warning: rewinddir() expects parameter 1 to be resource, null given in %s on line %d -NULL - --- Iteration 24 -- - -Warning: rewinddir() expects parameter 1 to be resource, null given in %s on line %d -NULL -===DONE=== diff --git a/ext/standard/tests/dir/scandir_error1-win32-mb.phpt b/ext/standard/tests/dir/scandir_error1-win32-mb.phpt deleted file mode 100644 index dcb15d46a0..0000000000 --- a/ext/standard/tests/dir/scandir_error1-win32-mb.phpt +++ /dev/null @@ -1,53 +0,0 @@ ---TEST-- -Test scandir() function : error conditions - Incorrect number of args ---SKIPIF-- - ---FILE-- - -===DONE=== ---CLEAN-- - ---EXPECTF-- -*** Testing scandir() : error conditions *** - --- Testing scandir() function with Zero arguments -- - -Warning: scandir() expects at least 1 parameter, 0 given in %s on line %d -NULL - --- Testing scandir() function with more than expected no. of arguments -- - -Warning: scandir() expects at most 3 parameters, 4 given in %s on line %d -NULL -===DONE=== diff --git a/ext/standard/tests/dir/scandir_error1.phpt b/ext/standard/tests/dir/scandir_error1.phpt deleted file mode 100644 index f603b696c9..0000000000 --- a/ext/standard/tests/dir/scandir_error1.phpt +++ /dev/null @@ -1,47 +0,0 @@ ---TEST-- -Test scandir() function : error conditions - Incorrect number of args ---FILE-- - -===DONE=== ---CLEAN-- - ---EXPECTF-- -*** Testing scandir() : error conditions *** - --- Testing scandir() function with Zero arguments -- - -Warning: scandir() expects at least 1 parameter, 0 given in %s on line %d -NULL - --- Testing scandir() function with more than expected no. of arguments -- - -Warning: scandir() expects at most 3 parameters, 4 given in %s on line %d -NULL -===DONE=== diff --git a/ext/standard/tests/dir/scandir_variation1.phpt b/ext/standard/tests/dir/scandir_variation1.phpt deleted file mode 100644 index 6b664a2d2e..0000000000 --- a/ext/standard/tests/dir/scandir_variation1.phpt +++ /dev/null @@ -1,259 +0,0 @@ ---TEST-- -Test scandir() function : usage variations - different data types as $dir arg ---SKIPIF-- - ---FILE-- - -===DONE=== ---EXPECTF-- -*** Testing scandir() : usage variations *** - --- Iteration 1 -- - -Warning: scandir(0): failed to open dir: %s in %s on line %d - -Warning: scandir(): (errno %d): %s in %s on line %d -bool(false) - --- Iteration 2 -- - -Warning: scandir(1): failed to open dir: %s in %s on line %d - -Warning: scandir(): (errno %d): %s in %s on line %d -bool(false) - --- Iteration 3 -- - -Warning: scandir(12345): failed to open dir: %s in %s on line %d - -Warning: scandir(): (errno %d): %s in %s on line %d -bool(false) - --- Iteration 4 -- - -Warning: scandir(-2345): failed to open dir: %s in %s on line %d - -Warning: scandir(): (errno %d): %s in %s on line %d -bool(false) - --- Iteration 5 -- - -Warning: scandir(10.5): failed to open dir: %s in %s on line %d - -Warning: scandir(): (errno %d): %s in %s on line %d -bool(false) - --- Iteration 6 -- - -Warning: scandir(-10.5): failed to open dir: %s in %s on line %d - -Warning: scandir(): (errno %d): %s in %s on line %d -bool(false) - --- Iteration 7 -- - -Warning: scandir(123456789000): failed to open dir: %s in %s on line %d - -Warning: scandir(): (errno %d): %s in %s on line %d -bool(false) - --- Iteration 8 -- - -Warning: scandir(1.23456789E-9): failed to open dir: %s in %s on line %d - -Warning: scandir(): (errno %d): %s in %s on line %d -bool(false) - --- Iteration 9 -- - -Warning: scandir(0.5): failed to open dir: %s in %s on line %d - -Warning: scandir(): (errno %d): %s in %s on line %d -bool(false) - --- Iteration 10 -- - -Warning: scandir(): Directory name cannot be empty in %s on line %d -bool(false) - --- Iteration 11 -- - -Warning: scandir(): Directory name cannot be empty in %s on line %d -bool(false) - --- Iteration 12 -- - -Warning: scandir(1): failed to open dir: %s in %s on line %d - -Warning: scandir(): (errno %d): %s in %s on line %d -bool(false) - --- Iteration 13 -- - -Warning: scandir(): Directory name cannot be empty in %s on line %d -bool(false) - --- Iteration 14 -- - -Warning: scandir(1): failed to open dir: %s in %s on line %d - -Warning: scandir(): (errno %d): %s in %s on line %d -bool(false) - --- Iteration 15 -- - -Warning: scandir(): Directory name cannot be empty in %s on line %d -bool(false) - --- Iteration 16 -- - -Warning: scandir(): Directory name cannot be empty in %s on line %d -bool(false) - --- Iteration 17 -- - -Warning: scandir(): Directory name cannot be empty in %s on line %d -bool(false) - --- Iteration 18 -- - -Warning: scandir() expects parameter 1 to be a valid path, array given in %s on line %d -NULL - --- Iteration 19 -- - -Warning: scandir(string): failed to open dir: %s in %s on line %d - -Warning: scandir(): (errno %d): %s in %s on line %d -bool(false) - --- Iteration 20 -- - -Warning: scandir(string): failed to open dir: %s in %s on line %d - -Warning: scandir(): (errno %d): %s in %s on line %d -bool(false) - --- Iteration 21 -- - -Warning: scandir(hello world): failed to open dir: %s in %s on line %d - -Warning: scandir(): (errno %d): %s in %s on line %d -bool(false) - --- Iteration 22 -- - -Warning: scandir(Class A object): failed to open dir: %s in %s on line %d - -Warning: scandir(): (errno %d): %s in %s on line %d -bool(false) - --- Iteration 23 -- - -Warning: scandir(): Directory name cannot be empty in %s on line %d -bool(false) - --- Iteration 24 -- - -Warning: scandir(): Directory name cannot be empty in %s on line %d -bool(false) - --- Iteration 25 -- - -Warning: scandir() expects parameter 1 to be a valid path, resource given in %s on line %d -NULL -===DONE=== diff --git a/ext/standard/tests/dir/scandir_variation2-mb.phpt b/ext/standard/tests/dir/scandir_variation2-mb.phpt deleted file mode 100644 index 2039ef33e4..0000000000 --- a/ext/standard/tests/dir/scandir_variation2-mb.phpt +++ /dev/null @@ -1,285 +0,0 @@ ---TEST-- -Test scandir() function : usage variations - diff data types as $sorting_order arg ---SKIPIF-- - -===DONE=== ---CLEAN-- - ---EXPECTF-- -*** Testing scandir() : usage variations *** - --- Iteration 1 -- -array(2) { - [0]=> - string(1) "." - [1]=> - string(2) ".." -} - --- Iteration 2 -- -array(2) { - [0]=> - string(2) ".." - [1]=> - string(1) "." -} - --- Iteration 3 -- -array(2) { - [0]=> - string(2) ".." - [1]=> - string(1) "." -} - --- Iteration 4 -- -array(2) { - [0]=> - string(2) ".." - [1]=> - string(1) "." -} - --- Iteration 5 -- -array(2) { - [0]=> - string(2) ".." - [1]=> - string(1) "." -} - --- Iteration 6 -- -array(2) { - [0]=> - string(2) ".." - [1]=> - string(1) "." -} - --- Iteration 7 -- -array(2) { - [0]=> - string(2) ".." - [1]=> - string(1) "." -} - --- Iteration 8 -- -array(2) { - [0]=> - string(1) "." - [1]=> - string(2) ".." -} - --- Iteration 9 -- -array(2) { - [0]=> - string(1) "." - [1]=> - string(2) ".." -} - --- Iteration 10 -- -array(2) { - [0]=> - string(1) "." - [1]=> - string(2) ".." -} - --- Iteration 11 -- -array(2) { - [0]=> - string(1) "." - [1]=> - string(2) ".." -} - --- Iteration 12 -- -array(2) { - [0]=> - string(2) ".." - [1]=> - string(1) "." -} - --- Iteration 13 -- -array(2) { - [0]=> - string(1) "." - [1]=> - string(2) ".." -} - --- Iteration 14 -- -array(2) { - [0]=> - string(2) ".." - [1]=> - string(1) "." -} - --- Iteration 15 -- -array(2) { - [0]=> - string(1) "." - [1]=> - string(2) ".." -} - --- Iteration 16 -- - -Warning: scandir() expects parameter 2 to be int, string given in %s on line %d -NULL - --- Iteration 17 -- - -Warning: scandir() expects parameter 2 to be int, string given in %s on line %d -NULL - --- Iteration 18 -- - -Warning: scandir() expects parameter 2 to be int, array given in %s on line %d -NULL - --- Iteration 19 -- - -Warning: scandir() expects parameter 2 to be int, string given in %s on line %d -NULL - --- Iteration 20 -- - -Warning: scandir() expects parameter 2 to be int, string given in %s on line %d -NULL - --- Iteration 21 -- - -Warning: scandir() expects parameter 2 to be int, string given in %s on line %d -NULL - --- Iteration 22 -- - -Warning: scandir() expects parameter 2 to be int, object given in %s on line %d -NULL - --- Iteration 23 -- -array(2) { - [0]=> - string(1) "." - [1]=> - string(2) ".." -} - --- Iteration 24 -- -array(2) { - [0]=> - string(1) "." - [1]=> - string(2) ".." -} - --- Iteration 25 -- - -Warning: scandir() expects parameter 2 to be int, resource given in %s on line %d -NULL -===DONE=== diff --git a/ext/standard/tests/dir/scandir_variation2.phpt b/ext/standard/tests/dir/scandir_variation2.phpt deleted file mode 100644 index 5bb26f0483..0000000000 --- a/ext/standard/tests/dir/scandir_variation2.phpt +++ /dev/null @@ -1,285 +0,0 @@ ---TEST-- -Test scandir() function : usage variations - diff data types as $sorting_order arg ---SKIPIF-- - -===DONE=== ---CLEAN-- - ---EXPECTF-- -*** Testing scandir() : usage variations *** - --- Iteration 1 -- -array(2) { - [0]=> - string(1) "." - [1]=> - string(2) ".." -} - --- Iteration 2 -- -array(2) { - [0]=> - string(2) ".." - [1]=> - string(1) "." -} - --- Iteration 3 -- -array(2) { - [0]=> - string(2) ".." - [1]=> - string(1) "." -} - --- Iteration 4 -- -array(2) { - [0]=> - string(2) ".." - [1]=> - string(1) "." -} - --- Iteration 5 -- -array(2) { - [0]=> - string(2) ".." - [1]=> - string(1) "." -} - --- Iteration 6 -- -array(2) { - [0]=> - string(2) ".." - [1]=> - string(1) "." -} - --- Iteration 7 -- -array(2) { - [0]=> - string(2) ".." - [1]=> - string(1) "." -} - --- Iteration 8 -- -array(2) { - [0]=> - string(1) "." - [1]=> - string(2) ".." -} - --- Iteration 9 -- -array(2) { - [0]=> - string(1) "." - [1]=> - string(2) ".." -} - --- Iteration 10 -- -array(2) { - [0]=> - string(1) "." - [1]=> - string(2) ".." -} - --- Iteration 11 -- -array(2) { - [0]=> - string(1) "." - [1]=> - string(2) ".." -} - --- Iteration 12 -- -array(2) { - [0]=> - string(2) ".." - [1]=> - string(1) "." -} - --- Iteration 13 -- -array(2) { - [0]=> - string(1) "." - [1]=> - string(2) ".." -} - --- Iteration 14 -- -array(2) { - [0]=> - string(2) ".." - [1]=> - string(1) "." -} - --- Iteration 15 -- -array(2) { - [0]=> - string(1) "." - [1]=> - string(2) ".." -} - --- Iteration 16 -- - -Warning: scandir() expects parameter 2 to be int, string given in %s on line %d -NULL - --- Iteration 17 -- - -Warning: scandir() expects parameter 2 to be int, string given in %s on line %d -NULL - --- Iteration 18 -- - -Warning: scandir() expects parameter 2 to be int, array given in %s on line %d -NULL - --- Iteration 19 -- - -Warning: scandir() expects parameter 2 to be int, string given in %s on line %d -NULL - --- Iteration 20 -- - -Warning: scandir() expects parameter 2 to be int, string given in %s on line %d -NULL - --- Iteration 21 -- - -Warning: scandir() expects parameter 2 to be int, string given in %s on line %d -NULL - --- Iteration 22 -- - -Warning: scandir() expects parameter 2 to be int, object given in %s on line %d -NULL - --- Iteration 23 -- -array(2) { - [0]=> - string(1) "." - [1]=> - string(2) ".." -} - --- Iteration 24 -- -array(2) { - [0]=> - string(1) "." - [1]=> - string(2) ".." -} - --- Iteration 25 -- - -Warning: scandir() expects parameter 2 to be int, resource given in %s on line %d -NULL -===DONE=== diff --git a/ext/standard/tests/dir/scandir_variation3.phpt b/ext/standard/tests/dir/scandir_variation3.phpt deleted file mode 100644 index 567bde0af7..0000000000 --- a/ext/standard/tests/dir/scandir_variation3.phpt +++ /dev/null @@ -1,238 +0,0 @@ ---TEST-- -Test scandir() function : usage variations - diff data types as $context arg ---FILE-- - -===DONE=== ---CLEAN-- - ---EXPECTF-- -*** Testing scandir() : usage variations *** - --- Iteration 1 -- - -Warning: scandir() expects parameter 3 to be resource, int given in %s on line %d -NULL - --- Iteration 2 -- - -Warning: scandir() expects parameter 3 to be resource, int given in %s on line %d -NULL - --- Iteration 3 -- - -Warning: scandir() expects parameter 3 to be resource, int given in %s on line %d -NULL - --- Iteration 4 -- - -Warning: scandir() expects parameter 3 to be resource, int given in %s on line %d -NULL - --- Iteration 5 -- - -Warning: scandir() expects parameter 3 to be resource, float given in %s on line %d -NULL - --- Iteration 6 -- - -Warning: scandir() expects parameter 3 to be resource, float given in %s on line %d -NULL - --- Iteration 7 -- - -Warning: scandir() expects parameter 3 to be resource, float given in %s on line %d -NULL - --- Iteration 8 -- - -Warning: scandir() expects parameter 3 to be resource, float given in %s on line %d -NULL - --- Iteration 9 -- - -Warning: scandir() expects parameter 3 to be resource, float given in %s on line %d -NULL - --- Iteration 10 -- - -Warning: scandir() expects parameter 3 to be resource, null given in %s on line %d -NULL - --- Iteration 11 -- - -Warning: scandir() expects parameter 3 to be resource, null given in %s on line %d -NULL - --- Iteration 12 -- - -Warning: scandir() expects parameter 3 to be resource, bool given in %s on line %d -NULL - --- Iteration 13 -- - -Warning: scandir() expects parameter 3 to be resource, bool given in %s on line %d -NULL - --- Iteration 14 -- - -Warning: scandir() expects parameter 3 to be resource, bool given in %s on line %d -NULL - --- Iteration 15 -- - -Warning: scandir() expects parameter 3 to be resource, bool given in %s on line %d -NULL - --- Iteration 16 -- - -Warning: scandir() expects parameter 3 to be resource, string given in %s on line %d -NULL - --- Iteration 17 -- - -Warning: scandir() expects parameter 3 to be resource, string given in %s on line %d -NULL - --- Iteration 18 -- - -Warning: scandir() expects parameter 3 to be resource, array given in %s on line %d -NULL - --- Iteration 19 -- - -Warning: scandir() expects parameter 3 to be resource, string given in %s on line %d -NULL - --- Iteration 20 -- - -Warning: scandir() expects parameter 3 to be resource, string given in %s on line %d -NULL - --- Iteration 21 -- - -Warning: scandir() expects parameter 3 to be resource, string given in %s on line %d -NULL - --- Iteration 22 -- - -Warning: scandir() expects parameter 3 to be resource, object given in %s on line %d -NULL - --- Iteration 23 -- - -Warning: scandir() expects parameter 3 to be resource, null given in %s on line %d -NULL - --- Iteration 24 -- - -Warning: scandir() expects parameter 3 to be resource, null given in %s on line %d -NULL - --- Iteration 25 -- - -Warning: scandir(): supplied resource is not a valid Stream-Context resource in %s on line %d -array(2) { - [0]=> - string(1) "." - [1]=> - string(2) ".." -} -===DONE=== diff --git a/ext/standard/tests/file/rename_error.phpt b/ext/standard/tests/file/rename_error.phpt deleted file mode 100644 index e0ea2043c9..0000000000 --- a/ext/standard/tests/file/rename_error.phpt +++ /dev/null @@ -1,35 +0,0 @@ ---TEST-- -Test rename() function: error conditions ---FILE-- - ---EXPECTF-- -*** Testing rename() for error conditions *** - -Warning: rename() expects at least 2 parameters, 0 given in %s on line %d -bool(false) - -Warning: rename() expects at least 2 parameters, 1 given in %s on line %d -bool(false) - -Warning: rename() expects at most 3 parameters, 4 given in %s on line %d -bool(false) -Done diff --git a/ext/standard/tests/file/umask_error.phpt b/ext/standard/tests/file/umask_error.phpt deleted file mode 100644 index ddf60abcd6..0000000000 --- a/ext/standard/tests/file/umask_error.phpt +++ /dev/null @@ -1,26 +0,0 @@ ---TEST-- -Test umask() function: error conditions ---SKIPIF-- - ---FILE-- - expected - -echo "Done\n"; -?> ---EXPECTF-- -*** Testing umask() : error conditions *** - -Warning: umask() expects at most 1 parameter, 2 given in %s on line %d -bool(false) -Done diff --git a/ext/standard/tests/image/getimagesize_error1.phpt b/ext/standard/tests/image/getimagesize_error1.phpt deleted file mode 100644 index ade499b67e..0000000000 --- a/ext/standard/tests/image/getimagesize_error1.phpt +++ /dev/null @@ -1,38 +0,0 @@ ---TEST-- -Test getimagesize() function : error conditions - wrong number of args ---FILE-- - -===DONE=== ---EXPECTF-- -*** Testing getimagesize() : error conditions *** - --- Testing getimagesize() function with Zero arguments -- - -Warning: getimagesize() expects at least 1 parameter, 0 given in %s on line %d -NULL - --- Testing getimagesize() function with more than expected no. of arguments -- - -Warning: getimagesize() expects at most 2 parameters, 3 given in %s on line %d -NULL -===DONE=== diff --git a/ext/standard/tests/image/image_type_to_mime_type_error.phpt b/ext/standard/tests/image/image_type_to_mime_type_error.phpt deleted file mode 100644 index b33c645508..0000000000 --- a/ext/standard/tests/image/image_type_to_mime_type_error.phpt +++ /dev/null @@ -1,35 +0,0 @@ ---TEST-- -Test image_type_to_mime_type() function : error conditions - Pass incorrect number of arguments ---FILE-- - -===DONE=== ---EXPECTF-- -*** Testing image_type_to_mime_type() : error conditions *** - --- Testing image_type_to_mime_type() function with Zero arguments -- - -Warning: image_type_to_mime_type() expects exactly 1 parameter, 0 given in %simage_type_to_mime_type_error.php on line 13 -NULL - --- Testing image_type_to_mime_type() function with more than expected no. of arguments -- - -Warning: image_type_to_mime_type() expects exactly 1 parameter, 2 given in %simage_type_to_mime_type_error.php on line 17 -NULL -===DONE=== diff --git a/ext/standard/tests/mail/ezmlm_hash_error.phpt b/ext/standard/tests/mail/ezmlm_hash_error.phpt deleted file mode 100644 index f5bc578558..0000000000 --- a/ext/standard/tests/mail/ezmlm_hash_error.phpt +++ /dev/null @@ -1,66 +0,0 @@ ---TEST-- -Test ezmlm_hash() function : error conditions ---FILE-- - -===DONE=== ---EXPECTF-- -*** Testing ezmlm_hash() : error conditions *** - --- Testing ezmlm_hash() function with fewer than expected no. of arguments -- - -Warning: ezmlm_hash() expects exactly 1 parameter, 0 given in %s on line %d -NULL - --- Testing ezmlm_hash() function with more than expected no. of arguments -- - -Warning: ezmlm_hash() expects exactly 1 parameter, 2 given in %s on line %d -NULL - --- Testing ezmlm_hash() function with invalid input - ARRAY -- - -Warning: ezmlm_hash() expects parameter 1 to be string, array given in %s on line %d -NULL - --- Testing ezmlm_hash() function with invalid input - OBJECT without 'cast_object' method -- - -Warning: ezmlm_hash() expects parameter 1 to be string, object given in %s on line %d -NULL - --- Testing ezmlm_hash() function with invalid input - RESOURCE -- - -Warning: ezmlm_hash() expects parameter 1 to be string, resource given in %s on line %d -NULL -===DONE=== diff --git a/ext/standard/tests/mail/mail_error.phpt b/ext/standard/tests/mail/mail_error.phpt deleted file mode 100644 index efecd162e9..0000000000 --- a/ext/standard/tests/mail/mail_error.phpt +++ /dev/null @@ -1,44 +0,0 @@ ---TEST-- -Test mail() function : error conditions ---FILE-- - -===DONE=== ---EXPECTF-- -*** Testing mail() : error conditions *** - --- Testing mail() function with more than expected no. of arguments -- - -Warning: mail() expects at most 5 parameters, 6 given in %s on line %d -NULL - --- Testing mail() function with less than expected no. of arguments -- - -Warning: mail() expects at least 3 parameters, 2 given in %s on line %d -NULL -===DONE=== diff --git a/ext/standard/tests/math/abs_error.phpt b/ext/standard/tests/math/abs_error.phpt deleted file mode 100644 index 8c2a9f73ce..0000000000 --- a/ext/standard/tests/math/abs_error.phpt +++ /dev/null @@ -1,39 +0,0 @@ ---TEST-- -Test abs() function : error conditions - incorrect number of args ---FILE-- - -===Done=== ---EXPECTF-- -*** Testing abs() : error conditions *** - -Too many arguments - -Warning: abs() expects exactly 1 parameter, 2 given in %s on line %d -NULL - -Too few arguments - -Warning: abs() expects exactly 1 parameter, 0 given in %s on line %d -NULL -===Done=== diff --git a/ext/standard/tests/math/acos_error.phpt b/ext/standard/tests/math/acos_error.phpt deleted file mode 100644 index 6a9dd909a5..0000000000 --- a/ext/standard/tests/math/acos_error.phpt +++ /dev/null @@ -1,29 +0,0 @@ ---TEST-- -Test wrong number of arguments for acos() ---FILE-- - ---EXPECTF-- -Too many arguments - -Warning: acos() expects exactly 1 parameter, 2 given in %s on line %d -NULL - -Too few arguments - -Warning: acos() expects exactly 1 parameter, 0 given in %s on line %d -NULL diff --git a/ext/standard/tests/math/acosh_error.phpt b/ext/standard/tests/math/acosh_error.phpt deleted file mode 100644 index 270796c373..0000000000 --- a/ext/standard/tests/math/acosh_error.phpt +++ /dev/null @@ -1,29 +0,0 @@ ---TEST-- -Test wrong number of arguments for acosh() ---FILE-- - ---EXPECTF-- -Too many arguments - -Warning: acosh() expects exactly 1 parameter, 2 given in %s on line %d -NULL - -Too few arguments - -Warning: acosh() expects exactly 1 parameter, 0 given in %s on line %d -NULL diff --git a/ext/standard/tests/math/asin_error.phpt b/ext/standard/tests/math/asin_error.phpt deleted file mode 100644 index 2428e8a5b4..0000000000 --- a/ext/standard/tests/math/asin_error.phpt +++ /dev/null @@ -1,29 +0,0 @@ ---TEST-- -Test wrong number of arguments for asin() ---FILE-- - ---EXPECTF-- -Too many arguments - -Warning: asin() expects exactly 1 parameter, 2 given in %s on line %d -NULL - -Too few arguments - -Warning: asin() expects exactly 1 parameter, 0 given in %s on line %d -NULL diff --git a/ext/standard/tests/math/asinh_error.phpt b/ext/standard/tests/math/asinh_error.phpt deleted file mode 100644 index ad6bf36014..0000000000 --- a/ext/standard/tests/math/asinh_error.phpt +++ /dev/null @@ -1,29 +0,0 @@ ---TEST-- -Test wrong number of arguments for asinh() ---FILE-- - ---EXPECTF-- -Too many arguments - -Warning: asinh() expects exactly 1 parameter, 2 given in %s on line %d -NULL - -Too few arguments - -Warning: asinh() expects exactly 1 parameter, 0 given in %s on line %d -NULL diff --git a/ext/standard/tests/math/atan2_error.phpt b/ext/standard/tests/math/atan2_error.phpt deleted file mode 100644 index ce9687cf5f..0000000000 --- a/ext/standard/tests/math/atan2_error.phpt +++ /dev/null @@ -1,14 +0,0 @@ ---TEST-- -Test atan2() - wrong params atan2() ---FILE-- - ---EXPECTF-- -Warning: atan2() expects exactly 2 parameters, 0 given in %s on line %d - -Warning: atan2() expects exactly 2 parameters, 1 given in %s on line %d - -Warning: atan2() expects exactly 2 parameters, 3 given in %s on line %d diff --git a/ext/standard/tests/math/atan_error.phpt b/ext/standard/tests/math/atan_error.phpt deleted file mode 100644 index 0a57818088..0000000000 --- a/ext/standard/tests/math/atan_error.phpt +++ /dev/null @@ -1,29 +0,0 @@ ---TEST-- -Test wrong number of arguments for atan() ---FILE-- - ---EXPECTF-- -Too many arguments - -Warning: atan() expects exactly 1 parameter, 2 given in %s on line %d -NULL - -Too few arguments - -Warning: atan() expects exactly 1 parameter, 0 given in %s on line %d -NULL diff --git a/ext/standard/tests/math/bindec_error.phpt b/ext/standard/tests/math/bindec_error.phpt deleted file mode 100644 index a6b96185c1..0000000000 --- a/ext/standard/tests/math/bindec_error.phpt +++ /dev/null @@ -1,37 +0,0 @@ ---TEST-- -Test bindec() function : error conditions - incorrect input ---FILE-- - ---EXPECTF-- -*** Testing bindec() : error conditions *** -Incorrect number of arguments - -Warning: bindec() expects exactly 1 parameter, 0 given in %s on line %d - -Warning: bindec() expects exactly 1 parameter, 2 given in %s on line %d -Incorrect input - -Recoverable fatal error: Object of class classA could not be converted to string in %s on line %d diff --git a/ext/standard/tests/math/ceil_error.phpt b/ext/standard/tests/math/ceil_error.phpt deleted file mode 100644 index 1cf7ce4184..0000000000 --- a/ext/standard/tests/math/ceil_error.phpt +++ /dev/null @@ -1,33 +0,0 @@ ---TEST-- -Test ceil() - error conditions - incorrect number of args ---FILE-- - -===Done=== ---EXPECTF-- -*** Testing ceil() : error conditions *** - -Too many arguments - -Warning: ceil() expects exactly 1 parameter, 2 given in %s on line %d -NULL - -Too few arguments - -Warning: ceil() expects exactly 1 parameter, 0 given in %s on line %d -NULL -===Done=== diff --git a/ext/standard/tests/math/cos_error.phpt b/ext/standard/tests/math/cos_error.phpt deleted file mode 100644 index 21d4692a7a..0000000000 --- a/ext/standard/tests/math/cos_error.phpt +++ /dev/null @@ -1,29 +0,0 @@ ---TEST-- -Test wrong number of arguments for cos() ---FILE-- - ---EXPECTF-- -Too many arguments - -Warning: cos() expects exactly 1 parameter, 2 given in %s on line %d -NULL - -Too few arguments - -Warning: cos() expects exactly 1 parameter, 0 given in %s on line %d -NULL diff --git a/ext/standard/tests/math/cosh_error.phpt b/ext/standard/tests/math/cosh_error.phpt deleted file mode 100644 index c540f72a20..0000000000 --- a/ext/standard/tests/math/cosh_error.phpt +++ /dev/null @@ -1,29 +0,0 @@ ---TEST-- -Test wrong number of arguments for cosh() ---FILE-- - ---EXPECTF-- -Too many arguments - -Warning: cosh() expects exactly 1 parameter, 2 given in %s on line %d -NULL - -Too few arguments - -Warning: cosh() expects exactly 1 parameter, 0 given in %s on line %d -NULL diff --git a/ext/standard/tests/math/decbin_error.phpt b/ext/standard/tests/math/decbin_error.phpt deleted file mode 100644 index 4406c7a40a..0000000000 --- a/ext/standard/tests/math/decbin_error.phpt +++ /dev/null @@ -1,32 +0,0 @@ ---TEST-- -Test expm1() - Error conditions ---INI-- -precision=14 ---FILE-- - -===Done=== ---EXPECTF-- -*** Testing expm1() : error conditions *** - --- Testing expm1() function with less than expected no. of arguments -- - -Warning: expm1() expects exactly 1 parameter, 0 given in %s on line %d - --- Testing expm1() function with more than expected no. of arguments -- - -Warning: expm1() expects exactly 1 parameter, 2 given in %s on line %d -===Done=== diff --git a/ext/standard/tests/math/dechex_error.phpt b/ext/standard/tests/math/dechex_error.phpt deleted file mode 100644 index 66bdc56ff6..0000000000 --- a/ext/standard/tests/math/dechex_error.phpt +++ /dev/null @@ -1,26 +0,0 @@ ---TEST-- -Test dechex() - wrong params dechex() ---FILE-- - -===Done=== ---EXPECTF-- -*** Testing dechex() : error conditions *** - -Incorrect number of arguments - -Warning: dechex() expects exactly 1 parameter, 0 given in %s on line %d - -Warning: dechex() expects exactly 1 parameter, 3 given in %s on line %d -===Done=== diff --git a/ext/standard/tests/math/decoct_error.phpt b/ext/standard/tests/math/decoct_error.phpt deleted file mode 100644 index d3f6699428..0000000000 --- a/ext/standard/tests/math/decoct_error.phpt +++ /dev/null @@ -1,25 +0,0 @@ ---TEST-- -Test decoct() - error conditions ---FILE-- - -===Done=== ---EXPECTF-- -*** Testing decoct() : error conditions *** -Incorrect number of arguments - -Warning: decoct() expects exactly 1 parameter, 0 given in %s on line %d - -Warning: decoct() expects exactly 1 parameter, 3 given in %s on line %d -===Done=== diff --git a/ext/standard/tests/math/deg2rad_error.phpt b/ext/standard/tests/math/deg2rad_error.phpt deleted file mode 100644 index 4bdad8cdb8..0000000000 --- a/ext/standard/tests/math/deg2rad_error.phpt +++ /dev/null @@ -1,31 +0,0 @@ ---TEST-- -Test wrong number of arguments for deg2rad() ---INI-- -precision = 14 ---FILE-- - ---EXPECTF-- -Too many arguments - -Warning: deg2rad() expects exactly 1 parameter, 2 given in %s on line %d -NULL - -Too few arguments - -Warning: deg2rad() expects exactly 1 parameter, 0 given in %s on line %d -NULL diff --git a/ext/standard/tests/math/exp_error.phpt b/ext/standard/tests/math/exp_error.phpt deleted file mode 100644 index 6c8de64ddd..0000000000 --- a/ext/standard/tests/math/exp_error.phpt +++ /dev/null @@ -1,13 +0,0 @@ ---TEST-- -Test exp() - wrong params for exp() ---INI-- -precision=14 ---FILE-- - ---EXPECTF-- -Warning: exp() expects exactly 1 parameter, 0 given in %s on line %d - -Warning: exp() expects exactly 1 parameter, 2 given in %s on line %d diff --git a/ext/standard/tests/math/expm1_error.phpt b/ext/standard/tests/math/expm1_error.phpt deleted file mode 100644 index f743e48d18..0000000000 --- a/ext/standard/tests/math/expm1_error.phpt +++ /dev/null @@ -1,30 +0,0 @@ ---TEST-- -Test expm1() - Error conditions ---FILE-- - -===Done=== ---EXPECTF-- -*** Testing expm1() : error conditions *** - --- Testing expm1() function with less than expected no. of arguments -- - -Warning: expm1() expects exactly 1 parameter, 0 given in %s on line %d - --- Testing expm1() function with more than expected no. of arguments -- - -Warning: expm1() expects exactly 1 parameter, 2 given in %s on line %d -===Done=== diff --git a/ext/standard/tests/math/floor_error.phpt b/ext/standard/tests/math/floor_error.phpt deleted file mode 100644 index d594feca07..0000000000 --- a/ext/standard/tests/math/floor_error.phpt +++ /dev/null @@ -1,33 +0,0 @@ ---TEST-- -Test floor() - error conditions - incorrect number of args ---FILE-- - -===Done=== ---EXPECTF-- -*** Testing floor() : error conditions *** - --- Too many arguments -- - -Warning: floor() expects exactly 1 parameter, 2 given in %s on line %d -NULL - --- Too few arguments -- - -Warning: floor() expects exactly 1 parameter, 0 given in %s on line %d -NULL -===Done=== diff --git a/ext/standard/tests/math/fmod_error.phpt b/ext/standard/tests/math/fmod_error.phpt deleted file mode 100644 index 4720ee46d2..0000000000 --- a/ext/standard/tests/math/fmod_error.phpt +++ /dev/null @@ -1,16 +0,0 @@ ---TEST-- -Test fmod() - wrong params test fmod() ---INI-- -precision=14 ---FILE-- - ---EXPECTF-- -Warning: fmod() expects exactly 2 parameters, 0 given in %s on line 2 - -Warning: fmod() expects exactly 2 parameters, 1 given in %s on line 3 - -Warning: fmod() expects exactly 2 parameters, 3 given in %s on line 4 diff --git a/ext/standard/tests/math/getrandmax_error.phpt b/ext/standard/tests/math/getrandmax_error.phpt deleted file mode 100644 index 6cc87ff468..0000000000 --- a/ext/standard/tests/math/getrandmax_error.phpt +++ /dev/null @@ -1,9 +0,0 @@ ---TEST-- -Test getrandmax() - wrong params test getrandmax() ---FILE-- - ---EXPECTF-- -Warning: getrandmax() expects exactly 0 parameters, 1 given in %s on line 2 -NULL diff --git a/ext/standard/tests/math/hexdec_error.phpt b/ext/standard/tests/math/hexdec_error.phpt deleted file mode 100644 index f65047ffaf..0000000000 --- a/ext/standard/tests/math/hexdec_error.phpt +++ /dev/null @@ -1,36 +0,0 @@ ---TEST-- -Test hexdec() - wrong params test hexdec() ---FILE-- - ---EXPECTF-- -*** Testing hexdec() : error conditions *** - --- Incorrect number of arguments -- - -Warning: hexdec() expects exactly 1 parameter, 0 given in %s on line %d - -Warning: hexdec() expects exactly 1 parameter, 2 given in %s on line %d - --- Incorrect input -- - -Recoverable fatal error: Object of class classA could not be converted to string in %s on line %d diff --git a/ext/standard/tests/math/hypot_error.phpt b/ext/standard/tests/math/hypot_error.phpt deleted file mode 100644 index ab815de400..0000000000 --- a/ext/standard/tests/math/hypot_error.phpt +++ /dev/null @@ -1,33 +0,0 @@ ---TEST-- -Test hypot() - wrong params test hypot() ---FILE-- - -===Done=== ---EXPECTF-- -*** Testing hypot() : error conditions *** - --- Testing hypot() function with less than expected no. of arguments -- - -Warning: hypot() expects exactly 2 parameters, 0 given in %s on line %d - -Warning: hypot() expects exactly 2 parameters, 1 given in %s on line %d - --- Testing hypot() function with more than expected no. of arguments -- - -Warning: hypot() expects exactly 2 parameters, 3 given in %s on line %d -===Done=== diff --git a/ext/standard/tests/math/is_finite_error.phpt b/ext/standard/tests/math/is_finite_error.phpt deleted file mode 100644 index 1c599df4d4..0000000000 --- a/ext/standard/tests/math/is_finite_error.phpt +++ /dev/null @@ -1,11 +0,0 @@ ---TEST-- -Test is_finite() - wrong params test is_finite() ---FILE-- - ---EXPECTF-- -Warning: is_finite() expects exactly 1 parameter, 0 given in %s on line 2 - -Warning: is_finite() expects exactly 1 parameter, 3 given in %s on line 3 diff --git a/ext/standard/tests/math/is_infinite_error.phpt b/ext/standard/tests/math/is_infinite_error.phpt deleted file mode 100644 index 217f89f7ec..0000000000 --- a/ext/standard/tests/math/is_infinite_error.phpt +++ /dev/null @@ -1,11 +0,0 @@ ---TEST-- -Test is_infinite() - wrong params test is_infinite() ---FILE-- - ---EXPECTF-- -Warning: is_infinite() expects exactly 1 parameter, 0 given in %s on line 2 - -Warning: is_infinite() expects exactly 1 parameter, 3 given in %s on line 3 diff --git a/ext/standard/tests/math/is_nan_error.phpt b/ext/standard/tests/math/is_nan_error.phpt deleted file mode 100644 index 4e12d7e816..0000000000 --- a/ext/standard/tests/math/is_nan_error.phpt +++ /dev/null @@ -1,11 +0,0 @@ ---TEST-- -Test is_nan() - wrong params test is_nan() ---FILE-- - ---EXPECTF-- -Warning: is_nan() expects exactly 1 parameter, 0 given in %s on line 2 - -Warning: is_nan() expects exactly 1 parameter, 3 given in %s on line 3 diff --git a/ext/standard/tests/math/log10_error.phpt b/ext/standard/tests/math/log10_error.phpt deleted file mode 100644 index f4e5da8f48..0000000000 --- a/ext/standard/tests/math/log10_error.phpt +++ /dev/null @@ -1,31 +0,0 @@ ---TEST-- -Test wrong number of arguments for log10() ---INI-- -precision = 14 ---FILE-- - ---EXPECTF-- -Too many arguments - -Warning: log10() expects exactly 1 parameter, 2 given in %s on line %d -NULL - -Too few arguments - -Warning: log10() expects exactly 1 parameter, 0 given in %s on line %d -NULL diff --git a/ext/standard/tests/math/log1p_error.phpt b/ext/standard/tests/math/log1p_error.phpt deleted file mode 100644 index 230a66af3a..0000000000 --- a/ext/standard/tests/math/log1p_error.phpt +++ /dev/null @@ -1,29 +0,0 @@ ---TEST-- -Test log1p() - Error conditions ---FILE-- - -===Done=== ---EXPECTF-- -*** Testing log1p() : error conditions *** - --- Testing log1p() function with less than expected no. of arguments -- - -Warning: log1p() expects exactly 1 parameter, 0 given in %s on line %d - --- Testing log1p() function with more than expected no. of arguments -- - -Warning: log1p() expects exactly 1 parameter, 2 given in %s on line %d -===Done=== diff --git a/ext/standard/tests/math/mt_getrandmax_error.phpt b/ext/standard/tests/math/mt_getrandmax_error.phpt deleted file mode 100644 index f360d12aec..0000000000 --- a/ext/standard/tests/math/mt_getrandmax_error.phpt +++ /dev/null @@ -1,9 +0,0 @@ ---TEST-- -Test mt_getrandmax() - wrong paramas mt_getrandmax() ---FILE-- - ---EXPECTF-- -Warning: mt_getrandmax() expects exactly 0 parameters, 1 given in %s on line 2 -NULL diff --git a/ext/standard/tests/math/mt_rand_error.phpt b/ext/standard/tests/math/mt_rand_error.phpt deleted file mode 100644 index 625f3092c5..0000000000 --- a/ext/standard/tests/math/mt_rand_error.phpt +++ /dev/null @@ -1,17 +0,0 @@ ---TEST-- -Test mt_rand() - wrong params test mt_rand() ---FILE-- - ---EXPECTF-- -Warning: mt_rand() expects exactly 2 parameters, 1 given in %s on line 2 - -Warning: mt_rand() expects exactly 2 parameters, 3 given in %s on line 3 - -Warning: mt_rand() expects parameter 1 to be int, string given in %s on line 4 - -Warning: mt_rand() expects parameter 2 to be int, string given in %s on line 5 diff --git a/ext/standard/tests/math/mt_srand_error.phpt b/ext/standard/tests/math/mt_srand_error.phpt deleted file mode 100644 index 569f3d6f21..0000000000 --- a/ext/standard/tests/math/mt_srand_error.phpt +++ /dev/null @@ -1,17 +0,0 @@ ---TEST-- -Test mt_srand() - wrong params test mt_srand() ---FILE-- - ---EXPECTF-- -Warning: mt_srand() expects at most 2 parameters, 3 given in %s on line 2 -NULL - -Warning: mt_srand() expects parameter 1 to be int, string given in %s on line 3 -NULL - -Notice: A non well formed numeric value encountered in %s on line 4 -NULL diff --git a/ext/standard/tests/math/octdec_error.phpt b/ext/standard/tests/math/octdec_error.phpt deleted file mode 100644 index 61be4fdfe0..0000000000 --- a/ext/standard/tests/math/octdec_error.phpt +++ /dev/null @@ -1,37 +0,0 @@ ---TEST-- -Test octdec() - wrong params test octdec() ---FILE-- - ---EXPECTF-- -*** Testing octdec() : error conditions *** - --- Incorrect number of arguments -- - -Warning: octdec() expects exactly 1 parameter, 0 given in %s on line %d - -Warning: octdec() expects exactly 1 parameter, 2 given in %s on line %d - --- Incorrect input -- - -Recoverable fatal error: Object of class classA could not be converted to string in %s on line %d diff --git a/ext/standard/tests/math/pow_error.phpt b/ext/standard/tests/math/pow_error.phpt deleted file mode 100644 index 5c473b6eba..0000000000 --- a/ext/standard/tests/math/pow_error.phpt +++ /dev/null @@ -1,16 +0,0 @@ ---TEST-- -Test pow() - wrong params test pow() ---INI-- -precision=14 ---FILE-- - ---EXPECTF-- -Warning: pow() expects exactly 2 parameters, 0 given in %s line 2 - -Warning: pow() expects exactly 2 parameters, 1 given in %s line 3 - -Warning: pow() expects exactly 2 parameters, 3 given in %s line 4 diff --git a/ext/standard/tests/math/rad2deg_error.phpt b/ext/standard/tests/math/rad2deg_error.phpt deleted file mode 100644 index e49eea2703..0000000000 --- a/ext/standard/tests/math/rad2deg_error.phpt +++ /dev/null @@ -1,31 +0,0 @@ ---TEST-- -Test wrong number of arguments for rad2deg() ---INI-- -precision = 14 ---FILE-- - ---EXPECTF-- -Too many arguments - -Warning: rad2deg() expects exactly 1 parameter, 2 given in %s on line %d -NULL - -Too few arguments - -Warning: rad2deg() expects exactly 1 parameter, 0 given in %s on line %d -NULL diff --git a/ext/standard/tests/math/rand_error.phpt b/ext/standard/tests/math/rand_error.phpt deleted file mode 100644 index 83de20ac20..0000000000 --- a/ext/standard/tests/math/rand_error.phpt +++ /dev/null @@ -1,17 +0,0 @@ ---TEST-- -Test rand() - wrong params test rand() ---FILE-- - ---EXPECTF-- -Warning: rand() expects exactly 2 parameters, 1 given in %s on line 2 - -Warning: rand() expects exactly 2 parameters, 3 given in %s on line 3 - -Warning: rand() expects parameter 1 to be int, string given in %s on line 4 - -Warning: rand() expects parameter 2 to be int, string given in %s on line 5 diff --git a/ext/standard/tests/math/round_error.phpt b/ext/standard/tests/math/round_error.phpt deleted file mode 100644 index eb80722d92..0000000000 --- a/ext/standard/tests/math/round_error.phpt +++ /dev/null @@ -1,31 +0,0 @@ ---TEST-- -Test round() function : error conditions - incorrect number of args ---FILE-- - -===Done=== ---EXPECTF-- -*** Testing round() : error conditions *** - --- Wrong nmumber of arguments -- - -Warning: round() expects at least 1 parameter, 0 given in %s on line %d -NULL -float(500) -===Done=== diff --git a/ext/standard/tests/math/sin_error.phpt b/ext/standard/tests/math/sin_error.phpt deleted file mode 100644 index c6b9f086cd..0000000000 --- a/ext/standard/tests/math/sin_error.phpt +++ /dev/null @@ -1,29 +0,0 @@ ---TEST-- -Test wrong number of arguments for sin() ---FILE-- - ---EXPECTF-- -Too many arguments - -Warning: sin() expects exactly 1 parameter, 2 given in %s on line %d -NULL - -Too few arguments - -Warning: sin() expects exactly 1 parameter, 0 given in %s on line %d -NULL diff --git a/ext/standard/tests/math/sqrt_error.phpt b/ext/standard/tests/math/sqrt_error.phpt deleted file mode 100644 index ac66091838..0000000000 --- a/ext/standard/tests/math/sqrt_error.phpt +++ /dev/null @@ -1,31 +0,0 @@ ---TEST-- -Test wrong number of arguments for sqrt() ---INI-- -precision = 14 ---FILE-- - ---EXPECTF-- -Too many arguments - -Warning: sqrt() expects exactly 1 parameter, 2 given in %s on line %d -NULL - -Too few arguments - -Warning: sqrt() expects exactly 1 parameter, 0 given in %s on line %d -NULL diff --git a/ext/standard/tests/math/srand_error.phpt b/ext/standard/tests/math/srand_error.phpt deleted file mode 100644 index 420698d0b1..0000000000 --- a/ext/standard/tests/math/srand_error.phpt +++ /dev/null @@ -1,32 +0,0 @@ ---TEST-- -Test srand() function : error conditions - incorrect number of args ---FILE-- - -===Done=== ---EXPECTF-- -*** Testing srand() : error conditions *** - -Warning: srand() expects at most 2 parameters, 3 given in %s on line %d -NULL - -Warning: srand() expects parameter 1 to be int, string given in %s on line %d -NULL - -Notice: A non well formed numeric value encountered in %s on line %d -NULL -===Done=== diff --git a/ext/standard/tests/math/tan_error.phpt b/ext/standard/tests/math/tan_error.phpt deleted file mode 100644 index f36e633b16..0000000000 --- a/ext/standard/tests/math/tan_error.phpt +++ /dev/null @@ -1,29 +0,0 @@ ---TEST-- -Test wrong number of arguments for tan() ---FILE-- - ---EXPECTF-- -Too many arguments - -Warning: tan() expects exactly 1 parameter, 2 given in %s on line %d -NULL - -Too few arguments - -Warning: tan() expects exactly 1 parameter, 0 given in %s on line %d -NULL diff --git a/ext/standard/tests/math/tanh_error.phpt b/ext/standard/tests/math/tanh_error.phpt deleted file mode 100644 index 1e38a6cdcf..0000000000 --- a/ext/standard/tests/math/tanh_error.phpt +++ /dev/null @@ -1,29 +0,0 @@ ---TEST-- -Test wrong number of arguments for tanh() ---FILE-- - ---EXPECTF-- -Too many arguments - -Warning: tanh() expects exactly 1 parameter, 2 given in %s on line %d -NULL - -Too few arguments - -Warning: tanh() expects exactly 1 parameter, 0 given in %s on line %d -NULL diff --git a/ext/standard/tests/misc/syslog_parameters.phpt b/ext/standard/tests/misc/syslog_parameters.phpt deleted file mode 100644 index f3551c044e..0000000000 --- a/ext/standard/tests/misc/syslog_parameters.phpt +++ /dev/null @@ -1,22 +0,0 @@ ---TEST-- -Syslog parameter parsing test ---FILE-- - ---EXPECTF-- -Warning: openlog() expects exactly 3 parameters, 0 given in %s on line %d - -Warning: openlog() expects parameter 2 to be int, string given in %s on line %d - -Warning: syslog() expects exactly 2 parameters, 0 given in %s on line %d - -Warning: syslog() expects parameter 1 to be int, string given in %s on line %d - -Warning: closelog() expects exactly 0 parameters, 1 given in %s on line %d diff --git a/ext/standard/tests/misc/time_nanosleep_error1.phpt b/ext/standard/tests/misc/time_nanosleep_error1.phpt deleted file mode 100644 index 58a71e9e4c..0000000000 --- a/ext/standard/tests/misc/time_nanosleep_error1.phpt +++ /dev/null @@ -1,14 +0,0 @@ ---TEST-- -time_nanosleep — Delay for a number of seconds and nanoseconds ---SKIPIF-- - ---CREDITS-- -Àlex Corretgé - alex@corretge.cat ---FILE-- - ---EXPECTF-- -Warning: time_nanosleep() expects parameter 1 to be int, string given in %s.php on line %d diff --git a/ext/standard/tests/misc/time_nanosleep_error2.phpt b/ext/standard/tests/misc/time_nanosleep_error2.phpt deleted file mode 100644 index db1e13f641..0000000000 --- a/ext/standard/tests/misc/time_nanosleep_error2.phpt +++ /dev/null @@ -1,14 +0,0 @@ ---TEST-- -time_nanosleep — Delay for a number of seconds and nanoseconds ---SKIPIF-- - ---CREDITS-- -Àlex Corretgé - alex@corretge.cat ---FILE-- - ---EXPECTF-- -Warning: time_nanosleep() expects parameter 2 to be int, string given in %s.php on line %d diff --git a/ext/standard/tests/misc/time_sleep_until_error2.phpt b/ext/standard/tests/misc/time_sleep_until_error2.phpt deleted file mode 100644 index f570139de5..0000000000 --- a/ext/standard/tests/misc/time_sleep_until_error2.phpt +++ /dev/null @@ -1,14 +0,0 @@ ---TEST-- -time_sleep_until() function - error test for time_sleep_until() ---SKIPIF-- - ---CREDITS-- -Filippo De Santis fd@ideato.it -#PHPTestFest Cesena Italia on 2009-06-20 ---FILE-- - ---EXPECTF-- -Warning: time_sleep_until() expects parameter 1 to be float, string given in %s on line 2 -NULL diff --git a/ext/standard/tests/misc/time_sleep_until_error3.phpt b/ext/standard/tests/misc/time_sleep_until_error3.phpt deleted file mode 100644 index f18e5b3020..0000000000 --- a/ext/standard/tests/misc/time_sleep_until_error3.phpt +++ /dev/null @@ -1,14 +0,0 @@ ---TEST-- -time_sleep_until() function - error test for time_sleep_until() ---SKIPIF-- - ---CREDITS-- -Francesco Fullone ff@ideato.it -#PHPTestFest Cesena Italia on 2009-06-20 ---FILE-- - ---EXPECTF-- -Warning: time_sleep_until() expects exactly 1 parameter, 0 given in %s on line 2 -NULL diff --git a/ext/standard/tests/network/closelog_error.phpt b/ext/standard/tests/network/closelog_error.phpt deleted file mode 100644 index b72048bd76..0000000000 --- a/ext/standard/tests/network/closelog_error.phpt +++ /dev/null @@ -1,27 +0,0 @@ ---TEST-- -Test closelog() function : error conditions ---FILE-- - -===DONE=== ---EXPECTF-- -*** Testing closelog() : error conditions *** - --- Testing closelog() function with one argument -- - -Warning: closelog() expects exactly 0 parameters, 1 given in %s on line %d -NULL -===DONE=== diff --git a/ext/standard/tests/network/gethostbyname_error005.phpt b/ext/standard/tests/network/gethostbyname_error005.phpt deleted file mode 100644 index be4b159dae..0000000000 --- a/ext/standard/tests/network/gethostbyname_error005.phpt +++ /dev/null @@ -1,12 +0,0 @@ ---TEST-- -gethostbyname() function - basic invalid parameter test ---CREDITS-- -"Sylvain R." ---INI-- -display_errors=false ---FILE-- - ---EXPECT-- -NULL diff --git a/ext/standard/tests/network/gethostbynamel_error.phpt b/ext/standard/tests/network/gethostbynamel_error.phpt deleted file mode 100644 index 9d4c29619b..0000000000 --- a/ext/standard/tests/network/gethostbynamel_error.phpt +++ /dev/null @@ -1,36 +0,0 @@ ---TEST-- -Test gethostbynamel() function : error conditions ---FILE-- - ---EXPECTF-- -*** Testing gethostbynamel() : error conditions *** - --- Testing gethostbynamel() function with Zero arguments -- - -Warning: gethostbynamel() expects exactly 1 parameter, 0 given in %s on line %d -NULL - --- Testing gethostbynamel() function with more than expected no. of arguments -- - -Warning: gethostbynamel() expects exactly 1 parameter, 2 given in %s on line %d -NULL -Done diff --git a/ext/standard/tests/network/ip2long_error.phpt b/ext/standard/tests/network/ip2long_error.phpt deleted file mode 100644 index 4816d63943..0000000000 --- a/ext/standard/tests/network/ip2long_error.phpt +++ /dev/null @@ -1,37 +0,0 @@ ---TEST-- -Test ip2long() function : error conditions ---FILE-- - -===DONE=== ---EXPECTF-- -*** Testing ip2long() : error conditions *** - --- Testing ip2long() function with Zero arguments -- - -Warning: ip2long() expects exactly 1 parameter, 0 given in %s on line %d -NULL - --- Testing ip2long() function with more than expected no. of arguments -- - -Warning: ip2long() expects exactly 1 parameter, 2 given in %s on line %d -NULL -===DONE=== diff --git a/ext/standard/tests/network/long2ip_error.phpt b/ext/standard/tests/network/long2ip_error.phpt deleted file mode 100644 index 52cdf55a89..0000000000 --- a/ext/standard/tests/network/long2ip_error.phpt +++ /dev/null @@ -1,37 +0,0 @@ ---TEST-- -Test long2ip() function : error conditions ---FILE-- - -===DONE=== ---EXPECTF-- -*** Testing long2ip() : error conditions *** - --- Testing long2ip() function with Zero arguments -- - -Warning: long2ip() expects exactly 1 parameter, 0 given in %s on line %d -NULL - --- Testing long2ip() function with more than expected no. of arguments -- - -Warning: long2ip() expects exactly 1 parameter, 2 given in %s on line %d -NULL -===DONE=== diff --git a/ext/standard/tests/network/syslog_error.phpt b/ext/standard/tests/network/syslog_error.phpt deleted file mode 100644 index c958af432b..0000000000 --- a/ext/standard/tests/network/syslog_error.phpt +++ /dev/null @@ -1,40 +0,0 @@ ---TEST-- -Test syslog() function : error conditions ---FILE-- - -===DONE=== ---EXPECTF-- -*** Testing syslog() : error conditions *** - --- Testing syslog() function with more than expected no. of arguments -- - -Warning: syslog() expects exactly 2 parameters, 3 given in %s on line %d -NULL - --- Testing syslog() function with less than expected no. of arguments -- - -Warning: syslog() expects exactly 2 parameters, 1 given in %s on line %d -NULL -===DONE=== diff --git a/ext/standard/tests/password/password_get_info_error.phpt b/ext/standard/tests/password/password_get_info_error.phpt deleted file mode 100644 index af676744c8..0000000000 --- a/ext/standard/tests/password/password_get_info_error.phpt +++ /dev/null @@ -1,17 +0,0 @@ ---TEST-- -Test error operation of password_get_info() ---FILE-- - ---EXPECTF-- -Warning: password_get_info() expects exactly 1 parameter, 0 given in %s on line %d -NULL - -Warning: password_get_info() expects parameter 1 to be string, array given in %s on line %d -NULL -OK! diff --git a/ext/standard/tests/serialize/serialization_error_001.phpt b/ext/standard/tests/serialize/serialization_error_001.phpt deleted file mode 100644 index 97c2af4ccb..0000000000 --- a/ext/standard/tests/serialize/serialization_error_001.phpt +++ /dev/null @@ -1,42 +0,0 @@ ---TEST-- -Test serialize() & unserialize() functions: error conditions - wrong number of args. ---FILE-- - ---EXPECTF-- -*** Testing serialize()/unserialize() : error conditions *** - -Warning: serialize() expects exactly 1 parameter, 0 given in %s on line 16 -NULL - -Warning: unserialize() expects at least 1 parameter, 0 given in %s on line 17 -bool(false) - -Warning: serialize() expects exactly 1 parameter, 2 given in %s on line 20 -NULL - -Warning: unserialize() expects at most 2 parameters, 3 given in %s on line 21 -bool(false) -Done diff --git a/ext/standard/tests/streams/stream_context_set_option_error_001.phpt b/ext/standard/tests/streams/stream_context_set_option_error_001.phpt deleted file mode 100644 index ad75650b50..0000000000 --- a/ext/standard/tests/streams/stream_context_set_option_error_001.phpt +++ /dev/null @@ -1,21 +0,0 @@ ---TEST-- -stream_context_set_option() function - error : invalid argument ---CREDITS-- -Jean-Marc Fontaine -# Alter Way Contribution Day 2011 ---FILE-- - ---EXPECTF-- -Warning: stream_context_set_option() expects parameter 2 to be array, string given in %s on line %d -bool(false) - -Warning: stream_context_set_option() expects parameter 2 to be string, array given in %s on line %d -bool(false) diff --git a/ext/standard/tests/streams/stream_context_set_option_error_002.phpt b/ext/standard/tests/streams/stream_context_set_option_error_002.phpt deleted file mode 100644 index ea3a5db851..0000000000 --- a/ext/standard/tests/streams/stream_context_set_option_error_002.phpt +++ /dev/null @@ -1,18 +0,0 @@ ---TEST-- -stream_context_set_option() function - error : missing argument ---CREDITS-- -Jean-Marc Fontaine -# Alter Way Contribution Day 2011 ---FILE-- - ---EXPECTF-- -Warning: stream_context_set_option() expects exactly 4 parameters, 0 given in %s on line %d -bool(false) - -Warning: stream_context_set_option() expects exactly 4 parameters, 1 given in %s on line %d -bool(false) diff --git a/ext/standard/tests/strings/strlen_error.phpt b/ext/standard/tests/strings/strlen_error.phpt deleted file mode 100644 index d893936de3..0000000000 --- a/ext/standard/tests/strings/strlen_error.phpt +++ /dev/null @@ -1,33 +0,0 @@ ---TEST-- -Test strlen() function : error conditions ---FILE-- - -===DONE=== ---EXPECTF-- -*** Testing strlen() : unexpected number of arguments *** --- Testing strlen() function with no arguments -- - -Warning: strlen() expects exactly 1 parameter, 0 given in %s on line %d -NULL - --- Testing strlen() function with more than expected no. of arguments -- - -Warning: strlen() expects exactly 1 parameter, 2 given in %s on line %d -NULL -===DONE=== diff --git a/ext/standard/tests/strings/strripos_error.phpt b/ext/standard/tests/strings/strripos_error.phpt deleted file mode 100644 index 97445f0c86..0000000000 --- a/ext/standard/tests/strings/strripos_error.phpt +++ /dev/null @@ -1,34 +0,0 @@ ---TEST-- -Test strripos() function : error conditions ---FILE-- - -===DONE=== ---EXPECTF-- -*** Testing strripos() function: error conditions *** --- With Zero arguments -- -Warning: strripos() expects at least 2 parameters, 0 given in %s on line %d -bool(false) - --- With less than expected number of arguments -- -Warning: strripos() expects at least 2 parameters, 1 given in %s on line %d -bool(false) - --- With more than expected number of arguments -- -Warning: strripos() expects at most 3 parameters, 4 given in %s on line %d -bool(false) -===DONE=== diff --git a/ext/standard/tests/url/base64_decode_error_001.phpt b/ext/standard/tests/url/base64_decode_error_001.phpt deleted file mode 100644 index 8da0a3ae2f..0000000000 --- a/ext/standard/tests/url/base64_decode_error_001.phpt +++ /dev/null @@ -1,38 +0,0 @@ ---TEST-- -Test base64_decode() function : error conditions - wrong number of args ---FILE-- - ---EXPECTF-- -*** Testing base64_decode() : error conditions *** - --- Testing base64_decode() function with Zero arguments -- - -Warning: base64_decode() expects at least 1 parameter, 0 given in %s on line 12 -NULL - --- Testing base64_decode() function with more than expected no. of arguments -- - -Warning: base64_decode() expects at most 2 parameters, 3 given in %s on line 19 -NULL -Done diff --git a/ext/standard/tests/url/base64_encode_error_001.phpt b/ext/standard/tests/url/base64_encode_error_001.phpt deleted file mode 100644 index d9f7632175..0000000000 --- a/ext/standard/tests/url/base64_encode_error_001.phpt +++ /dev/null @@ -1,37 +0,0 @@ ---TEST-- -Test base64_encode() function : error conditions - wrong number of args ---FILE-- - ---EXPECTF-- -*** Testing base64_encode() : error conditions - wrong number of args *** - --- Testing base64_encode() function with Zero arguments -- - -Warning: base64_encode() expects exactly 1 parameter, 0 given in %s on line 12 -NULL - --- Testing base64_encode() function with more than expected no. of arguments -- - -Warning: base64_encode() expects exactly 1 parameter, 2 given in %s on line 18 -NULL -Done diff --git a/ext/standard/tests/url/get_headers_error_001.phpt b/ext/standard/tests/url/get_headers_error_001.phpt deleted file mode 100644 index cf8dee95fb..0000000000 --- a/ext/standard/tests/url/get_headers_error_001.phpt +++ /dev/null @@ -1,42 +0,0 @@ ---TEST-- -Test get_headers() function : error conditions - wrong number of args ---CREDITS-- -June Henriksen -#PHPTestFest2009 Norway 2009-06-09 \o/ ---FILE-- - ---EXPECTF-- -*** Testing get_headers() : error conditions *** - --- Testing get_headers() function with Zero arguments -- - -Warning: get_headers() expects at least 1 parameter, 0 given in %s on line 12 -NULL - --- Testing get_headers() function with more than expected no. of arguments -- - -Warning: get_headers() expects at most 3 parameters, 4 given in %s on line 20 -NULL -Done diff --git a/ext/standard/tests/url/get_headers_error_002.phpt b/ext/standard/tests/url/get_headers_error_002.phpt deleted file mode 100644 index 17984534a7..0000000000 --- a/ext/standard/tests/url/get_headers_error_002.phpt +++ /dev/null @@ -1,54 +0,0 @@ ---TEST-- -Test get_headers() function: wrong type for argument format ---CREDITS-- -June Henriksen -#PHPTestFest2009 Norway 2009-06-09 \o/ ---FILE-- - ---EXPECTF-- -*** Testing get_headers() : error conditions *** - --- Testing get_headers() function with format argument as type string -- - -Warning: get_headers() expects parameter 2 to be int, string given in %s on line 13 -NULL - --- Testing get_headers() function with format argument as type array -- - -Warning: get_headers() expects parameter 2 to be int, array given in %s on line 17 -NULL - --- Testing get_headers() function with format argument as type object -- - -Warning: get_headers() expects parameter 2 to be int, object given in %s on line 26 -NULL -Done diff --git a/ext/standard/tests/url/parse_url_error_001.phpt b/ext/standard/tests/url/parse_url_error_001.phpt deleted file mode 100644 index b527a67d1b..0000000000 --- a/ext/standard/tests/url/parse_url_error_001.phpt +++ /dev/null @@ -1,38 +0,0 @@ ---TEST-- -Test parse_url() function : error conditions - wrong number of args ---FILE-- - ---EXPECTF-- -*** Testing parse_url() : error conditions *** - --- Testing parse_url() function with Zero arguments -- - -Warning: parse_url() expects at least 1 parameter, 0 given in %s on line 12 -NULL - --- Testing parse_url() function with more than expected no. of arguments -- - -Warning: parse_url() expects at most 2 parameters, 3 given in %s on line 19 -NULL -Done diff --git a/ext/standard/tests/url/rawurldecode_error_001.phpt b/ext/standard/tests/url/rawurldecode_error_001.phpt deleted file mode 100644 index 0fe038caef..0000000000 --- a/ext/standard/tests/url/rawurldecode_error_001.phpt +++ /dev/null @@ -1,39 +0,0 @@ ---TEST-- -Test rawurldecode() function : error conditions - wrong number of args ---FILE-- - ---EXPECTF-- -*** Testing rawurldecode() : error conditions *** - --- Testing rawurldecode() function with Zero arguments -- - -Warning: rawurldecode() expects exactly 1 parameter, 0 given in %s on line 14 -NULL - --- Testing rawurldecode() function with more than expected no. of arguments -- - -Warning: rawurldecode() expects exactly 1 parameter, 2 given in %s on line 20 -NULL -Done diff --git a/ext/standard/tests/url/rawurlencode_error_001.phpt b/ext/standard/tests/url/rawurlencode_error_001.phpt deleted file mode 100644 index 9bfb8140db..0000000000 --- a/ext/standard/tests/url/rawurlencode_error_001.phpt +++ /dev/null @@ -1,39 +0,0 @@ ---TEST-- -Test rawurlencode() function : error conditions ---FILE-- - ---EXPECTF-- -*** Testing rawurlencode() : error conditions *** - --- Testing rawurlencode() function with Zero arguments -- - -Warning: rawurlencode() expects exactly 1 parameter, 0 given in %s on line 14 -NULL - --- Testing rawurlencode() function with more than expected no. of arguments -- - -Warning: rawurlencode() expects exactly 1 parameter, 2 given in %s on line 20 -NULL -Done diff --git a/ext/standard/tests/url/urldecode_error_001.phpt b/ext/standard/tests/url/urldecode_error_001.phpt deleted file mode 100644 index 44e8b613da..0000000000 --- a/ext/standard/tests/url/urldecode_error_001.phpt +++ /dev/null @@ -1,39 +0,0 @@ ---TEST-- -Test urldecode() function : error conditions ---FILE-- - ---EXPECTF-- -*** Testing urldecode() : error conditions *** - --- Testing urldecode() function with Zero arguments -- - -Warning: urldecode() expects exactly 1 parameter, 0 given in %s on line 14 -NULL - --- Testing urldecode() function with more than expected no. of arguments -- - -Warning: urldecode() expects exactly 1 parameter, 2 given in %s on line 20 -NULL -Done diff --git a/ext/standard/tests/url/urlencode_error_001.phpt b/ext/standard/tests/url/urlencode_error_001.phpt deleted file mode 100644 index 190590bc88..0000000000 --- a/ext/standard/tests/url/urlencode_error_001.phpt +++ /dev/null @@ -1,39 +0,0 @@ ---TEST-- -Test urlencode() function : error conditions ---FILE-- - ---EXPECTF-- -*** Testing urlencode() : error conditions *** - --- Testing urlencode() function with Zero arguments -- - -Warning: urlencode() expects exactly 1 parameter, 0 given in %s on line 14 -NULL - --- Testing urlencode() function with more than expected no. of arguments -- - -Warning: urlencode() expects exactly 1 parameter, 2 given in %s on line 20 -NULL -Done -- 2.49.0