From 09564b6e2954e8323ffa7c538372dcee7b0f7554 Mon Sep 17 00:00:00 2001 From: Nikita Popov Date: Wed, 5 Jun 2019 10:39:06 +0200 Subject: [PATCH 1/4] Deprecate passing null to non-nullable internal arg A lot of test updates missing. --- Zend/tests/bug43201.phpt | 12 ++++++++++++ Zend/tests/bug54265.phpt | 2 +- Zend/tests/bug64677.phpt | 2 +- Zend/tests/class_exists_002.phpt | 2 ++ Zend/tests/exception_001.phpt | 2 +- Zend/tests/interface_exists_001.phpt | 2 ++ Zend/tests/trait_exists_001.phpt | 2 ++ Zend/zend_API.c | 15 +++++++++++++++ .../tests/strings/addcslashes_001.phpt | Bin 1585 -> 1583 bytes .../tests/strings/addcslashes_003.phpt | Bin 1312 -> 1649 bytes 10 files changed, 36 insertions(+), 3 deletions(-) diff --git a/Zend/tests/bug43201.phpt b/Zend/tests/bug43201.phpt index 2ab26ca4b9070..4ec1338fcc0bf 100644 --- a/Zend/tests/bug43201.phpt +++ b/Zend/tests/bug43201.phpt @@ -30,25 +30,37 @@ Notice: Undefined variable: ref in %sbug43201.php on line 14 Notice: Undefined variable: undef in %sbug43201.php on line 16 +Deprecated: Passing null to argument of type string is deprecated in %s on line 16 + Notice: Indirect modification of overloaded property Foo::$arr has no effect in %sbug43201.php on line 17 Notice: Undefined variable: undef in %sbug43201.php on line 16 +Deprecated: Passing null to argument of type string is deprecated in %s on line 16 + Notice: Indirect modification of overloaded property Foo::$arr has no effect in %sbug43201.php on line 17 Notice: Undefined variable: undef in %sbug43201.php on line 16 +Deprecated: Passing null to argument of type string is deprecated in %s on line 16 + Notice: Indirect modification of overloaded property Foo::$arr has no effect in %sbug43201.php on line 17 Notice: Undefined variable: undef in %sbug43201.php on line 16 +Deprecated: Passing null to argument of type string is deprecated in %s on line 16 + Notice: Indirect modification of overloaded property Foo::$arr has no effect in %sbug43201.php on line 17 Notice: Undefined variable: undef in %sbug43201.php on line 16 +Deprecated: Passing null to argument of type string is deprecated in %s on line 16 + Notice: Indirect modification of overloaded property Foo::$arr has no effect in %sbug43201.php on line 17 Notice: Undefined variable: undef in %sbug43201.php on line 16 +Deprecated: Passing null to argument of type string is deprecated in %s on line 16 + Notice: Indirect modification of overloaded property Foo::$arr has no effect in %sbug43201.php on line 17 ok diff --git a/Zend/tests/bug54265.phpt b/Zend/tests/bug54265.phpt index 417e1b556452e..da297a66a71a8 100644 --- a/Zend/tests/bug54265.phpt +++ b/Zend/tests/bug54265.phpt @@ -8,7 +8,7 @@ function my_errorhandler($errno,$errormsg) { echo "EROOR: $errormsg\n"; } set_error_handler("my_errorhandler"); -$my_var = str_repeat("A",$my_var[0]->errormsg = "xyz"); +$my_var = array_fill_keys(["A"], $my_var[0]->errormsg = "xyz"); echo "ok\n"; ?> --EXPECT-- diff --git a/Zend/tests/bug64677.phpt b/Zend/tests/bug64677.phpt index 44a7c5fc6f31a..2305029d0b840 100644 --- a/Zend/tests/bug64677.phpt +++ b/Zend/tests/bug64677.phpt @@ -7,7 +7,7 @@ class cat { } } $cat = new cat(); -$cat->show_output('Files: ', trim(`cd .`)); // this gives invalid args to shell_exec +$cat->show_output('Files: ', trim((string) `cd .`)); // this gives invalid args to shell_exec $cat->show_output('Files: ', `cd .`); // this causes a segmentation fault $cat->show_output(`cd .`); // this causes a segmentation fault diff --git a/Zend/tests/class_exists_002.phpt b/Zend/tests/class_exists_002.phpt index ebe04575afbef..7171ac7e598e2 100644 --- a/Zend/tests/class_exists_002.phpt +++ b/Zend/tests/class_exists_002.phpt @@ -17,6 +17,8 @@ var_dump(class_exists(new stdClass)); ?> --EXPECTF-- bool(false) + +Deprecated: Passing null to argument of type string is deprecated in %s on line %d bool(false) bool(true) bool(false) diff --git a/Zend/tests/exception_001.phpt b/Zend/tests/exception_001.phpt index a206f3461c406..840c3d92b9079 100644 --- a/Zend/tests/exception_001.phpt +++ b/Zend/tests/exception_001.phpt @@ -7,7 +7,7 @@ try { try { try { try { - throw new Exception(NULL); + throw new Exception(); } catch (Exception $e) { var_dump($e->getMessage()); throw $e; diff --git a/Zend/tests/interface_exists_001.phpt b/Zend/tests/interface_exists_001.phpt index ab20dd20ea173..9d7a9473d2099 100644 --- a/Zend/tests/interface_exists_001.phpt +++ b/Zend/tests/interface_exists_001.phpt @@ -15,6 +15,8 @@ var_dump(interface_exists(new stdClass)); --EXPECTF-- bool(true) bool(false) + +Deprecated: Passing null to argument of type string is deprecated in %s on line %d bool(false) Warning: interface_exists() expects parameter 1 to be string, object given in %s on line %d diff --git a/Zend/tests/trait_exists_001.phpt b/Zend/tests/trait_exists_001.phpt index 10ce3fa0cba11..284cea9f0c244 100644 --- a/Zend/tests/trait_exists_001.phpt +++ b/Zend/tests/trait_exists_001.phpt @@ -15,6 +15,8 @@ var_dump(trait_exists(new stdClass)); --EXPECTF-- bool(true) bool(false) + +Deprecated: Passing null to argument of type string is deprecated in %s on line %d bool(false) Warning: trait_exists() expects parameter 1 to be string, object given in %s on line %d diff --git a/Zend/zend_API.c b/Zend/zend_API.c index 10b47a1919584..6fd7435480bfc 100644 --- a/Zend/zend_API.c +++ b/Zend/zend_API.c @@ -364,6 +364,9 @@ ZEND_API int ZEND_FASTCALL zend_parse_arg_class(zval *arg, zend_class_entry **pc ZEND_API int ZEND_FASTCALL zend_parse_arg_bool_weak(zval *arg, zend_bool *dest) /* {{{ */ { if (EXPECTED(Z_TYPE_P(arg) <= IS_STRING)) { + if (UNEXPECTED(Z_TYPE_P(arg) == IS_NULL)) { + zend_error(E_DEPRECATED, "Passing null to argument of type bool is deprecated"); + } *dest = zend_is_true(arg); } else { return 0; @@ -411,6 +414,9 @@ ZEND_API int ZEND_FASTCALL zend_parse_arg_long_weak(zval *arg, zend_long *dest) } } } else if (EXPECTED(Z_TYPE_P(arg) < IS_TRUE)) { + if (UNEXPECTED(Z_TYPE_P(arg) == IS_NULL)) { + zend_error(E_DEPRECATED, "Passing null to argument of type int is deprecated"); + } *dest = 0; } else if (EXPECTED(Z_TYPE_P(arg) == IS_TRUE)) { *dest = 1; @@ -452,6 +458,9 @@ ZEND_API int ZEND_FASTCALL zend_parse_arg_long_cap_weak(zval *arg, zend_long *de } } } else if (EXPECTED(Z_TYPE_P(arg) < IS_TRUE)) { + if (UNEXPECTED(Z_TYPE_P(arg) == IS_NULL)) { + zend_error(E_DEPRECATED, "Passing null to argument of type int is deprecated"); + } *dest = 0; } else if (EXPECTED(Z_TYPE_P(arg) == IS_TRUE)) { *dest = 1; @@ -487,6 +496,9 @@ ZEND_API int ZEND_FASTCALL zend_parse_arg_double_weak(zval *arg, double *dest) / } } } else if (EXPECTED(Z_TYPE_P(arg) < IS_TRUE)) { + if (UNEXPECTED(Z_TYPE_P(arg) == IS_NULL)) { + zend_error(E_DEPRECATED, "Passing null to argument of type float is deprecated"); + } *dest = 0.0; } else if (EXPECTED(Z_TYPE_P(arg) == IS_TRUE)) { *dest = 1.0; @@ -512,6 +524,9 @@ ZEND_API int ZEND_FASTCALL zend_parse_arg_double_slow(zval *arg, double *dest) / ZEND_API int ZEND_FASTCALL zend_parse_arg_str_weak(zval *arg, zend_string **dest) /* {{{ */ { if (EXPECTED(Z_TYPE_P(arg) < IS_STRING)) { + if (UNEXPECTED(Z_TYPE_P(arg) == IS_NULL)) { + zend_error(E_DEPRECATED, "Passing null to argument of type string is deprecated"); + } convert_to_string(arg); *dest = Z_STR_P(arg); } else if (UNEXPECTED(Z_TYPE_P(arg) == IS_OBJECT)) { diff --git a/ext/standard/tests/strings/addcslashes_001.phpt b/ext/standard/tests/strings/addcslashes_001.phpt index 4080c7214d76db1cf3ad832925c560b832dee884..094f86ffda87cb0eea43f3f48a1b5050fec96a09 100644 GIT binary patch delta 15 WcmdnUvz}*z5F?Y4(q=J6X;uItwF7Jb delta 17 YcmZ3_vyo?m5F?9UsE^NP5k_fN04~7o4Kt(L<{D;R#(FN7)Pkba*#Ny)2ymW=U(wrQHl6-~4qV&?- z)Vvaf{4|A<%7Rpd;*uhed}gsi3S65)W}bp-u|j^HLQZC0s)A|?7etkYv8IBOp^>o? k7alt-$hBnherD0hYgxo-;sHDkMt83Uv7rKX@O2hX0Jvv`U;qFB delta 40 wcmey!vw&+u4fEz&W?n}A;*z4wymSp?O$8-GBV(n>j;z{~omfRCYp{6&00XTHH~;_u From 577f94834dbfc32f3dab0a4ac13d1c9abf9cc9eb Mon Sep 17 00:00:00 2001 From: Nikita Popov Date: Wed, 5 Jun 2019 11:08:43 +0200 Subject: [PATCH 2/4] Some test updates The ones where bless_tests.php worked right with little modification. --- .../tests/array/array_filter_variation9.phpt | 2 + ext/standard/tests/array/count_recursive.phpt | 10 +- ext/standard/tests/file/005_variation2.phpt | 8 + ext/standard/tests/file/007_error.phpt | 2 + ext/standard/tests/file/basename.phpt | Bin 8212 -> 8716 bytes ext/standard/tests/file/basename_basic.phpt | 4 +- ext/standard/tests/file/bug51094.phpt | 10 +- ext/standard/tests/file/bug61961.phpt | 5 +- .../tests/file/fgetcsv_variation3.phpt | 240 +++++ .../tests/file/fgetcsv_variation4.phpt | 240 +++++ .../tests/file/fgetcsv_variation5.phpt | 934 ----------------- .../tests/file/file_exists_variation1.phpt | 4 +- .../file/file_get_contents_variation8.phpt | 2 + .../file/file_put_contents_variation5.phpt | 4 +- .../file/file_put_contents_variation8.phpt | Bin 2383 -> 2501 bytes .../tests/file/filegroup_variation2.phpt | 2 + .../tests/file/fileinode_variation2.phpt | 2 + .../tests/file/fileowner_variation2.phpt | 2 + .../tests/file/fileperms_variation2.phpt | 2 + .../tests/file/filesize_variation5.phpt | 2 + ext/standard/tests/file/flock_error.phpt | 2 + ext/standard/tests/file/fnmatch_basic.phpt | 6 +- .../tests/file/fnmatch_variation.phpt | 44 + .../tests/file/fputcsv_variation2.phpt | 216 ++++ .../tests/file/fputcsv_variation3.phpt | 216 ++++ .../tests/file/fputcsv_variation4.phpt | 941 ------------------ ext/standard/tests/file/fread_error.phpt | 2 + ext/standard/tests/file/fscanf_error.phpt | 2 + ext/standard/tests/file/glob_variation3.phpt | 3 +- .../tests/file/is_dir_variation3.phpt | 2 + .../tests/file/is_executable_variation3.phpt | 4 + .../tests/file/is_file_variation3.phpt | 2 + .../tests/file/is_readable_variation3.phpt | 4 + .../tests/file/is_writable_variation3.phpt | 8 + .../tests/file/lstat_stat_variation22.phpt | 4 + .../tests/file/pathinfo_variaton.phpt | 30 + ext/standard/tests/file/readfile_error.phpt | 4 +- .../tests/file/readfile_variation10.phpt | Bin 1862 -> 1963 bytes .../file/readlink_realpath_variation3.phpt | 12 +- .../tests/file/readlink_variation1.phpt | 6 - .../tests/file/rename_variation13.phpt | 20 - .../symlink_link_linkinfo_is_link_error1.phpt | 22 - .../symlink_link_linkinfo_is_link_error2.phpt | 22 - .../tests/file/tempnam_variation3.phpt | 19 +- .../tests/file/tempnam_variation7.phpt | 19 +- ext/standard/tests/file/unlink_error.phpt | 25 - .../escapeshellarg_variation1.phpt | 10 +- .../get_cfg_var_variation3.phpt | 10 +- .../getservbyname_variation10.phpt | 10 +- .../getservbyname_variation3.phpt | 10 +- .../getservbyport_variation1.phpt | 4 + .../tests/image/image_type_to_extension.phpt | 2 + ext/standard/tests/math/acos_variation.phpt | 2 + ext/standard/tests/math/acosh_variation.phpt | 2 + ext/standard/tests/math/asin_variation.phpt | 2 + ext/standard/tests/math/asinh_variation.phpt | 2 + ext/standard/tests/math/atan2_basic.phpt | 50 +- ext/standard/tests/math/atan_variation.phpt | 2 + ext/standard/tests/math/atanh_variation.phpt | 2 + ext/standard/tests/math/cos_variation.phpt | 2 + ext/standard/tests/math/cosh_variation.phpt | 2 + .../tests/math/deg2rad_variation.phpt | 2 + ext/standard/tests/math/exp_basic.phpt | 4 +- ext/standard/tests/math/expm1_basic.phpt | 4 +- ext/standard/tests/math/fmod_basic.phpt | 50 +- ext/standard/tests/math/hypot_basic.phpt | 98 +- ext/standard/tests/math/is_finite_basic.phpt | 4 +- .../tests/math/is_infinite_basic.phpt | 4 +- ext/standard/tests/math/is_nan_basic.phpt | 4 +- ext/standard/tests/math/log10_variation.phpt | 2 + ext/standard/tests/math/log1p_basic.phpt | 4 +- ext/standard/tests/math/log_basic.phpt | 8 +- ext/standard/tests/math/mt_rand_basic.phpt | 202 +++- ext/standard/tests/math/mt_srand_basic.phpt | 4 +- .../tests/math/number_format_basic.phpt | 12 +- .../tests/math/number_format_multichar.phpt | 10 +- .../tests/math/rad2deg_variation.phpt | 2 + ext/standard/tests/math/rand_basic.phpt | 1 - ext/standard/tests/math/round_basic.phpt | 20 +- ext/standard/tests/math/sin_variation.phpt | 2 + ext/standard/tests/math/sinh_variation.phpt | 2 + ext/standard/tests/math/sqrt_variation.phpt | 2 + ext/standard/tests/math/srand_basic.phpt | 4 +- ext/standard/tests/math/tan_variation.phpt | 2 + ext/standard/tests/math/tanh_variation.phpt | 2 + .../tests/password/password_verify.phpt | 4 +- .../tests/strings/basename_variation.phpt | 14 +- ext/standard/tests/strings/bug21338.phpt | 3 +- ext/standard/tests/strings/bug51899.phpt | 4 +- .../tests/strings/chop_variation5.phpt | 4 +- .../tests/strings/chr_variation1.phpt | 10 +- .../tests/strings/htmlentities24.phpt | 6 + .../tests/strings/htmlspecialchars.phpt | 6 + ext/standard/tests/strings/lcfirst.phpt | Bin 6304 -> 6388 bytes ext/standard/tests/strings/ltrim.phpt | 4 + ext/standard/tests/strings/md5_file.phpt | Bin 2876 -> 2960 bytes ext/standard/tests/strings/nl2br.phpt | 4 +- .../tests/strings/number_format_basic.phpt | 10 +- .../strings/quoted_printable_encode_001.phpt | 2 + ext/standard/tests/strings/rtrim.phpt | Bin 2446 -> 2530 bytes ext/standard/tests/strings/sha1_file.phpt | 2 + .../tests/strings/str_getcsv_001.phpt | 4 +- ext/standard/tests/strings/str_pad.phpt | Bin 9812 -> 12416 bytes ext/standard/tests/strings/str_repeat.phpt | Bin 16698 -> 18849 bytes .../tests/strings/str_word_count.phpt | 12 + .../tests/strings/str_word_count1.phpt | 2 + ext/standard/tests/strings/strcasecmp.phpt | Bin 21284 -> 20645 bytes ext/standard/tests/strings/strcmp.phpt | Bin 19060 -> 18460 bytes .../tests/strings/stripos_variation11.phpt | 16 + ext/standard/tests/strings/stristr_error.phpt | 2 + ext/standard/tests/strings/strlen.phpt | Bin 6420 -> 6504 bytes ext/standard/tests/strings/strpos.phpt | Bin 12013 -> 12343 bytes .../tests/strings/strrchr_variation11.phpt | 44 +- ext/standard/tests/strings/strrev.phpt | 4 +- .../tests/strings/strrpos_variation11.phpt | 88 +- ext/standard/tests/strings/strstr.phpt | Bin 11493 -> 12486 bytes ext/standard/tests/strings/strtolower.phpt | Bin 3886 -> 3970 bytes ext/standard/tests/strings/strtoupper1.phpt | Bin 3895 -> 3979 bytes .../tests/strings/strtr_variation4.phpt | 10 +- ext/standard/tests/strings/substr.phpt | Bin 4781 -> 5789 bytes .../strings/substr_count_variation_001.phpt | 10 +- ext/standard/tests/strings/trim1.phpt | Bin 2045 -> 2212 bytes ext/standard/tests/strings/ucfirst.phpt | Bin 5536 -> 5620 bytes 123 files changed, 1812 insertions(+), 2124 deletions(-) delete mode 100644 ext/standard/tests/file/fgetcsv_variation5.phpt delete mode 100644 ext/standard/tests/file/fputcsv_variation4.phpt diff --git a/ext/standard/tests/array/array_filter_variation9.phpt b/ext/standard/tests/array/array_filter_variation9.phpt index a6f5789eaef9a..401af4aa5e6bb 100644 --- a/ext/standard/tests/array/array_filter_variation9.phpt +++ b/ext/standard/tests/array/array_filter_variation9.phpt @@ -47,6 +47,8 @@ array(6) { } Warning: chr() expects parameter 1 to be int, string given in %s on line %d + +Deprecated: Passing null to argument of type int is deprecated in %s on line %d array(8) { [0]=> int(0) diff --git a/ext/standard/tests/array/count_recursive.phpt b/ext/standard/tests/array/count_recursive.phpt index 175cfe7118029..ba18a615653c1 100644 --- a/ext/standard/tests/array/count_recursive.phpt +++ b/ext/standard/tests/array/count_recursive.phpt @@ -228,7 +228,9 @@ For mode '-1.45' count is => int(3) For mode '2' count is => int(3) For mode '1' count is => int(9) For mode '' count is => int(3) -For mode '' count is => int(3) +For mode '' count is => +Deprecated: Passing null to argument of type int is deprecated in %s on line %d +int(3) -- Testing error conditions -- Warning: count() expects at least 1 parameter, 0 given in %s on line %d @@ -239,13 +241,13 @@ NULL Warning: Use of undefined constant ABCD - assumed 'ABCD' (this will throw an Error in a future version of PHP) in %s on line %d -Warning: count() expects parameter 2 to be int, %s given in %s on line %d +Warning: count() expects parameter 2 to be int, string given in %s on line %d NULL -Warning: count() expects parameter 2 to be int, %s given in %s on line %d +Warning: count() expects parameter 2 to be int, string given in %s on line %d NULL -Warning: count() expects parameter 2 to be int, %s given in %s on line %d +Warning: count() expects parameter 2 to be int, string given in %s on line %d NULL Done diff --git a/ext/standard/tests/file/005_variation2.phpt b/ext/standard/tests/file/005_variation2.phpt index f365174a84542..8bb16afdb2f74 100644 --- a/ext/standard/tests/file/005_variation2.phpt +++ b/ext/standard/tests/file/005_variation2.phpt @@ -77,6 +77,8 @@ echo "Done"; *** Testing fileattime(), filemtime(), filectime() & touch() : usage variations *** *** testing touch *** + +Deprecated: Passing null to argument of type string is deprecated in %s on line %d bool(false) bool(false) bool(false) @@ -86,8 +88,14 @@ bool(true) *** testing file info *** -- File '' -- -- File access time is => +Deprecated: Passing null to argument of type string is deprecated in %s on line %d + -- File modification time is => +Deprecated: Passing null to argument of type string is deprecated in %s on line %d + -- inode change time is => +Deprecated: Passing null to argument of type string is deprecated in %s on line %d + -- File '' -- -- File access time is => diff --git a/ext/standard/tests/file/007_error.phpt b/ext/standard/tests/file/007_error.phpt index 93a6a23e5f523..f04842c552315 100644 --- a/ext/standard/tests/file/007_error.phpt +++ b/ext/standard/tests/file/007_error.phpt @@ -165,6 +165,8 @@ Warning: feof() expects parameter 1 to be resource, object given in %s on line % bool(false) -- Iteration 7 -- +Deprecated: Passing null to argument of type string is deprecated in %s on line %d + Warning: fopen(): Filename cannot be empty in %s on line %d bool(false) diff --git a/ext/standard/tests/file/basename.phpt b/ext/standard/tests/file/basename.phpt index a9b4389b5a512da4956067baa4f7d9824f8ea6a8..8913229ead5e53a28b5ca840b0ae63684ed55774 100644 GIT binary patch delta 551 zcmbQ@(Brb9Oe~noCAFX^H94^)HN{FHAhEbOGcR2suQVq|p(I}+u_(PXH#M(BAwNx_ zq_QAYp}3?7B%fKVkOJ4HkeR2TTC9+tr;wAGm#UzeGTBf_ZZfZs@8kz!88k8fzPR${ pEO99&ni$R~rM`KUWD8S04MK*C1T!^=4sKnUd9( ---EXPECT-- +--EXPECTF-- string(3) "bar" string(3) "bar" string(3) "bar" @@ -98,4 +98,6 @@ string(1) " " string(1) " " string(0) "" string(0) "" + +Deprecated: Passing null to argument of type string is deprecated in %s on line %d string(0) "" diff --git a/ext/standard/tests/file/bug51094.phpt b/ext/standard/tests/file/bug51094.phpt index fa62277bfb144..0afaacfb640ae 100644 --- a/ext/standard/tests/file/bug51094.phpt +++ b/ext/standard/tests/file/bug51094.phpt @@ -3,15 +3,15 @@ Fixed bug #51094 (parse_ini_file() with INI_SCANNER_RAW cuts a value that includ --FILE-- ==DONE== ---EXPECT-- +--EXPECTF-- +Deprecated: Passing null to argument of type bool is deprecated in %s on line %d + +Deprecated: Passing null to argument of type int is deprecated in %s on line %d string(0) "" ==DONE== diff --git a/ext/standard/tests/file/fgetcsv_variation3.phpt b/ext/standard/tests/file/fgetcsv_variation3.phpt index e94f81d56d0ad..a8e16de70993a 100644 --- a/ext/standard/tests/file/fgetcsv_variation3.phpt +++ b/ext/standard/tests/file/fgetcsv_variation3.phpt @@ -93,6 +93,8 @@ echo "Done\n"; -- Testing fgetcsv() with file opened using r mode -- +Deprecated: Passing null to argument of type string is deprecated in %s on line %d + Warning: fgetcsv(): delimiter must be a character in %s on line %d bool(false) int(0) @@ -100,6 +102,8 @@ bool(false) -- Testing fgetcsv() with file opened using rb mode -- +Deprecated: Passing null to argument of type string is deprecated in %s on line %d + Warning: fgetcsv(): delimiter must be a character in %s on line %d bool(false) int(0) @@ -107,6 +111,8 @@ bool(false) -- Testing fgetcsv() with file opened using rt mode -- +Deprecated: Passing null to argument of type string is deprecated in %s on line %d + Warning: fgetcsv(): delimiter must be a character in %s on line %d bool(false) int(0) @@ -114,6 +120,8 @@ bool(false) -- Testing fgetcsv() with file opened using r+ mode -- +Deprecated: Passing null to argument of type string is deprecated in %s on line %d + Warning: fgetcsv(): delimiter must be a character in %s on line %d bool(false) int(0) @@ -121,6 +129,8 @@ bool(false) -- Testing fgetcsv() with file opened using r+b mode -- +Deprecated: Passing null to argument of type string is deprecated in %s on line %d + Warning: fgetcsv(): delimiter must be a character in %s on line %d bool(false) int(0) @@ -128,6 +138,8 @@ bool(false) -- Testing fgetcsv() with file opened using r+t mode -- +Deprecated: Passing null to argument of type string is deprecated in %s on line %d + Warning: fgetcsv(): delimiter must be a character in %s on line %d bool(false) int(0) @@ -135,6 +147,8 @@ bool(false) -- Testing fgetcsv() with file opened using a+ mode -- +Deprecated: Passing null to argument of type string is deprecated in %s on line %d + Warning: fgetcsv(): delimiter must be a character in %s on line %d bool(false) int(0) @@ -142,6 +156,8 @@ bool(false) -- Testing fgetcsv() with file opened using a+b mode -- +Deprecated: Passing null to argument of type string is deprecated in %s on line %d + Warning: fgetcsv(): delimiter must be a character in %s on line %d bool(false) int(0) @@ -149,6 +165,8 @@ bool(false) -- Testing fgetcsv() with file opened using a+t mode -- +Deprecated: Passing null to argument of type string is deprecated in %s on line %d + Warning: fgetcsv(): delimiter must be a character in %s on line %d bool(false) int(0) @@ -156,6 +174,8 @@ bool(false) -- Testing fgetcsv() with file opened using w+ mode -- +Deprecated: Passing null to argument of type string is deprecated in %s on line %d + Warning: fgetcsv(): delimiter must be a character in %s on line %d bool(false) int(0) @@ -163,6 +183,8 @@ bool(false) -- Testing fgetcsv() with file opened using w+b mode -- +Deprecated: Passing null to argument of type string is deprecated in %s on line %d + Warning: fgetcsv(): delimiter must be a character in %s on line %d bool(false) int(0) @@ -170,6 +192,8 @@ bool(false) -- Testing fgetcsv() with file opened using w+t mode -- +Deprecated: Passing null to argument of type string is deprecated in %s on line %d + Warning: fgetcsv(): delimiter must be a character in %s on line %d bool(false) int(0) @@ -177,6 +201,8 @@ bool(false) -- Testing fgetcsv() with file opened using x+ mode -- +Deprecated: Passing null to argument of type string is deprecated in %s on line %d + Warning: fgetcsv(): delimiter must be a character in %s on line %d bool(false) int(0) @@ -184,6 +210,8 @@ bool(false) -- Testing fgetcsv() with file opened using x+b mode -- +Deprecated: Passing null to argument of type string is deprecated in %s on line %d + Warning: fgetcsv(): delimiter must be a character in %s on line %d bool(false) int(0) @@ -191,6 +219,8 @@ bool(false) -- Testing fgetcsv() with file opened using x+t mode -- +Deprecated: Passing null to argument of type string is deprecated in %s on line %d + Warning: fgetcsv(): delimiter must be a character in %s on line %d bool(false) int(0) @@ -198,6 +228,8 @@ bool(false) -- Testing fgetcsv() with file opened using r mode -- +Deprecated: Passing null to argument of type string is deprecated in %s on line %d + Warning: fgetcsv(): delimiter must be a character in %s on line %d bool(false) int(0) @@ -205,6 +237,8 @@ bool(false) -- Testing fgetcsv() with file opened using rb mode -- +Deprecated: Passing null to argument of type string is deprecated in %s on line %d + Warning: fgetcsv(): delimiter must be a character in %s on line %d bool(false) int(0) @@ -212,6 +246,8 @@ bool(false) -- Testing fgetcsv() with file opened using rt mode -- +Deprecated: Passing null to argument of type string is deprecated in %s on line %d + Warning: fgetcsv(): delimiter must be a character in %s on line %d bool(false) int(0) @@ -219,6 +255,8 @@ bool(false) -- Testing fgetcsv() with file opened using r+ mode -- +Deprecated: Passing null to argument of type string is deprecated in %s on line %d + Warning: fgetcsv(): delimiter must be a character in %s on line %d bool(false) int(0) @@ -226,6 +264,8 @@ bool(false) -- Testing fgetcsv() with file opened using r+b mode -- +Deprecated: Passing null to argument of type string is deprecated in %s on line %d + Warning: fgetcsv(): delimiter must be a character in %s on line %d bool(false) int(0) @@ -233,6 +273,8 @@ bool(false) -- Testing fgetcsv() with file opened using r+t mode -- +Deprecated: Passing null to argument of type string is deprecated in %s on line %d + Warning: fgetcsv(): delimiter must be a character in %s on line %d bool(false) int(0) @@ -240,6 +282,8 @@ bool(false) -- Testing fgetcsv() with file opened using a+ mode -- +Deprecated: Passing null to argument of type string is deprecated in %s on line %d + Warning: fgetcsv(): delimiter must be a character in %s on line %d bool(false) int(0) @@ -247,6 +291,8 @@ bool(false) -- Testing fgetcsv() with file opened using a+b mode -- +Deprecated: Passing null to argument of type string is deprecated in %s on line %d + Warning: fgetcsv(): delimiter must be a character in %s on line %d bool(false) int(0) @@ -254,6 +300,8 @@ bool(false) -- Testing fgetcsv() with file opened using a+t mode -- +Deprecated: Passing null to argument of type string is deprecated in %s on line %d + Warning: fgetcsv(): delimiter must be a character in %s on line %d bool(false) int(0) @@ -261,6 +309,8 @@ bool(false) -- Testing fgetcsv() with file opened using w+ mode -- +Deprecated: Passing null to argument of type string is deprecated in %s on line %d + Warning: fgetcsv(): delimiter must be a character in %s on line %d bool(false) int(0) @@ -268,6 +318,8 @@ bool(false) -- Testing fgetcsv() with file opened using w+b mode -- +Deprecated: Passing null to argument of type string is deprecated in %s on line %d + Warning: fgetcsv(): delimiter must be a character in %s on line %d bool(false) int(0) @@ -275,6 +327,8 @@ bool(false) -- Testing fgetcsv() with file opened using w+t mode -- +Deprecated: Passing null to argument of type string is deprecated in %s on line %d + Warning: fgetcsv(): delimiter must be a character in %s on line %d bool(false) int(0) @@ -282,6 +336,8 @@ bool(false) -- Testing fgetcsv() with file opened using x+ mode -- +Deprecated: Passing null to argument of type string is deprecated in %s on line %d + Warning: fgetcsv(): delimiter must be a character in %s on line %d bool(false) int(0) @@ -289,6 +345,8 @@ bool(false) -- Testing fgetcsv() with file opened using x+b mode -- +Deprecated: Passing null to argument of type string is deprecated in %s on line %d + Warning: fgetcsv(): delimiter must be a character in %s on line %d bool(false) int(0) @@ -296,6 +354,8 @@ bool(false) -- Testing fgetcsv() with file opened using x+t mode -- +Deprecated: Passing null to argument of type string is deprecated in %s on line %d + Warning: fgetcsv(): delimiter must be a character in %s on line %d bool(false) int(0) @@ -303,6 +363,8 @@ bool(false) -- Testing fgetcsv() with file opened using r mode -- +Deprecated: Passing null to argument of type string is deprecated in %s on line %d + Warning: fgetcsv(): delimiter must be a character in %s on line %d bool(false) int(0) @@ -310,6 +372,8 @@ bool(false) -- Testing fgetcsv() with file opened using rb mode -- +Deprecated: Passing null to argument of type string is deprecated in %s on line %d + Warning: fgetcsv(): delimiter must be a character in %s on line %d bool(false) int(0) @@ -317,6 +381,8 @@ bool(false) -- Testing fgetcsv() with file opened using rt mode -- +Deprecated: Passing null to argument of type string is deprecated in %s on line %d + Warning: fgetcsv(): delimiter must be a character in %s on line %d bool(false) int(0) @@ -324,6 +390,8 @@ bool(false) -- Testing fgetcsv() with file opened using r+ mode -- +Deprecated: Passing null to argument of type string is deprecated in %s on line %d + Warning: fgetcsv(): delimiter must be a character in %s on line %d bool(false) int(0) @@ -331,6 +399,8 @@ bool(false) -- Testing fgetcsv() with file opened using r+b mode -- +Deprecated: Passing null to argument of type string is deprecated in %s on line %d + Warning: fgetcsv(): delimiter must be a character in %s on line %d bool(false) int(0) @@ -338,6 +408,8 @@ bool(false) -- Testing fgetcsv() with file opened using r+t mode -- +Deprecated: Passing null to argument of type string is deprecated in %s on line %d + Warning: fgetcsv(): delimiter must be a character in %s on line %d bool(false) int(0) @@ -345,6 +417,8 @@ bool(false) -- Testing fgetcsv() with file opened using a+ mode -- +Deprecated: Passing null to argument of type string is deprecated in %s on line %d + Warning: fgetcsv(): delimiter must be a character in %s on line %d bool(false) int(0) @@ -352,6 +426,8 @@ bool(false) -- Testing fgetcsv() with file opened using a+b mode -- +Deprecated: Passing null to argument of type string is deprecated in %s on line %d + Warning: fgetcsv(): delimiter must be a character in %s on line %d bool(false) int(0) @@ -359,6 +435,8 @@ bool(false) -- Testing fgetcsv() with file opened using a+t mode -- +Deprecated: Passing null to argument of type string is deprecated in %s on line %d + Warning: fgetcsv(): delimiter must be a character in %s on line %d bool(false) int(0) @@ -366,6 +444,8 @@ bool(false) -- Testing fgetcsv() with file opened using w+ mode -- +Deprecated: Passing null to argument of type string is deprecated in %s on line %d + Warning: fgetcsv(): delimiter must be a character in %s on line %d bool(false) int(0) @@ -373,6 +453,8 @@ bool(false) -- Testing fgetcsv() with file opened using w+b mode -- +Deprecated: Passing null to argument of type string is deprecated in %s on line %d + Warning: fgetcsv(): delimiter must be a character in %s on line %d bool(false) int(0) @@ -380,6 +462,8 @@ bool(false) -- Testing fgetcsv() with file opened using w+t mode -- +Deprecated: Passing null to argument of type string is deprecated in %s on line %d + Warning: fgetcsv(): delimiter must be a character in %s on line %d bool(false) int(0) @@ -387,6 +471,8 @@ bool(false) -- Testing fgetcsv() with file opened using x+ mode -- +Deprecated: Passing null to argument of type string is deprecated in %s on line %d + Warning: fgetcsv(): delimiter must be a character in %s on line %d bool(false) int(0) @@ -394,6 +480,8 @@ bool(false) -- Testing fgetcsv() with file opened using x+b mode -- +Deprecated: Passing null to argument of type string is deprecated in %s on line %d + Warning: fgetcsv(): delimiter must be a character in %s on line %d bool(false) int(0) @@ -401,6 +489,8 @@ bool(false) -- Testing fgetcsv() with file opened using x+t mode -- +Deprecated: Passing null to argument of type string is deprecated in %s on line %d + Warning: fgetcsv(): delimiter must be a character in %s on line %d bool(false) int(0) @@ -408,6 +498,8 @@ bool(false) -- Testing fgetcsv() with file opened using r mode -- +Deprecated: Passing null to argument of type string is deprecated in %s on line %d + Warning: fgetcsv(): delimiter must be a character in %s on line %d bool(false) int(0) @@ -415,6 +507,8 @@ bool(false) -- Testing fgetcsv() with file opened using rb mode -- +Deprecated: Passing null to argument of type string is deprecated in %s on line %d + Warning: fgetcsv(): delimiter must be a character in %s on line %d bool(false) int(0) @@ -422,6 +516,8 @@ bool(false) -- Testing fgetcsv() with file opened using rt mode -- +Deprecated: Passing null to argument of type string is deprecated in %s on line %d + Warning: fgetcsv(): delimiter must be a character in %s on line %d bool(false) int(0) @@ -429,6 +525,8 @@ bool(false) -- Testing fgetcsv() with file opened using r+ mode -- +Deprecated: Passing null to argument of type string is deprecated in %s on line %d + Warning: fgetcsv(): delimiter must be a character in %s on line %d bool(false) int(0) @@ -436,6 +534,8 @@ bool(false) -- Testing fgetcsv() with file opened using r+b mode -- +Deprecated: Passing null to argument of type string is deprecated in %s on line %d + Warning: fgetcsv(): delimiter must be a character in %s on line %d bool(false) int(0) @@ -443,6 +543,8 @@ bool(false) -- Testing fgetcsv() with file opened using r+t mode -- +Deprecated: Passing null to argument of type string is deprecated in %s on line %d + Warning: fgetcsv(): delimiter must be a character in %s on line %d bool(false) int(0) @@ -450,6 +552,8 @@ bool(false) -- Testing fgetcsv() with file opened using a+ mode -- +Deprecated: Passing null to argument of type string is deprecated in %s on line %d + Warning: fgetcsv(): delimiter must be a character in %s on line %d bool(false) int(0) @@ -457,6 +561,8 @@ bool(false) -- Testing fgetcsv() with file opened using a+b mode -- +Deprecated: Passing null to argument of type string is deprecated in %s on line %d + Warning: fgetcsv(): delimiter must be a character in %s on line %d bool(false) int(0) @@ -464,6 +570,8 @@ bool(false) -- Testing fgetcsv() with file opened using a+t mode -- +Deprecated: Passing null to argument of type string is deprecated in %s on line %d + Warning: fgetcsv(): delimiter must be a character in %s on line %d bool(false) int(0) @@ -471,6 +579,8 @@ bool(false) -- Testing fgetcsv() with file opened using w+ mode -- +Deprecated: Passing null to argument of type string is deprecated in %s on line %d + Warning: fgetcsv(): delimiter must be a character in %s on line %d bool(false) int(0) @@ -478,6 +588,8 @@ bool(false) -- Testing fgetcsv() with file opened using w+b mode -- +Deprecated: Passing null to argument of type string is deprecated in %s on line %d + Warning: fgetcsv(): delimiter must be a character in %s on line %d bool(false) int(0) @@ -485,6 +597,8 @@ bool(false) -- Testing fgetcsv() with file opened using w+t mode -- +Deprecated: Passing null to argument of type string is deprecated in %s on line %d + Warning: fgetcsv(): delimiter must be a character in %s on line %d bool(false) int(0) @@ -492,6 +606,8 @@ bool(false) -- Testing fgetcsv() with file opened using x+ mode -- +Deprecated: Passing null to argument of type string is deprecated in %s on line %d + Warning: fgetcsv(): delimiter must be a character in %s on line %d bool(false) int(0) @@ -499,6 +615,8 @@ bool(false) -- Testing fgetcsv() with file opened using x+b mode -- +Deprecated: Passing null to argument of type string is deprecated in %s on line %d + Warning: fgetcsv(): delimiter must be a character in %s on line %d bool(false) int(0) @@ -506,6 +624,8 @@ bool(false) -- Testing fgetcsv() with file opened using x+t mode -- +Deprecated: Passing null to argument of type string is deprecated in %s on line %d + Warning: fgetcsv(): delimiter must be a character in %s on line %d bool(false) int(0) @@ -513,6 +633,8 @@ bool(false) -- Testing fgetcsv() with file opened using r mode -- +Deprecated: Passing null to argument of type string is deprecated in %s on line %d + Warning: fgetcsv(): delimiter must be a character in %s on line %d bool(false) int(0) @@ -520,6 +642,8 @@ bool(false) -- Testing fgetcsv() with file opened using rb mode -- +Deprecated: Passing null to argument of type string is deprecated in %s on line %d + Warning: fgetcsv(): delimiter must be a character in %s on line %d bool(false) int(0) @@ -527,6 +651,8 @@ bool(false) -- Testing fgetcsv() with file opened using rt mode -- +Deprecated: Passing null to argument of type string is deprecated in %s on line %d + Warning: fgetcsv(): delimiter must be a character in %s on line %d bool(false) int(0) @@ -534,6 +660,8 @@ bool(false) -- Testing fgetcsv() with file opened using r+ mode -- +Deprecated: Passing null to argument of type string is deprecated in %s on line %d + Warning: fgetcsv(): delimiter must be a character in %s on line %d bool(false) int(0) @@ -541,6 +669,8 @@ bool(false) -- Testing fgetcsv() with file opened using r+b mode -- +Deprecated: Passing null to argument of type string is deprecated in %s on line %d + Warning: fgetcsv(): delimiter must be a character in %s on line %d bool(false) int(0) @@ -548,6 +678,8 @@ bool(false) -- Testing fgetcsv() with file opened using r+t mode -- +Deprecated: Passing null to argument of type string is deprecated in %s on line %d + Warning: fgetcsv(): delimiter must be a character in %s on line %d bool(false) int(0) @@ -555,6 +687,8 @@ bool(false) -- Testing fgetcsv() with file opened using a+ mode -- +Deprecated: Passing null to argument of type string is deprecated in %s on line %d + Warning: fgetcsv(): delimiter must be a character in %s on line %d bool(false) int(0) @@ -562,6 +696,8 @@ bool(false) -- Testing fgetcsv() with file opened using a+b mode -- +Deprecated: Passing null to argument of type string is deprecated in %s on line %d + Warning: fgetcsv(): delimiter must be a character in %s on line %d bool(false) int(0) @@ -569,6 +705,8 @@ bool(false) -- Testing fgetcsv() with file opened using a+t mode -- +Deprecated: Passing null to argument of type string is deprecated in %s on line %d + Warning: fgetcsv(): delimiter must be a character in %s on line %d bool(false) int(0) @@ -576,6 +714,8 @@ bool(false) -- Testing fgetcsv() with file opened using w+ mode -- +Deprecated: Passing null to argument of type string is deprecated in %s on line %d + Warning: fgetcsv(): delimiter must be a character in %s on line %d bool(false) int(0) @@ -583,6 +723,8 @@ bool(false) -- Testing fgetcsv() with file opened using w+b mode -- +Deprecated: Passing null to argument of type string is deprecated in %s on line %d + Warning: fgetcsv(): delimiter must be a character in %s on line %d bool(false) int(0) @@ -590,6 +732,8 @@ bool(false) -- Testing fgetcsv() with file opened using w+t mode -- +Deprecated: Passing null to argument of type string is deprecated in %s on line %d + Warning: fgetcsv(): delimiter must be a character in %s on line %d bool(false) int(0) @@ -597,6 +741,8 @@ bool(false) -- Testing fgetcsv() with file opened using x+ mode -- +Deprecated: Passing null to argument of type string is deprecated in %s on line %d + Warning: fgetcsv(): delimiter must be a character in %s on line %d bool(false) int(0) @@ -604,6 +750,8 @@ bool(false) -- Testing fgetcsv() with file opened using x+b mode -- +Deprecated: Passing null to argument of type string is deprecated in %s on line %d + Warning: fgetcsv(): delimiter must be a character in %s on line %d bool(false) int(0) @@ -611,6 +759,8 @@ bool(false) -- Testing fgetcsv() with file opened using x+t mode -- +Deprecated: Passing null to argument of type string is deprecated in %s on line %d + Warning: fgetcsv(): delimiter must be a character in %s on line %d bool(false) int(0) @@ -618,6 +768,8 @@ bool(false) -- Testing fgetcsv() with file opened using r mode -- +Deprecated: Passing null to argument of type string is deprecated in %s on line %d + Warning: fgetcsv(): delimiter must be a character in %s on line %d bool(false) int(0) @@ -625,6 +777,8 @@ bool(false) -- Testing fgetcsv() with file opened using rb mode -- +Deprecated: Passing null to argument of type string is deprecated in %s on line %d + Warning: fgetcsv(): delimiter must be a character in %s on line %d bool(false) int(0) @@ -632,6 +786,8 @@ bool(false) -- Testing fgetcsv() with file opened using rt mode -- +Deprecated: Passing null to argument of type string is deprecated in %s on line %d + Warning: fgetcsv(): delimiter must be a character in %s on line %d bool(false) int(0) @@ -639,6 +795,8 @@ bool(false) -- Testing fgetcsv() with file opened using r+ mode -- +Deprecated: Passing null to argument of type string is deprecated in %s on line %d + Warning: fgetcsv(): delimiter must be a character in %s on line %d bool(false) int(0) @@ -646,6 +804,8 @@ bool(false) -- Testing fgetcsv() with file opened using r+b mode -- +Deprecated: Passing null to argument of type string is deprecated in %s on line %d + Warning: fgetcsv(): delimiter must be a character in %s on line %d bool(false) int(0) @@ -653,6 +813,8 @@ bool(false) -- Testing fgetcsv() with file opened using r+t mode -- +Deprecated: Passing null to argument of type string is deprecated in %s on line %d + Warning: fgetcsv(): delimiter must be a character in %s on line %d bool(false) int(0) @@ -660,6 +822,8 @@ bool(false) -- Testing fgetcsv() with file opened using a+ mode -- +Deprecated: Passing null to argument of type string is deprecated in %s on line %d + Warning: fgetcsv(): delimiter must be a character in %s on line %d bool(false) int(0) @@ -667,6 +831,8 @@ bool(false) -- Testing fgetcsv() with file opened using a+b mode -- +Deprecated: Passing null to argument of type string is deprecated in %s on line %d + Warning: fgetcsv(): delimiter must be a character in %s on line %d bool(false) int(0) @@ -674,6 +840,8 @@ bool(false) -- Testing fgetcsv() with file opened using a+t mode -- +Deprecated: Passing null to argument of type string is deprecated in %s on line %d + Warning: fgetcsv(): delimiter must be a character in %s on line %d bool(false) int(0) @@ -681,6 +849,8 @@ bool(false) -- Testing fgetcsv() with file opened using w+ mode -- +Deprecated: Passing null to argument of type string is deprecated in %s on line %d + Warning: fgetcsv(): delimiter must be a character in %s on line %d bool(false) int(0) @@ -688,6 +858,8 @@ bool(false) -- Testing fgetcsv() with file opened using w+b mode -- +Deprecated: Passing null to argument of type string is deprecated in %s on line %d + Warning: fgetcsv(): delimiter must be a character in %s on line %d bool(false) int(0) @@ -695,6 +867,8 @@ bool(false) -- Testing fgetcsv() with file opened using w+t mode -- +Deprecated: Passing null to argument of type string is deprecated in %s on line %d + Warning: fgetcsv(): delimiter must be a character in %s on line %d bool(false) int(0) @@ -702,6 +876,8 @@ bool(false) -- Testing fgetcsv() with file opened using x+ mode -- +Deprecated: Passing null to argument of type string is deprecated in %s on line %d + Warning: fgetcsv(): delimiter must be a character in %s on line %d bool(false) int(0) @@ -709,6 +885,8 @@ bool(false) -- Testing fgetcsv() with file opened using x+b mode -- +Deprecated: Passing null to argument of type string is deprecated in %s on line %d + Warning: fgetcsv(): delimiter must be a character in %s on line %d bool(false) int(0) @@ -716,6 +894,8 @@ bool(false) -- Testing fgetcsv() with file opened using x+t mode -- +Deprecated: Passing null to argument of type string is deprecated in %s on line %d + Warning: fgetcsv(): delimiter must be a character in %s on line %d bool(false) int(0) @@ -723,6 +903,8 @@ bool(false) -- Testing fgetcsv() with file opened using r mode -- +Deprecated: Passing null to argument of type string is deprecated in %s on line %d + Warning: fgetcsv(): delimiter must be a character in %s on line %d bool(false) int(0) @@ -730,6 +912,8 @@ bool(false) -- Testing fgetcsv() with file opened using rb mode -- +Deprecated: Passing null to argument of type string is deprecated in %s on line %d + Warning: fgetcsv(): delimiter must be a character in %s on line %d bool(false) int(0) @@ -737,6 +921,8 @@ bool(false) -- Testing fgetcsv() with file opened using rt mode -- +Deprecated: Passing null to argument of type string is deprecated in %s on line %d + Warning: fgetcsv(): delimiter must be a character in %s on line %d bool(false) int(0) @@ -744,6 +930,8 @@ bool(false) -- Testing fgetcsv() with file opened using r+ mode -- +Deprecated: Passing null to argument of type string is deprecated in %s on line %d + Warning: fgetcsv(): delimiter must be a character in %s on line %d bool(false) int(0) @@ -751,6 +939,8 @@ bool(false) -- Testing fgetcsv() with file opened using r+b mode -- +Deprecated: Passing null to argument of type string is deprecated in %s on line %d + Warning: fgetcsv(): delimiter must be a character in %s on line %d bool(false) int(0) @@ -758,6 +948,8 @@ bool(false) -- Testing fgetcsv() with file opened using r+t mode -- +Deprecated: Passing null to argument of type string is deprecated in %s on line %d + Warning: fgetcsv(): delimiter must be a character in %s on line %d bool(false) int(0) @@ -765,6 +957,8 @@ bool(false) -- Testing fgetcsv() with file opened using a+ mode -- +Deprecated: Passing null to argument of type string is deprecated in %s on line %d + Warning: fgetcsv(): delimiter must be a character in %s on line %d bool(false) int(0) @@ -772,6 +966,8 @@ bool(false) -- Testing fgetcsv() with file opened using a+b mode -- +Deprecated: Passing null to argument of type string is deprecated in %s on line %d + Warning: fgetcsv(): delimiter must be a character in %s on line %d bool(false) int(0) @@ -779,6 +975,8 @@ bool(false) -- Testing fgetcsv() with file opened using a+t mode -- +Deprecated: Passing null to argument of type string is deprecated in %s on line %d + Warning: fgetcsv(): delimiter must be a character in %s on line %d bool(false) int(0) @@ -786,6 +984,8 @@ bool(false) -- Testing fgetcsv() with file opened using w+ mode -- +Deprecated: Passing null to argument of type string is deprecated in %s on line %d + Warning: fgetcsv(): delimiter must be a character in %s on line %d bool(false) int(0) @@ -793,6 +993,8 @@ bool(false) -- Testing fgetcsv() with file opened using w+b mode -- +Deprecated: Passing null to argument of type string is deprecated in %s on line %d + Warning: fgetcsv(): delimiter must be a character in %s on line %d bool(false) int(0) @@ -800,6 +1002,8 @@ bool(false) -- Testing fgetcsv() with file opened using w+t mode -- +Deprecated: Passing null to argument of type string is deprecated in %s on line %d + Warning: fgetcsv(): delimiter must be a character in %s on line %d bool(false) int(0) @@ -807,6 +1011,8 @@ bool(false) -- Testing fgetcsv() with file opened using x+ mode -- +Deprecated: Passing null to argument of type string is deprecated in %s on line %d + Warning: fgetcsv(): delimiter must be a character in %s on line %d bool(false) int(0) @@ -814,6 +1020,8 @@ bool(false) -- Testing fgetcsv() with file opened using x+b mode -- +Deprecated: Passing null to argument of type string is deprecated in %s on line %d + Warning: fgetcsv(): delimiter must be a character in %s on line %d bool(false) int(0) @@ -821,6 +1029,8 @@ bool(false) -- Testing fgetcsv() with file opened using x+t mode -- +Deprecated: Passing null to argument of type string is deprecated in %s on line %d + Warning: fgetcsv(): delimiter must be a character in %s on line %d bool(false) int(0) @@ -828,6 +1038,8 @@ bool(false) -- Testing fgetcsv() with file opened using r mode -- +Deprecated: Passing null to argument of type string is deprecated in %s on line %d + Warning: fgetcsv(): delimiter must be a character in %s on line %d bool(false) int(0) @@ -835,6 +1047,8 @@ bool(false) -- Testing fgetcsv() with file opened using rb mode -- +Deprecated: Passing null to argument of type string is deprecated in %s on line %d + Warning: fgetcsv(): delimiter must be a character in %s on line %d bool(false) int(0) @@ -842,6 +1056,8 @@ bool(false) -- Testing fgetcsv() with file opened using rt mode -- +Deprecated: Passing null to argument of type string is deprecated in %s on line %d + Warning: fgetcsv(): delimiter must be a character in %s on line %d bool(false) int(0) @@ -849,6 +1065,8 @@ bool(false) -- Testing fgetcsv() with file opened using r+ mode -- +Deprecated: Passing null to argument of type string is deprecated in %s on line %d + Warning: fgetcsv(): delimiter must be a character in %s on line %d bool(false) int(0) @@ -856,6 +1074,8 @@ bool(false) -- Testing fgetcsv() with file opened using r+b mode -- +Deprecated: Passing null to argument of type string is deprecated in %s on line %d + Warning: fgetcsv(): delimiter must be a character in %s on line %d bool(false) int(0) @@ -863,6 +1083,8 @@ bool(false) -- Testing fgetcsv() with file opened using r+t mode -- +Deprecated: Passing null to argument of type string is deprecated in %s on line %d + Warning: fgetcsv(): delimiter must be a character in %s on line %d bool(false) int(0) @@ -870,6 +1092,8 @@ bool(false) -- Testing fgetcsv() with file opened using a+ mode -- +Deprecated: Passing null to argument of type string is deprecated in %s on line %d + Warning: fgetcsv(): delimiter must be a character in %s on line %d bool(false) int(0) @@ -877,6 +1101,8 @@ bool(false) -- Testing fgetcsv() with file opened using a+b mode -- +Deprecated: Passing null to argument of type string is deprecated in %s on line %d + Warning: fgetcsv(): delimiter must be a character in %s on line %d bool(false) int(0) @@ -884,6 +1110,8 @@ bool(false) -- Testing fgetcsv() with file opened using a+t mode -- +Deprecated: Passing null to argument of type string is deprecated in %s on line %d + Warning: fgetcsv(): delimiter must be a character in %s on line %d bool(false) int(0) @@ -891,6 +1119,8 @@ bool(false) -- Testing fgetcsv() with file opened using w+ mode -- +Deprecated: Passing null to argument of type string is deprecated in %s on line %d + Warning: fgetcsv(): delimiter must be a character in %s on line %d bool(false) int(0) @@ -898,6 +1128,8 @@ bool(false) -- Testing fgetcsv() with file opened using w+b mode -- +Deprecated: Passing null to argument of type string is deprecated in %s on line %d + Warning: fgetcsv(): delimiter must be a character in %s on line %d bool(false) int(0) @@ -905,6 +1137,8 @@ bool(false) -- Testing fgetcsv() with file opened using w+t mode -- +Deprecated: Passing null to argument of type string is deprecated in %s on line %d + Warning: fgetcsv(): delimiter must be a character in %s on line %d bool(false) int(0) @@ -912,6 +1146,8 @@ bool(false) -- Testing fgetcsv() with file opened using x+ mode -- +Deprecated: Passing null to argument of type string is deprecated in %s on line %d + Warning: fgetcsv(): delimiter must be a character in %s on line %d bool(false) int(0) @@ -919,6 +1155,8 @@ bool(false) -- Testing fgetcsv() with file opened using x+b mode -- +Deprecated: Passing null to argument of type string is deprecated in %s on line %d + Warning: fgetcsv(): delimiter must be a character in %s on line %d bool(false) int(0) @@ -926,6 +1164,8 @@ bool(false) -- Testing fgetcsv() with file opened using x+t mode -- +Deprecated: Passing null to argument of type string is deprecated in %s on line %d + Warning: fgetcsv(): delimiter must be a character in %s on line %d bool(false) int(0) diff --git a/ext/standard/tests/file/fgetcsv_variation4.phpt b/ext/standard/tests/file/fgetcsv_variation4.phpt index 1f32907b53328..ea805d61e5f53 100644 --- a/ext/standard/tests/file/fgetcsv_variation4.phpt +++ b/ext/standard/tests/file/fgetcsv_variation4.phpt @@ -92,6 +92,8 @@ echo "Done\n"; -- Testing fgetcsv() with file opened using r mode -- +Deprecated: Passing null to argument of type string is deprecated in %s on line %d + Warning: fgetcsv(): enclosure must be a character in %s on line %d bool(false) int(0) @@ -99,6 +101,8 @@ bool(false) -- Testing fgetcsv() with file opened using rb mode -- +Deprecated: Passing null to argument of type string is deprecated in %s on line %d + Warning: fgetcsv(): enclosure must be a character in %s on line %d bool(false) int(0) @@ -106,6 +110,8 @@ bool(false) -- Testing fgetcsv() with file opened using rt mode -- +Deprecated: Passing null to argument of type string is deprecated in %s on line %d + Warning: fgetcsv(): enclosure must be a character in %s on line %d bool(false) int(0) @@ -113,6 +119,8 @@ bool(false) -- Testing fgetcsv() with file opened using r+ mode -- +Deprecated: Passing null to argument of type string is deprecated in %s on line %d + Warning: fgetcsv(): enclosure must be a character in %s on line %d bool(false) int(0) @@ -120,6 +128,8 @@ bool(false) -- Testing fgetcsv() with file opened using r+b mode -- +Deprecated: Passing null to argument of type string is deprecated in %s on line %d + Warning: fgetcsv(): enclosure must be a character in %s on line %d bool(false) int(0) @@ -127,6 +137,8 @@ bool(false) -- Testing fgetcsv() with file opened using r+t mode -- +Deprecated: Passing null to argument of type string is deprecated in %s on line %d + Warning: fgetcsv(): enclosure must be a character in %s on line %d bool(false) int(0) @@ -134,6 +146,8 @@ bool(false) -- Testing fgetcsv() with file opened using a+ mode -- +Deprecated: Passing null to argument of type string is deprecated in %s on line %d + Warning: fgetcsv(): enclosure must be a character in %s on line %d bool(false) int(0) @@ -141,6 +155,8 @@ bool(false) -- Testing fgetcsv() with file opened using a+b mode -- +Deprecated: Passing null to argument of type string is deprecated in %s on line %d + Warning: fgetcsv(): enclosure must be a character in %s on line %d bool(false) int(0) @@ -148,6 +164,8 @@ bool(false) -- Testing fgetcsv() with file opened using a+t mode -- +Deprecated: Passing null to argument of type string is deprecated in %s on line %d + Warning: fgetcsv(): enclosure must be a character in %s on line %d bool(false) int(0) @@ -155,6 +173,8 @@ bool(false) -- Testing fgetcsv() with file opened using w+ mode -- +Deprecated: Passing null to argument of type string is deprecated in %s on line %d + Warning: fgetcsv(): enclosure must be a character in %s on line %d bool(false) int(0) @@ -162,6 +182,8 @@ bool(false) -- Testing fgetcsv() with file opened using w+b mode -- +Deprecated: Passing null to argument of type string is deprecated in %s on line %d + Warning: fgetcsv(): enclosure must be a character in %s on line %d bool(false) int(0) @@ -169,6 +191,8 @@ bool(false) -- Testing fgetcsv() with file opened using w+t mode -- +Deprecated: Passing null to argument of type string is deprecated in %s on line %d + Warning: fgetcsv(): enclosure must be a character in %s on line %d bool(false) int(0) @@ -176,6 +200,8 @@ bool(false) -- Testing fgetcsv() with file opened using x+ mode -- +Deprecated: Passing null to argument of type string is deprecated in %s on line %d + Warning: fgetcsv(): enclosure must be a character in %s on line %d bool(false) int(0) @@ -183,6 +209,8 @@ bool(false) -- Testing fgetcsv() with file opened using x+b mode -- +Deprecated: Passing null to argument of type string is deprecated in %s on line %d + Warning: fgetcsv(): enclosure must be a character in %s on line %d bool(false) int(0) @@ -190,6 +218,8 @@ bool(false) -- Testing fgetcsv() with file opened using x+t mode -- +Deprecated: Passing null to argument of type string is deprecated in %s on line %d + Warning: fgetcsv(): enclosure must be a character in %s on line %d bool(false) int(0) @@ -197,6 +227,8 @@ bool(false) -- Testing fgetcsv() with file opened using r mode -- +Deprecated: Passing null to argument of type string is deprecated in %s on line %d + Warning: fgetcsv(): enclosure must be a character in %s on line %d bool(false) int(0) @@ -204,6 +236,8 @@ bool(false) -- Testing fgetcsv() with file opened using rb mode -- +Deprecated: Passing null to argument of type string is deprecated in %s on line %d + Warning: fgetcsv(): enclosure must be a character in %s on line %d bool(false) int(0) @@ -211,6 +245,8 @@ bool(false) -- Testing fgetcsv() with file opened using rt mode -- +Deprecated: Passing null to argument of type string is deprecated in %s on line %d + Warning: fgetcsv(): enclosure must be a character in %s on line %d bool(false) int(0) @@ -218,6 +254,8 @@ bool(false) -- Testing fgetcsv() with file opened using r+ mode -- +Deprecated: Passing null to argument of type string is deprecated in %s on line %d + Warning: fgetcsv(): enclosure must be a character in %s on line %d bool(false) int(0) @@ -225,6 +263,8 @@ bool(false) -- Testing fgetcsv() with file opened using r+b mode -- +Deprecated: Passing null to argument of type string is deprecated in %s on line %d + Warning: fgetcsv(): enclosure must be a character in %s on line %d bool(false) int(0) @@ -232,6 +272,8 @@ bool(false) -- Testing fgetcsv() with file opened using r+t mode -- +Deprecated: Passing null to argument of type string is deprecated in %s on line %d + Warning: fgetcsv(): enclosure must be a character in %s on line %d bool(false) int(0) @@ -239,6 +281,8 @@ bool(false) -- Testing fgetcsv() with file opened using a+ mode -- +Deprecated: Passing null to argument of type string is deprecated in %s on line %d + Warning: fgetcsv(): enclosure must be a character in %s on line %d bool(false) int(0) @@ -246,6 +290,8 @@ bool(false) -- Testing fgetcsv() with file opened using a+b mode -- +Deprecated: Passing null to argument of type string is deprecated in %s on line %d + Warning: fgetcsv(): enclosure must be a character in %s on line %d bool(false) int(0) @@ -253,6 +299,8 @@ bool(false) -- Testing fgetcsv() with file opened using a+t mode -- +Deprecated: Passing null to argument of type string is deprecated in %s on line %d + Warning: fgetcsv(): enclosure must be a character in %s on line %d bool(false) int(0) @@ -260,6 +308,8 @@ bool(false) -- Testing fgetcsv() with file opened using w+ mode -- +Deprecated: Passing null to argument of type string is deprecated in %s on line %d + Warning: fgetcsv(): enclosure must be a character in %s on line %d bool(false) int(0) @@ -267,6 +317,8 @@ bool(false) -- Testing fgetcsv() with file opened using w+b mode -- +Deprecated: Passing null to argument of type string is deprecated in %s on line %d + Warning: fgetcsv(): enclosure must be a character in %s on line %d bool(false) int(0) @@ -274,6 +326,8 @@ bool(false) -- Testing fgetcsv() with file opened using w+t mode -- +Deprecated: Passing null to argument of type string is deprecated in %s on line %d + Warning: fgetcsv(): enclosure must be a character in %s on line %d bool(false) int(0) @@ -281,6 +335,8 @@ bool(false) -- Testing fgetcsv() with file opened using x+ mode -- +Deprecated: Passing null to argument of type string is deprecated in %s on line %d + Warning: fgetcsv(): enclosure must be a character in %s on line %d bool(false) int(0) @@ -288,6 +344,8 @@ bool(false) -- Testing fgetcsv() with file opened using x+b mode -- +Deprecated: Passing null to argument of type string is deprecated in %s on line %d + Warning: fgetcsv(): enclosure must be a character in %s on line %d bool(false) int(0) @@ -295,6 +353,8 @@ bool(false) -- Testing fgetcsv() with file opened using x+t mode -- +Deprecated: Passing null to argument of type string is deprecated in %s on line %d + Warning: fgetcsv(): enclosure must be a character in %s on line %d bool(false) int(0) @@ -302,6 +362,8 @@ bool(false) -- Testing fgetcsv() with file opened using r mode -- +Deprecated: Passing null to argument of type string is deprecated in %s on line %d + Warning: fgetcsv(): enclosure must be a character in %s on line %d bool(false) int(0) @@ -309,6 +371,8 @@ bool(false) -- Testing fgetcsv() with file opened using rb mode -- +Deprecated: Passing null to argument of type string is deprecated in %s on line %d + Warning: fgetcsv(): enclosure must be a character in %s on line %d bool(false) int(0) @@ -316,6 +380,8 @@ bool(false) -- Testing fgetcsv() with file opened using rt mode -- +Deprecated: Passing null to argument of type string is deprecated in %s on line %d + Warning: fgetcsv(): enclosure must be a character in %s on line %d bool(false) int(0) @@ -323,6 +389,8 @@ bool(false) -- Testing fgetcsv() with file opened using r+ mode -- +Deprecated: Passing null to argument of type string is deprecated in %s on line %d + Warning: fgetcsv(): enclosure must be a character in %s on line %d bool(false) int(0) @@ -330,6 +398,8 @@ bool(false) -- Testing fgetcsv() with file opened using r+b mode -- +Deprecated: Passing null to argument of type string is deprecated in %s on line %d + Warning: fgetcsv(): enclosure must be a character in %s on line %d bool(false) int(0) @@ -337,6 +407,8 @@ bool(false) -- Testing fgetcsv() with file opened using r+t mode -- +Deprecated: Passing null to argument of type string is deprecated in %s on line %d + Warning: fgetcsv(): enclosure must be a character in %s on line %d bool(false) int(0) @@ -344,6 +416,8 @@ bool(false) -- Testing fgetcsv() with file opened using a+ mode -- +Deprecated: Passing null to argument of type string is deprecated in %s on line %d + Warning: fgetcsv(): enclosure must be a character in %s on line %d bool(false) int(0) @@ -351,6 +425,8 @@ bool(false) -- Testing fgetcsv() with file opened using a+b mode -- +Deprecated: Passing null to argument of type string is deprecated in %s on line %d + Warning: fgetcsv(): enclosure must be a character in %s on line %d bool(false) int(0) @@ -358,6 +434,8 @@ bool(false) -- Testing fgetcsv() with file opened using a+t mode -- +Deprecated: Passing null to argument of type string is deprecated in %s on line %d + Warning: fgetcsv(): enclosure must be a character in %s on line %d bool(false) int(0) @@ -365,6 +443,8 @@ bool(false) -- Testing fgetcsv() with file opened using w+ mode -- +Deprecated: Passing null to argument of type string is deprecated in %s on line %d + Warning: fgetcsv(): enclosure must be a character in %s on line %d bool(false) int(0) @@ -372,6 +452,8 @@ bool(false) -- Testing fgetcsv() with file opened using w+b mode -- +Deprecated: Passing null to argument of type string is deprecated in %s on line %d + Warning: fgetcsv(): enclosure must be a character in %s on line %d bool(false) int(0) @@ -379,6 +461,8 @@ bool(false) -- Testing fgetcsv() with file opened using w+t mode -- +Deprecated: Passing null to argument of type string is deprecated in %s on line %d + Warning: fgetcsv(): enclosure must be a character in %s on line %d bool(false) int(0) @@ -386,6 +470,8 @@ bool(false) -- Testing fgetcsv() with file opened using x+ mode -- +Deprecated: Passing null to argument of type string is deprecated in %s on line %d + Warning: fgetcsv(): enclosure must be a character in %s on line %d bool(false) int(0) @@ -393,6 +479,8 @@ bool(false) -- Testing fgetcsv() with file opened using x+b mode -- +Deprecated: Passing null to argument of type string is deprecated in %s on line %d + Warning: fgetcsv(): enclosure must be a character in %s on line %d bool(false) int(0) @@ -400,6 +488,8 @@ bool(false) -- Testing fgetcsv() with file opened using x+t mode -- +Deprecated: Passing null to argument of type string is deprecated in %s on line %d + Warning: fgetcsv(): enclosure must be a character in %s on line %d bool(false) int(0) @@ -407,6 +497,8 @@ bool(false) -- Testing fgetcsv() with file opened using r mode -- +Deprecated: Passing null to argument of type string is deprecated in %s on line %d + Warning: fgetcsv(): enclosure must be a character in %s on line %d bool(false) int(0) @@ -414,6 +506,8 @@ bool(false) -- Testing fgetcsv() with file opened using rb mode -- +Deprecated: Passing null to argument of type string is deprecated in %s on line %d + Warning: fgetcsv(): enclosure must be a character in %s on line %d bool(false) int(0) @@ -421,6 +515,8 @@ bool(false) -- Testing fgetcsv() with file opened using rt mode -- +Deprecated: Passing null to argument of type string is deprecated in %s on line %d + Warning: fgetcsv(): enclosure must be a character in %s on line %d bool(false) int(0) @@ -428,6 +524,8 @@ bool(false) -- Testing fgetcsv() with file opened using r+ mode -- +Deprecated: Passing null to argument of type string is deprecated in %s on line %d + Warning: fgetcsv(): enclosure must be a character in %s on line %d bool(false) int(0) @@ -435,6 +533,8 @@ bool(false) -- Testing fgetcsv() with file opened using r+b mode -- +Deprecated: Passing null to argument of type string is deprecated in %s on line %d + Warning: fgetcsv(): enclosure must be a character in %s on line %d bool(false) int(0) @@ -442,6 +542,8 @@ bool(false) -- Testing fgetcsv() with file opened using r+t mode -- +Deprecated: Passing null to argument of type string is deprecated in %s on line %d + Warning: fgetcsv(): enclosure must be a character in %s on line %d bool(false) int(0) @@ -449,6 +551,8 @@ bool(false) -- Testing fgetcsv() with file opened using a+ mode -- +Deprecated: Passing null to argument of type string is deprecated in %s on line %d + Warning: fgetcsv(): enclosure must be a character in %s on line %d bool(false) int(0) @@ -456,6 +560,8 @@ bool(false) -- Testing fgetcsv() with file opened using a+b mode -- +Deprecated: Passing null to argument of type string is deprecated in %s on line %d + Warning: fgetcsv(): enclosure must be a character in %s on line %d bool(false) int(0) @@ -463,6 +569,8 @@ bool(false) -- Testing fgetcsv() with file opened using a+t mode -- +Deprecated: Passing null to argument of type string is deprecated in %s on line %d + Warning: fgetcsv(): enclosure must be a character in %s on line %d bool(false) int(0) @@ -470,6 +578,8 @@ bool(false) -- Testing fgetcsv() with file opened using w+ mode -- +Deprecated: Passing null to argument of type string is deprecated in %s on line %d + Warning: fgetcsv(): enclosure must be a character in %s on line %d bool(false) int(0) @@ -477,6 +587,8 @@ bool(false) -- Testing fgetcsv() with file opened using w+b mode -- +Deprecated: Passing null to argument of type string is deprecated in %s on line %d + Warning: fgetcsv(): enclosure must be a character in %s on line %d bool(false) int(0) @@ -484,6 +596,8 @@ bool(false) -- Testing fgetcsv() with file opened using w+t mode -- +Deprecated: Passing null to argument of type string is deprecated in %s on line %d + Warning: fgetcsv(): enclosure must be a character in %s on line %d bool(false) int(0) @@ -491,6 +605,8 @@ bool(false) -- Testing fgetcsv() with file opened using x+ mode -- +Deprecated: Passing null to argument of type string is deprecated in %s on line %d + Warning: fgetcsv(): enclosure must be a character in %s on line %d bool(false) int(0) @@ -498,6 +614,8 @@ bool(false) -- Testing fgetcsv() with file opened using x+b mode -- +Deprecated: Passing null to argument of type string is deprecated in %s on line %d + Warning: fgetcsv(): enclosure must be a character in %s on line %d bool(false) int(0) @@ -505,6 +623,8 @@ bool(false) -- Testing fgetcsv() with file opened using x+t mode -- +Deprecated: Passing null to argument of type string is deprecated in %s on line %d + Warning: fgetcsv(): enclosure must be a character in %s on line %d bool(false) int(0) @@ -512,6 +632,8 @@ bool(false) -- Testing fgetcsv() with file opened using r mode -- +Deprecated: Passing null to argument of type string is deprecated in %s on line %d + Warning: fgetcsv(): enclosure must be a character in %s on line %d bool(false) int(0) @@ -519,6 +641,8 @@ bool(false) -- Testing fgetcsv() with file opened using rb mode -- +Deprecated: Passing null to argument of type string is deprecated in %s on line %d + Warning: fgetcsv(): enclosure must be a character in %s on line %d bool(false) int(0) @@ -526,6 +650,8 @@ bool(false) -- Testing fgetcsv() with file opened using rt mode -- +Deprecated: Passing null to argument of type string is deprecated in %s on line %d + Warning: fgetcsv(): enclosure must be a character in %s on line %d bool(false) int(0) @@ -533,6 +659,8 @@ bool(false) -- Testing fgetcsv() with file opened using r+ mode -- +Deprecated: Passing null to argument of type string is deprecated in %s on line %d + Warning: fgetcsv(): enclosure must be a character in %s on line %d bool(false) int(0) @@ -540,6 +668,8 @@ bool(false) -- Testing fgetcsv() with file opened using r+b mode -- +Deprecated: Passing null to argument of type string is deprecated in %s on line %d + Warning: fgetcsv(): enclosure must be a character in %s on line %d bool(false) int(0) @@ -547,6 +677,8 @@ bool(false) -- Testing fgetcsv() with file opened using r+t mode -- +Deprecated: Passing null to argument of type string is deprecated in %s on line %d + Warning: fgetcsv(): enclosure must be a character in %s on line %d bool(false) int(0) @@ -554,6 +686,8 @@ bool(false) -- Testing fgetcsv() with file opened using a+ mode -- +Deprecated: Passing null to argument of type string is deprecated in %s on line %d + Warning: fgetcsv(): enclosure must be a character in %s on line %d bool(false) int(0) @@ -561,6 +695,8 @@ bool(false) -- Testing fgetcsv() with file opened using a+b mode -- +Deprecated: Passing null to argument of type string is deprecated in %s on line %d + Warning: fgetcsv(): enclosure must be a character in %s on line %d bool(false) int(0) @@ -568,6 +704,8 @@ bool(false) -- Testing fgetcsv() with file opened using a+t mode -- +Deprecated: Passing null to argument of type string is deprecated in %s on line %d + Warning: fgetcsv(): enclosure must be a character in %s on line %d bool(false) int(0) @@ -575,6 +713,8 @@ bool(false) -- Testing fgetcsv() with file opened using w+ mode -- +Deprecated: Passing null to argument of type string is deprecated in %s on line %d + Warning: fgetcsv(): enclosure must be a character in %s on line %d bool(false) int(0) @@ -582,6 +722,8 @@ bool(false) -- Testing fgetcsv() with file opened using w+b mode -- +Deprecated: Passing null to argument of type string is deprecated in %s on line %d + Warning: fgetcsv(): enclosure must be a character in %s on line %d bool(false) int(0) @@ -589,6 +731,8 @@ bool(false) -- Testing fgetcsv() with file opened using w+t mode -- +Deprecated: Passing null to argument of type string is deprecated in %s on line %d + Warning: fgetcsv(): enclosure must be a character in %s on line %d bool(false) int(0) @@ -596,6 +740,8 @@ bool(false) -- Testing fgetcsv() with file opened using x+ mode -- +Deprecated: Passing null to argument of type string is deprecated in %s on line %d + Warning: fgetcsv(): enclosure must be a character in %s on line %d bool(false) int(0) @@ -603,6 +749,8 @@ bool(false) -- Testing fgetcsv() with file opened using x+b mode -- +Deprecated: Passing null to argument of type string is deprecated in %s on line %d + Warning: fgetcsv(): enclosure must be a character in %s on line %d bool(false) int(0) @@ -610,6 +758,8 @@ bool(false) -- Testing fgetcsv() with file opened using x+t mode -- +Deprecated: Passing null to argument of type string is deprecated in %s on line %d + Warning: fgetcsv(): enclosure must be a character in %s on line %d bool(false) int(0) @@ -617,6 +767,8 @@ bool(false) -- Testing fgetcsv() with file opened using r mode -- +Deprecated: Passing null to argument of type string is deprecated in %s on line %d + Warning: fgetcsv(): enclosure must be a character in %s on line %d bool(false) int(0) @@ -624,6 +776,8 @@ bool(false) -- Testing fgetcsv() with file opened using rb mode -- +Deprecated: Passing null to argument of type string is deprecated in %s on line %d + Warning: fgetcsv(): enclosure must be a character in %s on line %d bool(false) int(0) @@ -631,6 +785,8 @@ bool(false) -- Testing fgetcsv() with file opened using rt mode -- +Deprecated: Passing null to argument of type string is deprecated in %s on line %d + Warning: fgetcsv(): enclosure must be a character in %s on line %d bool(false) int(0) @@ -638,6 +794,8 @@ bool(false) -- Testing fgetcsv() with file opened using r+ mode -- +Deprecated: Passing null to argument of type string is deprecated in %s on line %d + Warning: fgetcsv(): enclosure must be a character in %s on line %d bool(false) int(0) @@ -645,6 +803,8 @@ bool(false) -- Testing fgetcsv() with file opened using r+b mode -- +Deprecated: Passing null to argument of type string is deprecated in %s on line %d + Warning: fgetcsv(): enclosure must be a character in %s on line %d bool(false) int(0) @@ -652,6 +812,8 @@ bool(false) -- Testing fgetcsv() with file opened using r+t mode -- +Deprecated: Passing null to argument of type string is deprecated in %s on line %d + Warning: fgetcsv(): enclosure must be a character in %s on line %d bool(false) int(0) @@ -659,6 +821,8 @@ bool(false) -- Testing fgetcsv() with file opened using a+ mode -- +Deprecated: Passing null to argument of type string is deprecated in %s on line %d + Warning: fgetcsv(): enclosure must be a character in %s on line %d bool(false) int(0) @@ -666,6 +830,8 @@ bool(false) -- Testing fgetcsv() with file opened using a+b mode -- +Deprecated: Passing null to argument of type string is deprecated in %s on line %d + Warning: fgetcsv(): enclosure must be a character in %s on line %d bool(false) int(0) @@ -673,6 +839,8 @@ bool(false) -- Testing fgetcsv() with file opened using a+t mode -- +Deprecated: Passing null to argument of type string is deprecated in %s on line %d + Warning: fgetcsv(): enclosure must be a character in %s on line %d bool(false) int(0) @@ -680,6 +848,8 @@ bool(false) -- Testing fgetcsv() with file opened using w+ mode -- +Deprecated: Passing null to argument of type string is deprecated in %s on line %d + Warning: fgetcsv(): enclosure must be a character in %s on line %d bool(false) int(0) @@ -687,6 +857,8 @@ bool(false) -- Testing fgetcsv() with file opened using w+b mode -- +Deprecated: Passing null to argument of type string is deprecated in %s on line %d + Warning: fgetcsv(): enclosure must be a character in %s on line %d bool(false) int(0) @@ -694,6 +866,8 @@ bool(false) -- Testing fgetcsv() with file opened using w+t mode -- +Deprecated: Passing null to argument of type string is deprecated in %s on line %d + Warning: fgetcsv(): enclosure must be a character in %s on line %d bool(false) int(0) @@ -701,6 +875,8 @@ bool(false) -- Testing fgetcsv() with file opened using x+ mode -- +Deprecated: Passing null to argument of type string is deprecated in %s on line %d + Warning: fgetcsv(): enclosure must be a character in %s on line %d bool(false) int(0) @@ -708,6 +884,8 @@ bool(false) -- Testing fgetcsv() with file opened using x+b mode -- +Deprecated: Passing null to argument of type string is deprecated in %s on line %d + Warning: fgetcsv(): enclosure must be a character in %s on line %d bool(false) int(0) @@ -715,6 +893,8 @@ bool(false) -- Testing fgetcsv() with file opened using x+t mode -- +Deprecated: Passing null to argument of type string is deprecated in %s on line %d + Warning: fgetcsv(): enclosure must be a character in %s on line %d bool(false) int(0) @@ -722,6 +902,8 @@ bool(false) -- Testing fgetcsv() with file opened using r mode -- +Deprecated: Passing null to argument of type string is deprecated in %s on line %d + Warning: fgetcsv(): enclosure must be a character in %s on line %d bool(false) int(0) @@ -729,6 +911,8 @@ bool(false) -- Testing fgetcsv() with file opened using rb mode -- +Deprecated: Passing null to argument of type string is deprecated in %s on line %d + Warning: fgetcsv(): enclosure must be a character in %s on line %d bool(false) int(0) @@ -736,6 +920,8 @@ bool(false) -- Testing fgetcsv() with file opened using rt mode -- +Deprecated: Passing null to argument of type string is deprecated in %s on line %d + Warning: fgetcsv(): enclosure must be a character in %s on line %d bool(false) int(0) @@ -743,6 +929,8 @@ bool(false) -- Testing fgetcsv() with file opened using r+ mode -- +Deprecated: Passing null to argument of type string is deprecated in %s on line %d + Warning: fgetcsv(): enclosure must be a character in %s on line %d bool(false) int(0) @@ -750,6 +938,8 @@ bool(false) -- Testing fgetcsv() with file opened using r+b mode -- +Deprecated: Passing null to argument of type string is deprecated in %s on line %d + Warning: fgetcsv(): enclosure must be a character in %s on line %d bool(false) int(0) @@ -757,6 +947,8 @@ bool(false) -- Testing fgetcsv() with file opened using r+t mode -- +Deprecated: Passing null to argument of type string is deprecated in %s on line %d + Warning: fgetcsv(): enclosure must be a character in %s on line %d bool(false) int(0) @@ -764,6 +956,8 @@ bool(false) -- Testing fgetcsv() with file opened using a+ mode -- +Deprecated: Passing null to argument of type string is deprecated in %s on line %d + Warning: fgetcsv(): enclosure must be a character in %s on line %d bool(false) int(0) @@ -771,6 +965,8 @@ bool(false) -- Testing fgetcsv() with file opened using a+b mode -- +Deprecated: Passing null to argument of type string is deprecated in %s on line %d + Warning: fgetcsv(): enclosure must be a character in %s on line %d bool(false) int(0) @@ -778,6 +974,8 @@ bool(false) -- Testing fgetcsv() with file opened using a+t mode -- +Deprecated: Passing null to argument of type string is deprecated in %s on line %d + Warning: fgetcsv(): enclosure must be a character in %s on line %d bool(false) int(0) @@ -785,6 +983,8 @@ bool(false) -- Testing fgetcsv() with file opened using w+ mode -- +Deprecated: Passing null to argument of type string is deprecated in %s on line %d + Warning: fgetcsv(): enclosure must be a character in %s on line %d bool(false) int(0) @@ -792,6 +992,8 @@ bool(false) -- Testing fgetcsv() with file opened using w+b mode -- +Deprecated: Passing null to argument of type string is deprecated in %s on line %d + Warning: fgetcsv(): enclosure must be a character in %s on line %d bool(false) int(0) @@ -799,6 +1001,8 @@ bool(false) -- Testing fgetcsv() with file opened using w+t mode -- +Deprecated: Passing null to argument of type string is deprecated in %s on line %d + Warning: fgetcsv(): enclosure must be a character in %s on line %d bool(false) int(0) @@ -806,6 +1010,8 @@ bool(false) -- Testing fgetcsv() with file opened using x+ mode -- +Deprecated: Passing null to argument of type string is deprecated in %s on line %d + Warning: fgetcsv(): enclosure must be a character in %s on line %d bool(false) int(0) @@ -813,6 +1019,8 @@ bool(false) -- Testing fgetcsv() with file opened using x+b mode -- +Deprecated: Passing null to argument of type string is deprecated in %s on line %d + Warning: fgetcsv(): enclosure must be a character in %s on line %d bool(false) int(0) @@ -820,6 +1028,8 @@ bool(false) -- Testing fgetcsv() with file opened using x+t mode -- +Deprecated: Passing null to argument of type string is deprecated in %s on line %d + Warning: fgetcsv(): enclosure must be a character in %s on line %d bool(false) int(0) @@ -827,6 +1037,8 @@ bool(false) -- Testing fgetcsv() with file opened using r mode -- +Deprecated: Passing null to argument of type string is deprecated in %s on line %d + Warning: fgetcsv(): enclosure must be a character in %s on line %d bool(false) int(0) @@ -834,6 +1046,8 @@ bool(false) -- Testing fgetcsv() with file opened using rb mode -- +Deprecated: Passing null to argument of type string is deprecated in %s on line %d + Warning: fgetcsv(): enclosure must be a character in %s on line %d bool(false) int(0) @@ -841,6 +1055,8 @@ bool(false) -- Testing fgetcsv() with file opened using rt mode -- +Deprecated: Passing null to argument of type string is deprecated in %s on line %d + Warning: fgetcsv(): enclosure must be a character in %s on line %d bool(false) int(0) @@ -848,6 +1064,8 @@ bool(false) -- Testing fgetcsv() with file opened using r+ mode -- +Deprecated: Passing null to argument of type string is deprecated in %s on line %d + Warning: fgetcsv(): enclosure must be a character in %s on line %d bool(false) int(0) @@ -855,6 +1073,8 @@ bool(false) -- Testing fgetcsv() with file opened using r+b mode -- +Deprecated: Passing null to argument of type string is deprecated in %s on line %d + Warning: fgetcsv(): enclosure must be a character in %s on line %d bool(false) int(0) @@ -862,6 +1082,8 @@ bool(false) -- Testing fgetcsv() with file opened using r+t mode -- +Deprecated: Passing null to argument of type string is deprecated in %s on line %d + Warning: fgetcsv(): enclosure must be a character in %s on line %d bool(false) int(0) @@ -869,6 +1091,8 @@ bool(false) -- Testing fgetcsv() with file opened using a+ mode -- +Deprecated: Passing null to argument of type string is deprecated in %s on line %d + Warning: fgetcsv(): enclosure must be a character in %s on line %d bool(false) int(0) @@ -876,6 +1100,8 @@ bool(false) -- Testing fgetcsv() with file opened using a+b mode -- +Deprecated: Passing null to argument of type string is deprecated in %s on line %d + Warning: fgetcsv(): enclosure must be a character in %s on line %d bool(false) int(0) @@ -883,6 +1109,8 @@ bool(false) -- Testing fgetcsv() with file opened using a+t mode -- +Deprecated: Passing null to argument of type string is deprecated in %s on line %d + Warning: fgetcsv(): enclosure must be a character in %s on line %d bool(false) int(0) @@ -890,6 +1118,8 @@ bool(false) -- Testing fgetcsv() with file opened using w+ mode -- +Deprecated: Passing null to argument of type string is deprecated in %s on line %d + Warning: fgetcsv(): enclosure must be a character in %s on line %d bool(false) int(0) @@ -897,6 +1127,8 @@ bool(false) -- Testing fgetcsv() with file opened using w+b mode -- +Deprecated: Passing null to argument of type string is deprecated in %s on line %d + Warning: fgetcsv(): enclosure must be a character in %s on line %d bool(false) int(0) @@ -904,6 +1136,8 @@ bool(false) -- Testing fgetcsv() with file opened using w+t mode -- +Deprecated: Passing null to argument of type string is deprecated in %s on line %d + Warning: fgetcsv(): enclosure must be a character in %s on line %d bool(false) int(0) @@ -911,6 +1145,8 @@ bool(false) -- Testing fgetcsv() with file opened using x+ mode -- +Deprecated: Passing null to argument of type string is deprecated in %s on line %d + Warning: fgetcsv(): enclosure must be a character in %s on line %d bool(false) int(0) @@ -918,6 +1154,8 @@ bool(false) -- Testing fgetcsv() with file opened using x+b mode -- +Deprecated: Passing null to argument of type string is deprecated in %s on line %d + Warning: fgetcsv(): enclosure must be a character in %s on line %d bool(false) int(0) @@ -925,6 +1163,8 @@ bool(false) -- Testing fgetcsv() with file opened using x+t mode -- +Deprecated: Passing null to argument of type string is deprecated in %s on line %d + Warning: fgetcsv(): enclosure must be a character in %s on line %d bool(false) int(0) diff --git a/ext/standard/tests/file/fgetcsv_variation5.phpt b/ext/standard/tests/file/fgetcsv_variation5.phpt deleted file mode 100644 index 4c883abf69c19..0000000000000 --- a/ext/standard/tests/file/fgetcsv_variation5.phpt +++ /dev/null @@ -1,934 +0,0 @@ ---TEST-- -Test fgetcsv() : usage variations - with delimiter & enclosure as NULL ---FILE-- - ---EXPECTF-- -*** Testing fgetcsv() : with delimiter & enclosure as NULL *** - --- Testing fgetcsv() with file opened using r mode -- - -Warning: fgetcsv(): delimiter must be a character in %s on line %d -bool(false) -int(0) -bool(false) - --- Testing fgetcsv() with file opened using rb mode -- - -Warning: fgetcsv(): delimiter must be a character in %s on line %d -bool(false) -int(0) -bool(false) - --- Testing fgetcsv() with file opened using rt mode -- - -Warning: fgetcsv(): delimiter must be a character in %s on line %d -bool(false) -int(0) -bool(false) - --- Testing fgetcsv() with file opened using r+ mode -- - -Warning: fgetcsv(): delimiter must be a character in %s on line %d -bool(false) -int(0) -bool(false) - --- Testing fgetcsv() with file opened using r+b mode -- - -Warning: fgetcsv(): delimiter must be a character in %s on line %d -bool(false) -int(0) -bool(false) - --- Testing fgetcsv() with file opened using r+t mode -- - -Warning: fgetcsv(): delimiter must be a character in %s on line %d -bool(false) -int(0) -bool(false) - --- Testing fgetcsv() with file opened using a+ mode -- - -Warning: fgetcsv(): delimiter must be a character in %s on line %d -bool(false) -int(0) -bool(false) - --- Testing fgetcsv() with file opened using a+b mode -- - -Warning: fgetcsv(): delimiter must be a character in %s on line %d -bool(false) -int(0) -bool(false) - --- Testing fgetcsv() with file opened using a+t mode -- - -Warning: fgetcsv(): delimiter must be a character in %s on line %d -bool(false) -int(0) -bool(false) - --- Testing fgetcsv() with file opened using w+ mode -- - -Warning: fgetcsv(): delimiter must be a character in %s on line %d -bool(false) -int(0) -bool(false) - --- Testing fgetcsv() with file opened using w+b mode -- - -Warning: fgetcsv(): delimiter must be a character in %s on line %d -bool(false) -int(0) -bool(false) - --- Testing fgetcsv() with file opened using w+t mode -- - -Warning: fgetcsv(): delimiter must be a character in %s on line %d -bool(false) -int(0) -bool(false) - --- Testing fgetcsv() with file opened using x+ mode -- - -Warning: fgetcsv(): delimiter must be a character in %s on line %d -bool(false) -int(0) -bool(false) - --- Testing fgetcsv() with file opened using x+b mode -- - -Warning: fgetcsv(): delimiter must be a character in %s on line %d -bool(false) -int(0) -bool(false) - --- Testing fgetcsv() with file opened using x+t mode -- - -Warning: fgetcsv(): delimiter must be a character in %s on line %d -bool(false) -int(0) -bool(false) - --- Testing fgetcsv() with file opened using r mode -- - -Warning: fgetcsv(): delimiter must be a character in %s on line %d -bool(false) -int(0) -bool(false) - --- Testing fgetcsv() with file opened using rb mode -- - -Warning: fgetcsv(): delimiter must be a character in %s on line %d -bool(false) -int(0) -bool(false) - --- Testing fgetcsv() with file opened using rt mode -- - -Warning: fgetcsv(): delimiter must be a character in %s on line %d -bool(false) -int(0) -bool(false) - --- Testing fgetcsv() with file opened using r+ mode -- - -Warning: fgetcsv(): delimiter must be a character in %s on line %d -bool(false) -int(0) -bool(false) - --- Testing fgetcsv() with file opened using r+b mode -- - -Warning: fgetcsv(): delimiter must be a character in %s on line %d -bool(false) -int(0) -bool(false) - --- Testing fgetcsv() with file opened using r+t mode -- - -Warning: fgetcsv(): delimiter must be a character in %s on line %d -bool(false) -int(0) -bool(false) - --- Testing fgetcsv() with file opened using a+ mode -- - -Warning: fgetcsv(): delimiter must be a character in %s on line %d -bool(false) -int(0) -bool(false) - --- Testing fgetcsv() with file opened using a+b mode -- - -Warning: fgetcsv(): delimiter must be a character in %s on line %d -bool(false) -int(0) -bool(false) - --- Testing fgetcsv() with file opened using a+t mode -- - -Warning: fgetcsv(): delimiter must be a character in %s on line %d -bool(false) -int(0) -bool(false) - --- Testing fgetcsv() with file opened using w+ mode -- - -Warning: fgetcsv(): delimiter must be a character in %s on line %d -bool(false) -int(0) -bool(false) - --- Testing fgetcsv() with file opened using w+b mode -- - -Warning: fgetcsv(): delimiter must be a character in %s on line %d -bool(false) -int(0) -bool(false) - --- Testing fgetcsv() with file opened using w+t mode -- - -Warning: fgetcsv(): delimiter must be a character in %s on line %d -bool(false) -int(0) -bool(false) - --- Testing fgetcsv() with file opened using x+ mode -- - -Warning: fgetcsv(): delimiter must be a character in %s on line %d -bool(false) -int(0) -bool(false) - --- Testing fgetcsv() with file opened using x+b mode -- - -Warning: fgetcsv(): delimiter must be a character in %s on line %d -bool(false) -int(0) -bool(false) - --- Testing fgetcsv() with file opened using x+t mode -- - -Warning: fgetcsv(): delimiter must be a character in %s on line %d -bool(false) -int(0) -bool(false) - --- Testing fgetcsv() with file opened using r mode -- - -Warning: fgetcsv(): delimiter must be a character in %s on line %d -bool(false) -int(0) -bool(false) - --- Testing fgetcsv() with file opened using rb mode -- - -Warning: fgetcsv(): delimiter must be a character in %s on line %d -bool(false) -int(0) -bool(false) - --- Testing fgetcsv() with file opened using rt mode -- - -Warning: fgetcsv(): delimiter must be a character in %s on line %d -bool(false) -int(0) -bool(false) - --- Testing fgetcsv() with file opened using r+ mode -- - -Warning: fgetcsv(): delimiter must be a character in %s on line %d -bool(false) -int(0) -bool(false) - --- Testing fgetcsv() with file opened using r+b mode -- - -Warning: fgetcsv(): delimiter must be a character in %s on line %d -bool(false) -int(0) -bool(false) - --- Testing fgetcsv() with file opened using r+t mode -- - -Warning: fgetcsv(): delimiter must be a character in %s on line %d -bool(false) -int(0) -bool(false) - --- Testing fgetcsv() with file opened using a+ mode -- - -Warning: fgetcsv(): delimiter must be a character in %s on line %d -bool(false) -int(0) -bool(false) - --- Testing fgetcsv() with file opened using a+b mode -- - -Warning: fgetcsv(): delimiter must be a character in %s on line %d -bool(false) -int(0) -bool(false) - --- Testing fgetcsv() with file opened using a+t mode -- - -Warning: fgetcsv(): delimiter must be a character in %s on line %d -bool(false) -int(0) -bool(false) - --- Testing fgetcsv() with file opened using w+ mode -- - -Warning: fgetcsv(): delimiter must be a character in %s on line %d -bool(false) -int(0) -bool(false) - --- Testing fgetcsv() with file opened using w+b mode -- - -Warning: fgetcsv(): delimiter must be a character in %s on line %d -bool(false) -int(0) -bool(false) - --- Testing fgetcsv() with file opened using w+t mode -- - -Warning: fgetcsv(): delimiter must be a character in %s on line %d -bool(false) -int(0) -bool(false) - --- Testing fgetcsv() with file opened using x+ mode -- - -Warning: fgetcsv(): delimiter must be a character in %s on line %d -bool(false) -int(0) -bool(false) - --- Testing fgetcsv() with file opened using x+b mode -- - -Warning: fgetcsv(): delimiter must be a character in %s on line %d -bool(false) -int(0) -bool(false) - --- Testing fgetcsv() with file opened using x+t mode -- - -Warning: fgetcsv(): delimiter must be a character in %s on line %d -bool(false) -int(0) -bool(false) - --- Testing fgetcsv() with file opened using r mode -- - -Warning: fgetcsv(): delimiter must be a character in %s on line %d -bool(false) -int(0) -bool(false) - --- Testing fgetcsv() with file opened using rb mode -- - -Warning: fgetcsv(): delimiter must be a character in %s on line %d -bool(false) -int(0) -bool(false) - --- Testing fgetcsv() with file opened using rt mode -- - -Warning: fgetcsv(): delimiter must be a character in %s on line %d -bool(false) -int(0) -bool(false) - --- Testing fgetcsv() with file opened using r+ mode -- - -Warning: fgetcsv(): delimiter must be a character in %s on line %d -bool(false) -int(0) -bool(false) - --- Testing fgetcsv() with file opened using r+b mode -- - -Warning: fgetcsv(): delimiter must be a character in %s on line %d -bool(false) -int(0) -bool(false) - --- Testing fgetcsv() with file opened using r+t mode -- - -Warning: fgetcsv(): delimiter must be a character in %s on line %d -bool(false) -int(0) -bool(false) - --- Testing fgetcsv() with file opened using a+ mode -- - -Warning: fgetcsv(): delimiter must be a character in %s on line %d -bool(false) -int(0) -bool(false) - --- Testing fgetcsv() with file opened using a+b mode -- - -Warning: fgetcsv(): delimiter must be a character in %s on line %d -bool(false) -int(0) -bool(false) - --- Testing fgetcsv() with file opened using a+t mode -- - -Warning: fgetcsv(): delimiter must be a character in %s on line %d -bool(false) -int(0) -bool(false) - --- Testing fgetcsv() with file opened using w+ mode -- - -Warning: fgetcsv(): delimiter must be a character in %s on line %d -bool(false) -int(0) -bool(false) - --- Testing fgetcsv() with file opened using w+b mode -- - -Warning: fgetcsv(): delimiter must be a character in %s on line %d -bool(false) -int(0) -bool(false) - --- Testing fgetcsv() with file opened using w+t mode -- - -Warning: fgetcsv(): delimiter must be a character in %s on line %d -bool(false) -int(0) -bool(false) - --- Testing fgetcsv() with file opened using x+ mode -- - -Warning: fgetcsv(): delimiter must be a character in %s on line %d -bool(false) -int(0) -bool(false) - --- Testing fgetcsv() with file opened using x+b mode -- - -Warning: fgetcsv(): delimiter must be a character in %s on line %d -bool(false) -int(0) -bool(false) - --- Testing fgetcsv() with file opened using x+t mode -- - -Warning: fgetcsv(): delimiter must be a character in %s on line %d -bool(false) -int(0) -bool(false) - --- Testing fgetcsv() with file opened using r mode -- - -Warning: fgetcsv(): delimiter must be a character in %s on line %d -bool(false) -int(0) -bool(false) - --- Testing fgetcsv() with file opened using rb mode -- - -Warning: fgetcsv(): delimiter must be a character in %s on line %d -bool(false) -int(0) -bool(false) - --- Testing fgetcsv() with file opened using rt mode -- - -Warning: fgetcsv(): delimiter must be a character in %s on line %d -bool(false) -int(0) -bool(false) - --- Testing fgetcsv() with file opened using r+ mode -- - -Warning: fgetcsv(): delimiter must be a character in %s on line %d -bool(false) -int(0) -bool(false) - --- Testing fgetcsv() with file opened using r+b mode -- - -Warning: fgetcsv(): delimiter must be a character in %s on line %d -bool(false) -int(0) -bool(false) - --- Testing fgetcsv() with file opened using r+t mode -- - -Warning: fgetcsv(): delimiter must be a character in %s on line %d -bool(false) -int(0) -bool(false) - --- Testing fgetcsv() with file opened using a+ mode -- - -Warning: fgetcsv(): delimiter must be a character in %s on line %d -bool(false) -int(0) -bool(false) - --- Testing fgetcsv() with file opened using a+b mode -- - -Warning: fgetcsv(): delimiter must be a character in %s on line %d -bool(false) -int(0) -bool(false) - --- Testing fgetcsv() with file opened using a+t mode -- - -Warning: fgetcsv(): delimiter must be a character in %s on line %d -bool(false) -int(0) -bool(false) - --- Testing fgetcsv() with file opened using w+ mode -- - -Warning: fgetcsv(): delimiter must be a character in %s on line %d -bool(false) -int(0) -bool(false) - --- Testing fgetcsv() with file opened using w+b mode -- - -Warning: fgetcsv(): delimiter must be a character in %s on line %d -bool(false) -int(0) -bool(false) - --- Testing fgetcsv() with file opened using w+t mode -- - -Warning: fgetcsv(): delimiter must be a character in %s on line %d -bool(false) -int(0) -bool(false) - --- Testing fgetcsv() with file opened using x+ mode -- - -Warning: fgetcsv(): delimiter must be a character in %s on line %d -bool(false) -int(0) -bool(false) - --- Testing fgetcsv() with file opened using x+b mode -- - -Warning: fgetcsv(): delimiter must be a character in %s on line %d -bool(false) -int(0) -bool(false) - --- Testing fgetcsv() with file opened using x+t mode -- - -Warning: fgetcsv(): delimiter must be a character in %s on line %d -bool(false) -int(0) -bool(false) - --- Testing fgetcsv() with file opened using r mode -- - -Warning: fgetcsv(): delimiter must be a character in %s on line %d -bool(false) -int(0) -bool(false) - --- Testing fgetcsv() with file opened using rb mode -- - -Warning: fgetcsv(): delimiter must be a character in %s on line %d -bool(false) -int(0) -bool(false) - --- Testing fgetcsv() with file opened using rt mode -- - -Warning: fgetcsv(): delimiter must be a character in %s on line %d -bool(false) -int(0) -bool(false) - --- Testing fgetcsv() with file opened using r+ mode -- - -Warning: fgetcsv(): delimiter must be a character in %s on line %d -bool(false) -int(0) -bool(false) - --- Testing fgetcsv() with file opened using r+b mode -- - -Warning: fgetcsv(): delimiter must be a character in %s on line %d -bool(false) -int(0) -bool(false) - --- Testing fgetcsv() with file opened using r+t mode -- - -Warning: fgetcsv(): delimiter must be a character in %s on line %d -bool(false) -int(0) -bool(false) - --- Testing fgetcsv() with file opened using a+ mode -- - -Warning: fgetcsv(): delimiter must be a character in %s on line %d -bool(false) -int(0) -bool(false) - --- Testing fgetcsv() with file opened using a+b mode -- - -Warning: fgetcsv(): delimiter must be a character in %s on line %d -bool(false) -int(0) -bool(false) - --- Testing fgetcsv() with file opened using a+t mode -- - -Warning: fgetcsv(): delimiter must be a character in %s on line %d -bool(false) -int(0) -bool(false) - --- Testing fgetcsv() with file opened using w+ mode -- - -Warning: fgetcsv(): delimiter must be a character in %s on line %d -bool(false) -int(0) -bool(false) - --- Testing fgetcsv() with file opened using w+b mode -- - -Warning: fgetcsv(): delimiter must be a character in %s on line %d -bool(false) -int(0) -bool(false) - --- Testing fgetcsv() with file opened using w+t mode -- - -Warning: fgetcsv(): delimiter must be a character in %s on line %d -bool(false) -int(0) -bool(false) - --- Testing fgetcsv() with file opened using x+ mode -- - -Warning: fgetcsv(): delimiter must be a character in %s on line %d -bool(false) -int(0) -bool(false) - --- Testing fgetcsv() with file opened using x+b mode -- - -Warning: fgetcsv(): delimiter must be a character in %s on line %d -bool(false) -int(0) -bool(false) - --- Testing fgetcsv() with file opened using x+t mode -- - -Warning: fgetcsv(): delimiter must be a character in %s on line %d -bool(false) -int(0) -bool(false) - --- Testing fgetcsv() with file opened using r mode -- - -Warning: fgetcsv(): delimiter must be a character in %s on line %d -bool(false) -int(0) -bool(false) - --- Testing fgetcsv() with file opened using rb mode -- - -Warning: fgetcsv(): delimiter must be a character in %s on line %d -bool(false) -int(0) -bool(false) - --- Testing fgetcsv() with file opened using rt mode -- - -Warning: fgetcsv(): delimiter must be a character in %s on line %d -bool(false) -int(0) -bool(false) - --- Testing fgetcsv() with file opened using r+ mode -- - -Warning: fgetcsv(): delimiter must be a character in %s on line %d -bool(false) -int(0) -bool(false) - --- Testing fgetcsv() with file opened using r+b mode -- - -Warning: fgetcsv(): delimiter must be a character in %s on line %d -bool(false) -int(0) -bool(false) - --- Testing fgetcsv() with file opened using r+t mode -- - -Warning: fgetcsv(): delimiter must be a character in %s on line %d -bool(false) -int(0) -bool(false) - --- Testing fgetcsv() with file opened using a+ mode -- - -Warning: fgetcsv(): delimiter must be a character in %s on line %d -bool(false) -int(0) -bool(false) - --- Testing fgetcsv() with file opened using a+b mode -- - -Warning: fgetcsv(): delimiter must be a character in %s on line %d -bool(false) -int(0) -bool(false) - --- Testing fgetcsv() with file opened using a+t mode -- - -Warning: fgetcsv(): delimiter must be a character in %s on line %d -bool(false) -int(0) -bool(false) - --- Testing fgetcsv() with file opened using w+ mode -- - -Warning: fgetcsv(): delimiter must be a character in %s on line %d -bool(false) -int(0) -bool(false) - --- Testing fgetcsv() with file opened using w+b mode -- - -Warning: fgetcsv(): delimiter must be a character in %s on line %d -bool(false) -int(0) -bool(false) - --- Testing fgetcsv() with file opened using w+t mode -- - -Warning: fgetcsv(): delimiter must be a character in %s on line %d -bool(false) -int(0) -bool(false) - --- Testing fgetcsv() with file opened using x+ mode -- - -Warning: fgetcsv(): delimiter must be a character in %s on line %d -bool(false) -int(0) -bool(false) - --- Testing fgetcsv() with file opened using x+b mode -- - -Warning: fgetcsv(): delimiter must be a character in %s on line %d -bool(false) -int(0) -bool(false) - --- Testing fgetcsv() with file opened using x+t mode -- - -Warning: fgetcsv(): delimiter must be a character in %s on line %d -bool(false) -int(0) -bool(false) - --- Testing fgetcsv() with file opened using r mode -- - -Warning: fgetcsv(): delimiter must be a character in %s on line %d -bool(false) -int(0) -bool(false) - --- Testing fgetcsv() with file opened using rb mode -- - -Warning: fgetcsv(): delimiter must be a character in %s on line %d -bool(false) -int(0) -bool(false) - --- Testing fgetcsv() with file opened using rt mode -- - -Warning: fgetcsv(): delimiter must be a character in %s on line %d -bool(false) -int(0) -bool(false) - --- Testing fgetcsv() with file opened using r+ mode -- - -Warning: fgetcsv(): delimiter must be a character in %s on line %d -bool(false) -int(0) -bool(false) - --- Testing fgetcsv() with file opened using r+b mode -- - -Warning: fgetcsv(): delimiter must be a character in %s on line %d -bool(false) -int(0) -bool(false) - --- Testing fgetcsv() with file opened using r+t mode -- - -Warning: fgetcsv(): delimiter must be a character in %s on line %d -bool(false) -int(0) -bool(false) - --- Testing fgetcsv() with file opened using a+ mode -- - -Warning: fgetcsv(): delimiter must be a character in %s on line %d -bool(false) -int(0) -bool(false) - --- Testing fgetcsv() with file opened using a+b mode -- - -Warning: fgetcsv(): delimiter must be a character in %s on line %d -bool(false) -int(0) -bool(false) - --- Testing fgetcsv() with file opened using a+t mode -- - -Warning: fgetcsv(): delimiter must be a character in %s on line %d -bool(false) -int(0) -bool(false) - --- Testing fgetcsv() with file opened using w+ mode -- - -Warning: fgetcsv(): delimiter must be a character in %s on line %d -bool(false) -int(0) -bool(false) - --- Testing fgetcsv() with file opened using w+b mode -- - -Warning: fgetcsv(): delimiter must be a character in %s on line %d -bool(false) -int(0) -bool(false) - --- Testing fgetcsv() with file opened using w+t mode -- - -Warning: fgetcsv(): delimiter must be a character in %s on line %d -bool(false) -int(0) -bool(false) - --- Testing fgetcsv() with file opened using x+ mode -- - -Warning: fgetcsv(): delimiter must be a character in %s on line %d -bool(false) -int(0) -bool(false) - --- Testing fgetcsv() with file opened using x+b mode -- - -Warning: fgetcsv(): delimiter must be a character in %s on line %d -bool(false) -int(0) -bool(false) - --- Testing fgetcsv() with file opened using x+t mode -- - -Warning: fgetcsv(): delimiter must be a character in %s on line %d -bool(false) -int(0) -bool(false) -Done diff --git a/ext/standard/tests/file/file_exists_variation1.phpt b/ext/standard/tests/file/file_exists_variation1.phpt index c3d41847247d7..bb1298589c85a 100644 --- a/ext/standard/tests/file/file_exists_variation1.phpt +++ b/ext/standard/tests/file/file_exists_variation1.phpt @@ -19,8 +19,10 @@ var_dump(file_exists(' ')); var_dump(file_exists('|')); echo "Done"; ?> ---EXPECT-- +--EXPECTF-- *** Testing file_exists() : usage variations *** + +Deprecated: Passing null to argument of type string is deprecated in %s on line %d bool(false) bool(false) bool(false) diff --git a/ext/standard/tests/file/file_get_contents_variation8.phpt b/ext/standard/tests/file/file_get_contents_variation8.phpt index 97a3495d5439b..a0646e24b8d81 100644 --- a/ext/standard/tests/file/file_get_contents_variation8.phpt +++ b/ext/standard/tests/file/file_get_contents_variation8.phpt @@ -58,6 +58,8 @@ Warning: file_get_contents(): Filename cannot be empty in %s on line %d bool(false) -- Iteration 3 -- +Deprecated: Passing null to argument of type string is deprecated in %s on line %d + Warning: file_get_contents(): Filename cannot be empty in %s on line %d bool(false) -- Iteration 4 -- diff --git a/ext/standard/tests/file/file_put_contents_variation5.phpt b/ext/standard/tests/file/file_put_contents_variation5.phpt index c069c35a7e08b..9e2adc17ef7a2 100644 --- a/ext/standard/tests/file/file_put_contents_variation5.phpt +++ b/ext/standard/tests/file/file_put_contents_variation5.phpt @@ -42,9 +42,11 @@ function runtest() { } ?> ===DONE=== ---EXPECT-- +--EXPECTF-- File written in working directory File written in working directory + +Deprecated: Passing null to argument of type string is deprecated in %s on line %d File written in working directory File written in working directory ===DONE=== diff --git a/ext/standard/tests/file/file_put_contents_variation8.phpt b/ext/standard/tests/file/file_put_contents_variation8.phpt index 4aef0644f9339ac9e4a84fc56f99672fc18f83df..766edc24443bcb6226655c8bb7c03eb58d30b5a3 100644 GIT binary patch delta 231 zcmX>vbX0i53)Uc))Pkba*#Ny)2ymW=U(wrQHl6-~4qV&?-)Vvaf{4|A< z%7Rpd;*uhed}gsi3S65)W}bp-u|j^HLQZC0s)B0Dqd|qh73)acStofT)vq>?@r(_msS}CL@X6B@(D3s(Y --EXPECTF-- *** Testing filesize(): usage variations *** + +Deprecated: Passing null to argument of type string is deprecated in %s on line %d bool(false) bool(false) bool(false) diff --git a/ext/standard/tests/file/flock_error.phpt b/ext/standard/tests/file/flock_error.phpt index 9f64dd0531cb3..6d55cfec20d26 100644 --- a/ext/standard/tests/file/flock_error.phpt +++ b/ext/standard/tests/file/flock_error.phpt @@ -71,6 +71,8 @@ Warning: flock(): Illegal operation argument in %s on line %d bool(false) --- Iteration 3 --- +Deprecated: Passing null to argument of type int is deprecated in %s on line %d + Warning: flock(): Illegal operation argument in %s on line %d bool(false) diff --git a/ext/standard/tests/file/fnmatch_basic.phpt b/ext/standard/tests/file/fnmatch_basic.phpt index 189605169d17e..1b149baba5e92 100644 --- a/ext/standard/tests/file/fnmatch_basic.phpt +++ b/ext/standard/tests/file/fnmatch_basic.phpt @@ -31,7 +31,7 @@ var_dump( fnmatch(NULL, NULL) ); echo "\n*** Done ***\n"; ?> ---EXPECT-- +--EXPECTF-- *** Testing fnmatch() with file *** bool(true) bool(true) @@ -44,6 +44,10 @@ bool(true) bool(true) bool(true) bool(true) + +Deprecated: Passing null to argument of type string is deprecated in %s on line %d + +Deprecated: Passing null to argument of type string is deprecated in %s on line %d bool(true) *** Done *** diff --git a/ext/standard/tests/file/fnmatch_variation.phpt b/ext/standard/tests/file/fnmatch_variation.phpt index 919e80eec0bf4..c822858ce80cc 100644 --- a/ext/standard/tests/file/fnmatch_variation.phpt +++ b/ext/standard/tests/file/fnmatch_variation.phpt @@ -438,25 +438,61 @@ bool(true) --- With NULL --- -- Iteration 0 -- + +Deprecated: Passing null to argument of type string is deprecated in %s on line %d + +Deprecated: Passing null to argument of type string is deprecated in %s on line %d bool(true) + +Deprecated: Passing null to argument of type string is deprecated in %s on line %d + +Deprecated: Passing null to argument of type string is deprecated in %s on line %d bool(true) + +Deprecated: Passing null to argument of type string is deprecated in %s on line %d bool(true) +Deprecated: Passing null to argument of type string is deprecated in %s on line %d + Warning: fnmatch() expects parameter 2 to be a valid path, string given in %s on line %d NULL + +Deprecated: Passing null to argument of type string is deprecated in %s on line %d bool(false) + +Deprecated: Passing null to argument of type string is deprecated in %s on line %d bool(false) -- Iteration 1 -- + +Deprecated: Passing null to argument of type string is deprecated in %s on line %d + +Deprecated: Passing null to argument of type string is deprecated in %s on line %d bool(true) + +Deprecated: Passing null to argument of type string is deprecated in %s on line %d + +Deprecated: Passing null to argument of type string is deprecated in %s on line %d bool(true) + +Deprecated: Passing null to argument of type string is deprecated in %s on line %d bool(true) +Deprecated: Passing null to argument of type string is deprecated in %s on line %d + Warning: fnmatch() expects parameter 2 to be a valid path, string given in %s on line %d NULL + +Deprecated: Passing null to argument of type string is deprecated in %s on line %d bool(false) + +Deprecated: Passing null to argument of type string is deprecated in %s on line %d bool(false) -- Iteration 2 -- + +Deprecated: Passing null to argument of type string is deprecated in %s on line %d bool(true) + +Deprecated: Passing null to argument of type string is deprecated in %s on line %d bool(true) bool(true) @@ -484,7 +520,11 @@ NULL Warning: fnmatch() expects parameter 1 to be a valid path, string given in %s on line %d NULL -- Iteration 4 -- + +Deprecated: Passing null to argument of type string is deprecated in %s on line %d bool(false) + +Deprecated: Passing null to argument of type string is deprecated in %s on line %d bool(false) bool(false) @@ -493,7 +533,11 @@ NULL bool(true) bool(false) -- Iteration 5 -- + +Deprecated: Passing null to argument of type string is deprecated in %s on line %d bool(false) + +Deprecated: Passing null to argument of type string is deprecated in %s on line %d bool(false) bool(false) diff --git a/ext/standard/tests/file/fputcsv_variation2.phpt b/ext/standard/tests/file/fputcsv_variation2.phpt index deb2e825651a2..ce1648b4f5e9d 100644 --- a/ext/standard/tests/file/fputcsv_variation2.phpt +++ b/ext/standard/tests/file/fputcsv_variation2.phpt @@ -77,6 +77,8 @@ echo "Done\n"; -- file opened in r+ -- +Deprecated: Passing null to argument of type string is deprecated in %s on line %d + Warning: fputcsv(): delimiter must be a character in %s on line %d bool(false) int(0) @@ -85,6 +87,8 @@ string(0) "" -- file opened in r+b -- +Deprecated: Passing null to argument of type string is deprecated in %s on line %d + Warning: fputcsv(): delimiter must be a character in %s on line %d bool(false) int(0) @@ -93,6 +97,8 @@ string(0) "" -- file opened in r+t -- +Deprecated: Passing null to argument of type string is deprecated in %s on line %d + Warning: fputcsv(): delimiter must be a character in %s on line %d bool(false) int(0) @@ -101,6 +107,8 @@ string(0) "" -- file opened in a+ -- +Deprecated: Passing null to argument of type string is deprecated in %s on line %d + Warning: fputcsv(): delimiter must be a character in %s on line %d bool(false) int(0) @@ -109,6 +117,8 @@ string(0) "" -- file opened in a+b -- +Deprecated: Passing null to argument of type string is deprecated in %s on line %d + Warning: fputcsv(): delimiter must be a character in %s on line %d bool(false) int(0) @@ -117,6 +127,8 @@ string(0) "" -- file opened in a+t -- +Deprecated: Passing null to argument of type string is deprecated in %s on line %d + Warning: fputcsv(): delimiter must be a character in %s on line %d bool(false) int(0) @@ -125,6 +137,8 @@ string(0) "" -- file opened in w+ -- +Deprecated: Passing null to argument of type string is deprecated in %s on line %d + Warning: fputcsv(): delimiter must be a character in %s on line %d bool(false) int(0) @@ -133,6 +147,8 @@ string(0) "" -- file opened in w+b -- +Deprecated: Passing null to argument of type string is deprecated in %s on line %d + Warning: fputcsv(): delimiter must be a character in %s on line %d bool(false) int(0) @@ -141,6 +157,8 @@ string(0) "" -- file opened in w+t -- +Deprecated: Passing null to argument of type string is deprecated in %s on line %d + Warning: fputcsv(): delimiter must be a character in %s on line %d bool(false) int(0) @@ -149,6 +167,8 @@ string(0) "" -- file opened in x+ -- +Deprecated: Passing null to argument of type string is deprecated in %s on line %d + Warning: fputcsv(): delimiter must be a character in %s on line %d bool(false) int(0) @@ -157,6 +177,8 @@ string(0) "" -- file opened in x+b -- +Deprecated: Passing null to argument of type string is deprecated in %s on line %d + Warning: fputcsv(): delimiter must be a character in %s on line %d bool(false) int(0) @@ -165,6 +187,8 @@ string(0) "" -- file opened in x+t -- +Deprecated: Passing null to argument of type string is deprecated in %s on line %d + Warning: fputcsv(): delimiter must be a character in %s on line %d bool(false) int(0) @@ -173,6 +197,8 @@ string(0) "" -- file opened in r+ -- +Deprecated: Passing null to argument of type string is deprecated in %s on line %d + Warning: fputcsv(): delimiter must be a character in %s on line %d bool(false) int(0) @@ -181,6 +207,8 @@ string(0) "" -- file opened in r+b -- +Deprecated: Passing null to argument of type string is deprecated in %s on line %d + Warning: fputcsv(): delimiter must be a character in %s on line %d bool(false) int(0) @@ -189,6 +217,8 @@ string(0) "" -- file opened in r+t -- +Deprecated: Passing null to argument of type string is deprecated in %s on line %d + Warning: fputcsv(): delimiter must be a character in %s on line %d bool(false) int(0) @@ -197,6 +227,8 @@ string(0) "" -- file opened in a+ -- +Deprecated: Passing null to argument of type string is deprecated in %s on line %d + Warning: fputcsv(): delimiter must be a character in %s on line %d bool(false) int(0) @@ -205,6 +237,8 @@ string(0) "" -- file opened in a+b -- +Deprecated: Passing null to argument of type string is deprecated in %s on line %d + Warning: fputcsv(): delimiter must be a character in %s on line %d bool(false) int(0) @@ -213,6 +247,8 @@ string(0) "" -- file opened in a+t -- +Deprecated: Passing null to argument of type string is deprecated in %s on line %d + Warning: fputcsv(): delimiter must be a character in %s on line %d bool(false) int(0) @@ -221,6 +257,8 @@ string(0) "" -- file opened in w+ -- +Deprecated: Passing null to argument of type string is deprecated in %s on line %d + Warning: fputcsv(): delimiter must be a character in %s on line %d bool(false) int(0) @@ -229,6 +267,8 @@ string(0) "" -- file opened in w+b -- +Deprecated: Passing null to argument of type string is deprecated in %s on line %d + Warning: fputcsv(): delimiter must be a character in %s on line %d bool(false) int(0) @@ -237,6 +277,8 @@ string(0) "" -- file opened in w+t -- +Deprecated: Passing null to argument of type string is deprecated in %s on line %d + Warning: fputcsv(): delimiter must be a character in %s on line %d bool(false) int(0) @@ -245,6 +287,8 @@ string(0) "" -- file opened in x+ -- +Deprecated: Passing null to argument of type string is deprecated in %s on line %d + Warning: fputcsv(): delimiter must be a character in %s on line %d bool(false) int(0) @@ -253,6 +297,8 @@ string(0) "" -- file opened in x+b -- +Deprecated: Passing null to argument of type string is deprecated in %s on line %d + Warning: fputcsv(): delimiter must be a character in %s on line %d bool(false) int(0) @@ -261,6 +307,8 @@ string(0) "" -- file opened in x+t -- +Deprecated: Passing null to argument of type string is deprecated in %s on line %d + Warning: fputcsv(): delimiter must be a character in %s on line %d bool(false) int(0) @@ -269,6 +317,8 @@ string(0) "" -- file opened in r+ -- +Deprecated: Passing null to argument of type string is deprecated in %s on line %d + Warning: fputcsv(): delimiter must be a character in %s on line %d bool(false) int(0) @@ -277,6 +327,8 @@ string(0) "" -- file opened in r+b -- +Deprecated: Passing null to argument of type string is deprecated in %s on line %d + Warning: fputcsv(): delimiter must be a character in %s on line %d bool(false) int(0) @@ -285,6 +337,8 @@ string(0) "" -- file opened in r+t -- +Deprecated: Passing null to argument of type string is deprecated in %s on line %d + Warning: fputcsv(): delimiter must be a character in %s on line %d bool(false) int(0) @@ -293,6 +347,8 @@ string(0) "" -- file opened in a+ -- +Deprecated: Passing null to argument of type string is deprecated in %s on line %d + Warning: fputcsv(): delimiter must be a character in %s on line %d bool(false) int(0) @@ -301,6 +357,8 @@ string(0) "" -- file opened in a+b -- +Deprecated: Passing null to argument of type string is deprecated in %s on line %d + Warning: fputcsv(): delimiter must be a character in %s on line %d bool(false) int(0) @@ -309,6 +367,8 @@ string(0) "" -- file opened in a+t -- +Deprecated: Passing null to argument of type string is deprecated in %s on line %d + Warning: fputcsv(): delimiter must be a character in %s on line %d bool(false) int(0) @@ -317,6 +377,8 @@ string(0) "" -- file opened in w+ -- +Deprecated: Passing null to argument of type string is deprecated in %s on line %d + Warning: fputcsv(): delimiter must be a character in %s on line %d bool(false) int(0) @@ -325,6 +387,8 @@ string(0) "" -- file opened in w+b -- +Deprecated: Passing null to argument of type string is deprecated in %s on line %d + Warning: fputcsv(): delimiter must be a character in %s on line %d bool(false) int(0) @@ -333,6 +397,8 @@ string(0) "" -- file opened in w+t -- +Deprecated: Passing null to argument of type string is deprecated in %s on line %d + Warning: fputcsv(): delimiter must be a character in %s on line %d bool(false) int(0) @@ -341,6 +407,8 @@ string(0) "" -- file opened in x+ -- +Deprecated: Passing null to argument of type string is deprecated in %s on line %d + Warning: fputcsv(): delimiter must be a character in %s on line %d bool(false) int(0) @@ -349,6 +417,8 @@ string(0) "" -- file opened in x+b -- +Deprecated: Passing null to argument of type string is deprecated in %s on line %d + Warning: fputcsv(): delimiter must be a character in %s on line %d bool(false) int(0) @@ -357,6 +427,8 @@ string(0) "" -- file opened in x+t -- +Deprecated: Passing null to argument of type string is deprecated in %s on line %d + Warning: fputcsv(): delimiter must be a character in %s on line %d bool(false) int(0) @@ -365,6 +437,8 @@ string(0) "" -- file opened in r+ -- +Deprecated: Passing null to argument of type string is deprecated in %s on line %d + Warning: fputcsv(): delimiter must be a character in %s on line %d bool(false) int(0) @@ -373,6 +447,8 @@ string(0) "" -- file opened in r+b -- +Deprecated: Passing null to argument of type string is deprecated in %s on line %d + Warning: fputcsv(): delimiter must be a character in %s on line %d bool(false) int(0) @@ -381,6 +457,8 @@ string(0) "" -- file opened in r+t -- +Deprecated: Passing null to argument of type string is deprecated in %s on line %d + Warning: fputcsv(): delimiter must be a character in %s on line %d bool(false) int(0) @@ -389,6 +467,8 @@ string(0) "" -- file opened in a+ -- +Deprecated: Passing null to argument of type string is deprecated in %s on line %d + Warning: fputcsv(): delimiter must be a character in %s on line %d bool(false) int(0) @@ -397,6 +477,8 @@ string(0) "" -- file opened in a+b -- +Deprecated: Passing null to argument of type string is deprecated in %s on line %d + Warning: fputcsv(): delimiter must be a character in %s on line %d bool(false) int(0) @@ -405,6 +487,8 @@ string(0) "" -- file opened in a+t -- +Deprecated: Passing null to argument of type string is deprecated in %s on line %d + Warning: fputcsv(): delimiter must be a character in %s on line %d bool(false) int(0) @@ -413,6 +497,8 @@ string(0) "" -- file opened in w+ -- +Deprecated: Passing null to argument of type string is deprecated in %s on line %d + Warning: fputcsv(): delimiter must be a character in %s on line %d bool(false) int(0) @@ -421,6 +507,8 @@ string(0) "" -- file opened in w+b -- +Deprecated: Passing null to argument of type string is deprecated in %s on line %d + Warning: fputcsv(): delimiter must be a character in %s on line %d bool(false) int(0) @@ -429,6 +517,8 @@ string(0) "" -- file opened in w+t -- +Deprecated: Passing null to argument of type string is deprecated in %s on line %d + Warning: fputcsv(): delimiter must be a character in %s on line %d bool(false) int(0) @@ -437,6 +527,8 @@ string(0) "" -- file opened in x+ -- +Deprecated: Passing null to argument of type string is deprecated in %s on line %d + Warning: fputcsv(): delimiter must be a character in %s on line %d bool(false) int(0) @@ -445,6 +537,8 @@ string(0) "" -- file opened in x+b -- +Deprecated: Passing null to argument of type string is deprecated in %s on line %d + Warning: fputcsv(): delimiter must be a character in %s on line %d bool(false) int(0) @@ -453,6 +547,8 @@ string(0) "" -- file opened in x+t -- +Deprecated: Passing null to argument of type string is deprecated in %s on line %d + Warning: fputcsv(): delimiter must be a character in %s on line %d bool(false) int(0) @@ -461,6 +557,8 @@ string(0) "" -- file opened in r+ -- +Deprecated: Passing null to argument of type string is deprecated in %s on line %d + Warning: fputcsv(): delimiter must be a character in %s on line %d bool(false) int(0) @@ -469,6 +567,8 @@ string(0) "" -- file opened in r+b -- +Deprecated: Passing null to argument of type string is deprecated in %s on line %d + Warning: fputcsv(): delimiter must be a character in %s on line %d bool(false) int(0) @@ -477,6 +577,8 @@ string(0) "" -- file opened in r+t -- +Deprecated: Passing null to argument of type string is deprecated in %s on line %d + Warning: fputcsv(): delimiter must be a character in %s on line %d bool(false) int(0) @@ -485,6 +587,8 @@ string(0) "" -- file opened in a+ -- +Deprecated: Passing null to argument of type string is deprecated in %s on line %d + Warning: fputcsv(): delimiter must be a character in %s on line %d bool(false) int(0) @@ -493,6 +597,8 @@ string(0) "" -- file opened in a+b -- +Deprecated: Passing null to argument of type string is deprecated in %s on line %d + Warning: fputcsv(): delimiter must be a character in %s on line %d bool(false) int(0) @@ -501,6 +607,8 @@ string(0) "" -- file opened in a+t -- +Deprecated: Passing null to argument of type string is deprecated in %s on line %d + Warning: fputcsv(): delimiter must be a character in %s on line %d bool(false) int(0) @@ -509,6 +617,8 @@ string(0) "" -- file opened in w+ -- +Deprecated: Passing null to argument of type string is deprecated in %s on line %d + Warning: fputcsv(): delimiter must be a character in %s on line %d bool(false) int(0) @@ -517,6 +627,8 @@ string(0) "" -- file opened in w+b -- +Deprecated: Passing null to argument of type string is deprecated in %s on line %d + Warning: fputcsv(): delimiter must be a character in %s on line %d bool(false) int(0) @@ -525,6 +637,8 @@ string(0) "" -- file opened in w+t -- +Deprecated: Passing null to argument of type string is deprecated in %s on line %d + Warning: fputcsv(): delimiter must be a character in %s on line %d bool(false) int(0) @@ -533,6 +647,8 @@ string(0) "" -- file opened in x+ -- +Deprecated: Passing null to argument of type string is deprecated in %s on line %d + Warning: fputcsv(): delimiter must be a character in %s on line %d bool(false) int(0) @@ -541,6 +657,8 @@ string(0) "" -- file opened in x+b -- +Deprecated: Passing null to argument of type string is deprecated in %s on line %d + Warning: fputcsv(): delimiter must be a character in %s on line %d bool(false) int(0) @@ -549,6 +667,8 @@ string(0) "" -- file opened in x+t -- +Deprecated: Passing null to argument of type string is deprecated in %s on line %d + Warning: fputcsv(): delimiter must be a character in %s on line %d bool(false) int(0) @@ -557,6 +677,8 @@ string(0) "" -- file opened in r+ -- +Deprecated: Passing null to argument of type string is deprecated in %s on line %d + Warning: fputcsv(): delimiter must be a character in %s on line %d bool(false) int(0) @@ -565,6 +687,8 @@ string(0) "" -- file opened in r+b -- +Deprecated: Passing null to argument of type string is deprecated in %s on line %d + Warning: fputcsv(): delimiter must be a character in %s on line %d bool(false) int(0) @@ -573,6 +697,8 @@ string(0) "" -- file opened in r+t -- +Deprecated: Passing null to argument of type string is deprecated in %s on line %d + Warning: fputcsv(): delimiter must be a character in %s on line %d bool(false) int(0) @@ -581,6 +707,8 @@ string(0) "" -- file opened in a+ -- +Deprecated: Passing null to argument of type string is deprecated in %s on line %d + Warning: fputcsv(): delimiter must be a character in %s on line %d bool(false) int(0) @@ -589,6 +717,8 @@ string(0) "" -- file opened in a+b -- +Deprecated: Passing null to argument of type string is deprecated in %s on line %d + Warning: fputcsv(): delimiter must be a character in %s on line %d bool(false) int(0) @@ -597,6 +727,8 @@ string(0) "" -- file opened in a+t -- +Deprecated: Passing null to argument of type string is deprecated in %s on line %d + Warning: fputcsv(): delimiter must be a character in %s on line %d bool(false) int(0) @@ -605,6 +737,8 @@ string(0) "" -- file opened in w+ -- +Deprecated: Passing null to argument of type string is deprecated in %s on line %d + Warning: fputcsv(): delimiter must be a character in %s on line %d bool(false) int(0) @@ -613,6 +747,8 @@ string(0) "" -- file opened in w+b -- +Deprecated: Passing null to argument of type string is deprecated in %s on line %d + Warning: fputcsv(): delimiter must be a character in %s on line %d bool(false) int(0) @@ -621,6 +757,8 @@ string(0) "" -- file opened in w+t -- +Deprecated: Passing null to argument of type string is deprecated in %s on line %d + Warning: fputcsv(): delimiter must be a character in %s on line %d bool(false) int(0) @@ -629,6 +767,8 @@ string(0) "" -- file opened in x+ -- +Deprecated: Passing null to argument of type string is deprecated in %s on line %d + Warning: fputcsv(): delimiter must be a character in %s on line %d bool(false) int(0) @@ -637,6 +777,8 @@ string(0) "" -- file opened in x+b -- +Deprecated: Passing null to argument of type string is deprecated in %s on line %d + Warning: fputcsv(): delimiter must be a character in %s on line %d bool(false) int(0) @@ -645,6 +787,8 @@ string(0) "" -- file opened in x+t -- +Deprecated: Passing null to argument of type string is deprecated in %s on line %d + Warning: fputcsv(): delimiter must be a character in %s on line %d bool(false) int(0) @@ -653,6 +797,8 @@ string(0) "" -- file opened in r+ -- +Deprecated: Passing null to argument of type string is deprecated in %s on line %d + Warning: fputcsv(): delimiter must be a character in %s on line %d bool(false) int(0) @@ -661,6 +807,8 @@ string(0) "" -- file opened in r+b -- +Deprecated: Passing null to argument of type string is deprecated in %s on line %d + Warning: fputcsv(): delimiter must be a character in %s on line %d bool(false) int(0) @@ -669,6 +817,8 @@ string(0) "" -- file opened in r+t -- +Deprecated: Passing null to argument of type string is deprecated in %s on line %d + Warning: fputcsv(): delimiter must be a character in %s on line %d bool(false) int(0) @@ -677,6 +827,8 @@ string(0) "" -- file opened in a+ -- +Deprecated: Passing null to argument of type string is deprecated in %s on line %d + Warning: fputcsv(): delimiter must be a character in %s on line %d bool(false) int(0) @@ -685,6 +837,8 @@ string(0) "" -- file opened in a+b -- +Deprecated: Passing null to argument of type string is deprecated in %s on line %d + Warning: fputcsv(): delimiter must be a character in %s on line %d bool(false) int(0) @@ -693,6 +847,8 @@ string(0) "" -- file opened in a+t -- +Deprecated: Passing null to argument of type string is deprecated in %s on line %d + Warning: fputcsv(): delimiter must be a character in %s on line %d bool(false) int(0) @@ -701,6 +857,8 @@ string(0) "" -- file opened in w+ -- +Deprecated: Passing null to argument of type string is deprecated in %s on line %d + Warning: fputcsv(): delimiter must be a character in %s on line %d bool(false) int(0) @@ -709,6 +867,8 @@ string(0) "" -- file opened in w+b -- +Deprecated: Passing null to argument of type string is deprecated in %s on line %d + Warning: fputcsv(): delimiter must be a character in %s on line %d bool(false) int(0) @@ -717,6 +877,8 @@ string(0) "" -- file opened in w+t -- +Deprecated: Passing null to argument of type string is deprecated in %s on line %d + Warning: fputcsv(): delimiter must be a character in %s on line %d bool(false) int(0) @@ -725,6 +887,8 @@ string(0) "" -- file opened in x+ -- +Deprecated: Passing null to argument of type string is deprecated in %s on line %d + Warning: fputcsv(): delimiter must be a character in %s on line %d bool(false) int(0) @@ -733,6 +897,8 @@ string(0) "" -- file opened in x+b -- +Deprecated: Passing null to argument of type string is deprecated in %s on line %d + Warning: fputcsv(): delimiter must be a character in %s on line %d bool(false) int(0) @@ -741,6 +907,8 @@ string(0) "" -- file opened in x+t -- +Deprecated: Passing null to argument of type string is deprecated in %s on line %d + Warning: fputcsv(): delimiter must be a character in %s on line %d bool(false) int(0) @@ -749,6 +917,8 @@ string(0) "" -- file opened in r+ -- +Deprecated: Passing null to argument of type string is deprecated in %s on line %d + Warning: fputcsv(): delimiter must be a character in %s on line %d bool(false) int(0) @@ -757,6 +927,8 @@ string(0) "" -- file opened in r+b -- +Deprecated: Passing null to argument of type string is deprecated in %s on line %d + Warning: fputcsv(): delimiter must be a character in %s on line %d bool(false) int(0) @@ -765,6 +937,8 @@ string(0) "" -- file opened in r+t -- +Deprecated: Passing null to argument of type string is deprecated in %s on line %d + Warning: fputcsv(): delimiter must be a character in %s on line %d bool(false) int(0) @@ -773,6 +947,8 @@ string(0) "" -- file opened in a+ -- +Deprecated: Passing null to argument of type string is deprecated in %s on line %d + Warning: fputcsv(): delimiter must be a character in %s on line %d bool(false) int(0) @@ -781,6 +957,8 @@ string(0) "" -- file opened in a+b -- +Deprecated: Passing null to argument of type string is deprecated in %s on line %d + Warning: fputcsv(): delimiter must be a character in %s on line %d bool(false) int(0) @@ -789,6 +967,8 @@ string(0) "" -- file opened in a+t -- +Deprecated: Passing null to argument of type string is deprecated in %s on line %d + Warning: fputcsv(): delimiter must be a character in %s on line %d bool(false) int(0) @@ -797,6 +977,8 @@ string(0) "" -- file opened in w+ -- +Deprecated: Passing null to argument of type string is deprecated in %s on line %d + Warning: fputcsv(): delimiter must be a character in %s on line %d bool(false) int(0) @@ -805,6 +987,8 @@ string(0) "" -- file opened in w+b -- +Deprecated: Passing null to argument of type string is deprecated in %s on line %d + Warning: fputcsv(): delimiter must be a character in %s on line %d bool(false) int(0) @@ -813,6 +997,8 @@ string(0) "" -- file opened in w+t -- +Deprecated: Passing null to argument of type string is deprecated in %s on line %d + Warning: fputcsv(): delimiter must be a character in %s on line %d bool(false) int(0) @@ -821,6 +1007,8 @@ string(0) "" -- file opened in x+ -- +Deprecated: Passing null to argument of type string is deprecated in %s on line %d + Warning: fputcsv(): delimiter must be a character in %s on line %d bool(false) int(0) @@ -829,6 +1017,8 @@ string(0) "" -- file opened in x+b -- +Deprecated: Passing null to argument of type string is deprecated in %s on line %d + Warning: fputcsv(): delimiter must be a character in %s on line %d bool(false) int(0) @@ -837,6 +1027,8 @@ string(0) "" -- file opened in x+t -- +Deprecated: Passing null to argument of type string is deprecated in %s on line %d + Warning: fputcsv(): delimiter must be a character in %s on line %d bool(false) int(0) @@ -845,6 +1037,8 @@ string(0) "" -- file opened in r+ -- +Deprecated: Passing null to argument of type string is deprecated in %s on line %d + Warning: fputcsv(): delimiter must be a character in %s on line %d bool(false) int(0) @@ -853,6 +1047,8 @@ string(0) "" -- file opened in r+b -- +Deprecated: Passing null to argument of type string is deprecated in %s on line %d + Warning: fputcsv(): delimiter must be a character in %s on line %d bool(false) int(0) @@ -861,6 +1057,8 @@ string(0) "" -- file opened in r+t -- +Deprecated: Passing null to argument of type string is deprecated in %s on line %d + Warning: fputcsv(): delimiter must be a character in %s on line %d bool(false) int(0) @@ -869,6 +1067,8 @@ string(0) "" -- file opened in a+ -- +Deprecated: Passing null to argument of type string is deprecated in %s on line %d + Warning: fputcsv(): delimiter must be a character in %s on line %d bool(false) int(0) @@ -877,6 +1077,8 @@ string(0) "" -- file opened in a+b -- +Deprecated: Passing null to argument of type string is deprecated in %s on line %d + Warning: fputcsv(): delimiter must be a character in %s on line %d bool(false) int(0) @@ -885,6 +1087,8 @@ string(0) "" -- file opened in a+t -- +Deprecated: Passing null to argument of type string is deprecated in %s on line %d + Warning: fputcsv(): delimiter must be a character in %s on line %d bool(false) int(0) @@ -893,6 +1097,8 @@ string(0) "" -- file opened in w+ -- +Deprecated: Passing null to argument of type string is deprecated in %s on line %d + Warning: fputcsv(): delimiter must be a character in %s on line %d bool(false) int(0) @@ -901,6 +1107,8 @@ string(0) "" -- file opened in w+b -- +Deprecated: Passing null to argument of type string is deprecated in %s on line %d + Warning: fputcsv(): delimiter must be a character in %s on line %d bool(false) int(0) @@ -909,6 +1117,8 @@ string(0) "" -- file opened in w+t -- +Deprecated: Passing null to argument of type string is deprecated in %s on line %d + Warning: fputcsv(): delimiter must be a character in %s on line %d bool(false) int(0) @@ -917,6 +1127,8 @@ string(0) "" -- file opened in x+ -- +Deprecated: Passing null to argument of type string is deprecated in %s on line %d + Warning: fputcsv(): delimiter must be a character in %s on line %d bool(false) int(0) @@ -925,6 +1137,8 @@ string(0) "" -- file opened in x+b -- +Deprecated: Passing null to argument of type string is deprecated in %s on line %d + Warning: fputcsv(): delimiter must be a character in %s on line %d bool(false) int(0) @@ -933,6 +1147,8 @@ string(0) "" -- file opened in x+t -- +Deprecated: Passing null to argument of type string is deprecated in %s on line %d + Warning: fputcsv(): delimiter must be a character in %s on line %d bool(false) int(0) diff --git a/ext/standard/tests/file/fputcsv_variation3.phpt b/ext/standard/tests/file/fputcsv_variation3.phpt index 05f29bfc4cd7d..2ec483a4c193e 100644 --- a/ext/standard/tests/file/fputcsv_variation3.phpt +++ b/ext/standard/tests/file/fputcsv_variation3.phpt @@ -77,6 +77,8 @@ echo "Done\n"; -- file opened in r+ -- +Deprecated: Passing null to argument of type string is deprecated in %s on line %d + Warning: fputcsv(): enclosure must be a character in %s on line %d bool(false) int(0) @@ -85,6 +87,8 @@ string(0) "" -- file opened in r+b -- +Deprecated: Passing null to argument of type string is deprecated in %s on line %d + Warning: fputcsv(): enclosure must be a character in %s on line %d bool(false) int(0) @@ -93,6 +97,8 @@ string(0) "" -- file opened in r+t -- +Deprecated: Passing null to argument of type string is deprecated in %s on line %d + Warning: fputcsv(): enclosure must be a character in %s on line %d bool(false) int(0) @@ -101,6 +107,8 @@ string(0) "" -- file opened in a+ -- +Deprecated: Passing null to argument of type string is deprecated in %s on line %d + Warning: fputcsv(): enclosure must be a character in %s on line %d bool(false) int(0) @@ -109,6 +117,8 @@ string(0) "" -- file opened in a+b -- +Deprecated: Passing null to argument of type string is deprecated in %s on line %d + Warning: fputcsv(): enclosure must be a character in %s on line %d bool(false) int(0) @@ -117,6 +127,8 @@ string(0) "" -- file opened in a+t -- +Deprecated: Passing null to argument of type string is deprecated in %s on line %d + Warning: fputcsv(): enclosure must be a character in %s on line %d bool(false) int(0) @@ -125,6 +137,8 @@ string(0) "" -- file opened in w+ -- +Deprecated: Passing null to argument of type string is deprecated in %s on line %d + Warning: fputcsv(): enclosure must be a character in %s on line %d bool(false) int(0) @@ -133,6 +147,8 @@ string(0) "" -- file opened in w+b -- +Deprecated: Passing null to argument of type string is deprecated in %s on line %d + Warning: fputcsv(): enclosure must be a character in %s on line %d bool(false) int(0) @@ -141,6 +157,8 @@ string(0) "" -- file opened in w+t -- +Deprecated: Passing null to argument of type string is deprecated in %s on line %d + Warning: fputcsv(): enclosure must be a character in %s on line %d bool(false) int(0) @@ -149,6 +167,8 @@ string(0) "" -- file opened in x+ -- +Deprecated: Passing null to argument of type string is deprecated in %s on line %d + Warning: fputcsv(): enclosure must be a character in %s on line %d bool(false) int(0) @@ -157,6 +177,8 @@ string(0) "" -- file opened in x+b -- +Deprecated: Passing null to argument of type string is deprecated in %s on line %d + Warning: fputcsv(): enclosure must be a character in %s on line %d bool(false) int(0) @@ -165,6 +187,8 @@ string(0) "" -- file opened in x+t -- +Deprecated: Passing null to argument of type string is deprecated in %s on line %d + Warning: fputcsv(): enclosure must be a character in %s on line %d bool(false) int(0) @@ -173,6 +197,8 @@ string(0) "" -- file opened in r+ -- +Deprecated: Passing null to argument of type string is deprecated in %s on line %d + Warning: fputcsv(): enclosure must be a character in %s on line %d bool(false) int(0) @@ -181,6 +207,8 @@ string(0) "" -- file opened in r+b -- +Deprecated: Passing null to argument of type string is deprecated in %s on line %d + Warning: fputcsv(): enclosure must be a character in %s on line %d bool(false) int(0) @@ -189,6 +217,8 @@ string(0) "" -- file opened in r+t -- +Deprecated: Passing null to argument of type string is deprecated in %s on line %d + Warning: fputcsv(): enclosure must be a character in %s on line %d bool(false) int(0) @@ -197,6 +227,8 @@ string(0) "" -- file opened in a+ -- +Deprecated: Passing null to argument of type string is deprecated in %s on line %d + Warning: fputcsv(): enclosure must be a character in %s on line %d bool(false) int(0) @@ -205,6 +237,8 @@ string(0) "" -- file opened in a+b -- +Deprecated: Passing null to argument of type string is deprecated in %s on line %d + Warning: fputcsv(): enclosure must be a character in %s on line %d bool(false) int(0) @@ -213,6 +247,8 @@ string(0) "" -- file opened in a+t -- +Deprecated: Passing null to argument of type string is deprecated in %s on line %d + Warning: fputcsv(): enclosure must be a character in %s on line %d bool(false) int(0) @@ -221,6 +257,8 @@ string(0) "" -- file opened in w+ -- +Deprecated: Passing null to argument of type string is deprecated in %s on line %d + Warning: fputcsv(): enclosure must be a character in %s on line %d bool(false) int(0) @@ -229,6 +267,8 @@ string(0) "" -- file opened in w+b -- +Deprecated: Passing null to argument of type string is deprecated in %s on line %d + Warning: fputcsv(): enclosure must be a character in %s on line %d bool(false) int(0) @@ -237,6 +277,8 @@ string(0) "" -- file opened in w+t -- +Deprecated: Passing null to argument of type string is deprecated in %s on line %d + Warning: fputcsv(): enclosure must be a character in %s on line %d bool(false) int(0) @@ -245,6 +287,8 @@ string(0) "" -- file opened in x+ -- +Deprecated: Passing null to argument of type string is deprecated in %s on line %d + Warning: fputcsv(): enclosure must be a character in %s on line %d bool(false) int(0) @@ -253,6 +297,8 @@ string(0) "" -- file opened in x+b -- +Deprecated: Passing null to argument of type string is deprecated in %s on line %d + Warning: fputcsv(): enclosure must be a character in %s on line %d bool(false) int(0) @@ -261,6 +307,8 @@ string(0) "" -- file opened in x+t -- +Deprecated: Passing null to argument of type string is deprecated in %s on line %d + Warning: fputcsv(): enclosure must be a character in %s on line %d bool(false) int(0) @@ -269,6 +317,8 @@ string(0) "" -- file opened in r+ -- +Deprecated: Passing null to argument of type string is deprecated in %s on line %d + Warning: fputcsv(): enclosure must be a character in %s on line %d bool(false) int(0) @@ -277,6 +327,8 @@ string(0) "" -- file opened in r+b -- +Deprecated: Passing null to argument of type string is deprecated in %s on line %d + Warning: fputcsv(): enclosure must be a character in %s on line %d bool(false) int(0) @@ -285,6 +337,8 @@ string(0) "" -- file opened in r+t -- +Deprecated: Passing null to argument of type string is deprecated in %s on line %d + Warning: fputcsv(): enclosure must be a character in %s on line %d bool(false) int(0) @@ -293,6 +347,8 @@ string(0) "" -- file opened in a+ -- +Deprecated: Passing null to argument of type string is deprecated in %s on line %d + Warning: fputcsv(): enclosure must be a character in %s on line %d bool(false) int(0) @@ -301,6 +357,8 @@ string(0) "" -- file opened in a+b -- +Deprecated: Passing null to argument of type string is deprecated in %s on line %d + Warning: fputcsv(): enclosure must be a character in %s on line %d bool(false) int(0) @@ -309,6 +367,8 @@ string(0) "" -- file opened in a+t -- +Deprecated: Passing null to argument of type string is deprecated in %s on line %d + Warning: fputcsv(): enclosure must be a character in %s on line %d bool(false) int(0) @@ -317,6 +377,8 @@ string(0) "" -- file opened in w+ -- +Deprecated: Passing null to argument of type string is deprecated in %s on line %d + Warning: fputcsv(): enclosure must be a character in %s on line %d bool(false) int(0) @@ -325,6 +387,8 @@ string(0) "" -- file opened in w+b -- +Deprecated: Passing null to argument of type string is deprecated in %s on line %d + Warning: fputcsv(): enclosure must be a character in %s on line %d bool(false) int(0) @@ -333,6 +397,8 @@ string(0) "" -- file opened in w+t -- +Deprecated: Passing null to argument of type string is deprecated in %s on line %d + Warning: fputcsv(): enclosure must be a character in %s on line %d bool(false) int(0) @@ -341,6 +407,8 @@ string(0) "" -- file opened in x+ -- +Deprecated: Passing null to argument of type string is deprecated in %s on line %d + Warning: fputcsv(): enclosure must be a character in %s on line %d bool(false) int(0) @@ -349,6 +417,8 @@ string(0) "" -- file opened in x+b -- +Deprecated: Passing null to argument of type string is deprecated in %s on line %d + Warning: fputcsv(): enclosure must be a character in %s on line %d bool(false) int(0) @@ -357,6 +427,8 @@ string(0) "" -- file opened in x+t -- +Deprecated: Passing null to argument of type string is deprecated in %s on line %d + Warning: fputcsv(): enclosure must be a character in %s on line %d bool(false) int(0) @@ -365,6 +437,8 @@ string(0) "" -- file opened in r+ -- +Deprecated: Passing null to argument of type string is deprecated in %s on line %d + Warning: fputcsv(): enclosure must be a character in %s on line %d bool(false) int(0) @@ -373,6 +447,8 @@ string(0) "" -- file opened in r+b -- +Deprecated: Passing null to argument of type string is deprecated in %s on line %d + Warning: fputcsv(): enclosure must be a character in %s on line %d bool(false) int(0) @@ -381,6 +457,8 @@ string(0) "" -- file opened in r+t -- +Deprecated: Passing null to argument of type string is deprecated in %s on line %d + Warning: fputcsv(): enclosure must be a character in %s on line %d bool(false) int(0) @@ -389,6 +467,8 @@ string(0) "" -- file opened in a+ -- +Deprecated: Passing null to argument of type string is deprecated in %s on line %d + Warning: fputcsv(): enclosure must be a character in %s on line %d bool(false) int(0) @@ -397,6 +477,8 @@ string(0) "" -- file opened in a+b -- +Deprecated: Passing null to argument of type string is deprecated in %s on line %d + Warning: fputcsv(): enclosure must be a character in %s on line %d bool(false) int(0) @@ -405,6 +487,8 @@ string(0) "" -- file opened in a+t -- +Deprecated: Passing null to argument of type string is deprecated in %s on line %d + Warning: fputcsv(): enclosure must be a character in %s on line %d bool(false) int(0) @@ -413,6 +497,8 @@ string(0) "" -- file opened in w+ -- +Deprecated: Passing null to argument of type string is deprecated in %s on line %d + Warning: fputcsv(): enclosure must be a character in %s on line %d bool(false) int(0) @@ -421,6 +507,8 @@ string(0) "" -- file opened in w+b -- +Deprecated: Passing null to argument of type string is deprecated in %s on line %d + Warning: fputcsv(): enclosure must be a character in %s on line %d bool(false) int(0) @@ -429,6 +517,8 @@ string(0) "" -- file opened in w+t -- +Deprecated: Passing null to argument of type string is deprecated in %s on line %d + Warning: fputcsv(): enclosure must be a character in %s on line %d bool(false) int(0) @@ -437,6 +527,8 @@ string(0) "" -- file opened in x+ -- +Deprecated: Passing null to argument of type string is deprecated in %s on line %d + Warning: fputcsv(): enclosure must be a character in %s on line %d bool(false) int(0) @@ -445,6 +537,8 @@ string(0) "" -- file opened in x+b -- +Deprecated: Passing null to argument of type string is deprecated in %s on line %d + Warning: fputcsv(): enclosure must be a character in %s on line %d bool(false) int(0) @@ -453,6 +547,8 @@ string(0) "" -- file opened in x+t -- +Deprecated: Passing null to argument of type string is deprecated in %s on line %d + Warning: fputcsv(): enclosure must be a character in %s on line %d bool(false) int(0) @@ -461,6 +557,8 @@ string(0) "" -- file opened in r+ -- +Deprecated: Passing null to argument of type string is deprecated in %s on line %d + Warning: fputcsv(): enclosure must be a character in %s on line %d bool(false) int(0) @@ -469,6 +567,8 @@ string(0) "" -- file opened in r+b -- +Deprecated: Passing null to argument of type string is deprecated in %s on line %d + Warning: fputcsv(): enclosure must be a character in %s on line %d bool(false) int(0) @@ -477,6 +577,8 @@ string(0) "" -- file opened in r+t -- +Deprecated: Passing null to argument of type string is deprecated in %s on line %d + Warning: fputcsv(): enclosure must be a character in %s on line %d bool(false) int(0) @@ -485,6 +587,8 @@ string(0) "" -- file opened in a+ -- +Deprecated: Passing null to argument of type string is deprecated in %s on line %d + Warning: fputcsv(): enclosure must be a character in %s on line %d bool(false) int(0) @@ -493,6 +597,8 @@ string(0) "" -- file opened in a+b -- +Deprecated: Passing null to argument of type string is deprecated in %s on line %d + Warning: fputcsv(): enclosure must be a character in %s on line %d bool(false) int(0) @@ -501,6 +607,8 @@ string(0) "" -- file opened in a+t -- +Deprecated: Passing null to argument of type string is deprecated in %s on line %d + Warning: fputcsv(): enclosure must be a character in %s on line %d bool(false) int(0) @@ -509,6 +617,8 @@ string(0) "" -- file opened in w+ -- +Deprecated: Passing null to argument of type string is deprecated in %s on line %d + Warning: fputcsv(): enclosure must be a character in %s on line %d bool(false) int(0) @@ -517,6 +627,8 @@ string(0) "" -- file opened in w+b -- +Deprecated: Passing null to argument of type string is deprecated in %s on line %d + Warning: fputcsv(): enclosure must be a character in %s on line %d bool(false) int(0) @@ -525,6 +637,8 @@ string(0) "" -- file opened in w+t -- +Deprecated: Passing null to argument of type string is deprecated in %s on line %d + Warning: fputcsv(): enclosure must be a character in %s on line %d bool(false) int(0) @@ -533,6 +647,8 @@ string(0) "" -- file opened in x+ -- +Deprecated: Passing null to argument of type string is deprecated in %s on line %d + Warning: fputcsv(): enclosure must be a character in %s on line %d bool(false) int(0) @@ -541,6 +657,8 @@ string(0) "" -- file opened in x+b -- +Deprecated: Passing null to argument of type string is deprecated in %s on line %d + Warning: fputcsv(): enclosure must be a character in %s on line %d bool(false) int(0) @@ -549,6 +667,8 @@ string(0) "" -- file opened in x+t -- +Deprecated: Passing null to argument of type string is deprecated in %s on line %d + Warning: fputcsv(): enclosure must be a character in %s on line %d bool(false) int(0) @@ -557,6 +677,8 @@ string(0) "" -- file opened in r+ -- +Deprecated: Passing null to argument of type string is deprecated in %s on line %d + Warning: fputcsv(): enclosure must be a character in %s on line %d bool(false) int(0) @@ -565,6 +687,8 @@ string(0) "" -- file opened in r+b -- +Deprecated: Passing null to argument of type string is deprecated in %s on line %d + Warning: fputcsv(): enclosure must be a character in %s on line %d bool(false) int(0) @@ -573,6 +697,8 @@ string(0) "" -- file opened in r+t -- +Deprecated: Passing null to argument of type string is deprecated in %s on line %d + Warning: fputcsv(): enclosure must be a character in %s on line %d bool(false) int(0) @@ -581,6 +707,8 @@ string(0) "" -- file opened in a+ -- +Deprecated: Passing null to argument of type string is deprecated in %s on line %d + Warning: fputcsv(): enclosure must be a character in %s on line %d bool(false) int(0) @@ -589,6 +717,8 @@ string(0) "" -- file opened in a+b -- +Deprecated: Passing null to argument of type string is deprecated in %s on line %d + Warning: fputcsv(): enclosure must be a character in %s on line %d bool(false) int(0) @@ -597,6 +727,8 @@ string(0) "" -- file opened in a+t -- +Deprecated: Passing null to argument of type string is deprecated in %s on line %d + Warning: fputcsv(): enclosure must be a character in %s on line %d bool(false) int(0) @@ -605,6 +737,8 @@ string(0) "" -- file opened in w+ -- +Deprecated: Passing null to argument of type string is deprecated in %s on line %d + Warning: fputcsv(): enclosure must be a character in %s on line %d bool(false) int(0) @@ -613,6 +747,8 @@ string(0) "" -- file opened in w+b -- +Deprecated: Passing null to argument of type string is deprecated in %s on line %d + Warning: fputcsv(): enclosure must be a character in %s on line %d bool(false) int(0) @@ -621,6 +757,8 @@ string(0) "" -- file opened in w+t -- +Deprecated: Passing null to argument of type string is deprecated in %s on line %d + Warning: fputcsv(): enclosure must be a character in %s on line %d bool(false) int(0) @@ -629,6 +767,8 @@ string(0) "" -- file opened in x+ -- +Deprecated: Passing null to argument of type string is deprecated in %s on line %d + Warning: fputcsv(): enclosure must be a character in %s on line %d bool(false) int(0) @@ -637,6 +777,8 @@ string(0) "" -- file opened in x+b -- +Deprecated: Passing null to argument of type string is deprecated in %s on line %d + Warning: fputcsv(): enclosure must be a character in %s on line %d bool(false) int(0) @@ -645,6 +787,8 @@ string(0) "" -- file opened in x+t -- +Deprecated: Passing null to argument of type string is deprecated in %s on line %d + Warning: fputcsv(): enclosure must be a character in %s on line %d bool(false) int(0) @@ -653,6 +797,8 @@ string(0) "" -- file opened in r+ -- +Deprecated: Passing null to argument of type string is deprecated in %s on line %d + Warning: fputcsv(): enclosure must be a character in %s on line %d bool(false) int(0) @@ -661,6 +807,8 @@ string(0) "" -- file opened in r+b -- +Deprecated: Passing null to argument of type string is deprecated in %s on line %d + Warning: fputcsv(): enclosure must be a character in %s on line %d bool(false) int(0) @@ -669,6 +817,8 @@ string(0) "" -- file opened in r+t -- +Deprecated: Passing null to argument of type string is deprecated in %s on line %d + Warning: fputcsv(): enclosure must be a character in %s on line %d bool(false) int(0) @@ -677,6 +827,8 @@ string(0) "" -- file opened in a+ -- +Deprecated: Passing null to argument of type string is deprecated in %s on line %d + Warning: fputcsv(): enclosure must be a character in %s on line %d bool(false) int(0) @@ -685,6 +837,8 @@ string(0) "" -- file opened in a+b -- +Deprecated: Passing null to argument of type string is deprecated in %s on line %d + Warning: fputcsv(): enclosure must be a character in %s on line %d bool(false) int(0) @@ -693,6 +847,8 @@ string(0) "" -- file opened in a+t -- +Deprecated: Passing null to argument of type string is deprecated in %s on line %d + Warning: fputcsv(): enclosure must be a character in %s on line %d bool(false) int(0) @@ -701,6 +857,8 @@ string(0) "" -- file opened in w+ -- +Deprecated: Passing null to argument of type string is deprecated in %s on line %d + Warning: fputcsv(): enclosure must be a character in %s on line %d bool(false) int(0) @@ -709,6 +867,8 @@ string(0) "" -- file opened in w+b -- +Deprecated: Passing null to argument of type string is deprecated in %s on line %d + Warning: fputcsv(): enclosure must be a character in %s on line %d bool(false) int(0) @@ -717,6 +877,8 @@ string(0) "" -- file opened in w+t -- +Deprecated: Passing null to argument of type string is deprecated in %s on line %d + Warning: fputcsv(): enclosure must be a character in %s on line %d bool(false) int(0) @@ -725,6 +887,8 @@ string(0) "" -- file opened in x+ -- +Deprecated: Passing null to argument of type string is deprecated in %s on line %d + Warning: fputcsv(): enclosure must be a character in %s on line %d bool(false) int(0) @@ -733,6 +897,8 @@ string(0) "" -- file opened in x+b -- +Deprecated: Passing null to argument of type string is deprecated in %s on line %d + Warning: fputcsv(): enclosure must be a character in %s on line %d bool(false) int(0) @@ -741,6 +907,8 @@ string(0) "" -- file opened in x+t -- +Deprecated: Passing null to argument of type string is deprecated in %s on line %d + Warning: fputcsv(): enclosure must be a character in %s on line %d bool(false) int(0) @@ -749,6 +917,8 @@ string(0) "" -- file opened in r+ -- +Deprecated: Passing null to argument of type string is deprecated in %s on line %d + Warning: fputcsv(): enclosure must be a character in %s on line %d bool(false) int(0) @@ -757,6 +927,8 @@ string(0) "" -- file opened in r+b -- +Deprecated: Passing null to argument of type string is deprecated in %s on line %d + Warning: fputcsv(): enclosure must be a character in %s on line %d bool(false) int(0) @@ -765,6 +937,8 @@ string(0) "" -- file opened in r+t -- +Deprecated: Passing null to argument of type string is deprecated in %s on line %d + Warning: fputcsv(): enclosure must be a character in %s on line %d bool(false) int(0) @@ -773,6 +947,8 @@ string(0) "" -- file opened in a+ -- +Deprecated: Passing null to argument of type string is deprecated in %s on line %d + Warning: fputcsv(): enclosure must be a character in %s on line %d bool(false) int(0) @@ -781,6 +957,8 @@ string(0) "" -- file opened in a+b -- +Deprecated: Passing null to argument of type string is deprecated in %s on line %d + Warning: fputcsv(): enclosure must be a character in %s on line %d bool(false) int(0) @@ -789,6 +967,8 @@ string(0) "" -- file opened in a+t -- +Deprecated: Passing null to argument of type string is deprecated in %s on line %d + Warning: fputcsv(): enclosure must be a character in %s on line %d bool(false) int(0) @@ -797,6 +977,8 @@ string(0) "" -- file opened in w+ -- +Deprecated: Passing null to argument of type string is deprecated in %s on line %d + Warning: fputcsv(): enclosure must be a character in %s on line %d bool(false) int(0) @@ -805,6 +987,8 @@ string(0) "" -- file opened in w+b -- +Deprecated: Passing null to argument of type string is deprecated in %s on line %d + Warning: fputcsv(): enclosure must be a character in %s on line %d bool(false) int(0) @@ -813,6 +997,8 @@ string(0) "" -- file opened in w+t -- +Deprecated: Passing null to argument of type string is deprecated in %s on line %d + Warning: fputcsv(): enclosure must be a character in %s on line %d bool(false) int(0) @@ -821,6 +1007,8 @@ string(0) "" -- file opened in x+ -- +Deprecated: Passing null to argument of type string is deprecated in %s on line %d + Warning: fputcsv(): enclosure must be a character in %s on line %d bool(false) int(0) @@ -829,6 +1017,8 @@ string(0) "" -- file opened in x+b -- +Deprecated: Passing null to argument of type string is deprecated in %s on line %d + Warning: fputcsv(): enclosure must be a character in %s on line %d bool(false) int(0) @@ -837,6 +1027,8 @@ string(0) "" -- file opened in x+t -- +Deprecated: Passing null to argument of type string is deprecated in %s on line %d + Warning: fputcsv(): enclosure must be a character in %s on line %d bool(false) int(0) @@ -845,6 +1037,8 @@ string(0) "" -- file opened in r+ -- +Deprecated: Passing null to argument of type string is deprecated in %s on line %d + Warning: fputcsv(): enclosure must be a character in %s on line %d bool(false) int(0) @@ -853,6 +1047,8 @@ string(0) "" -- file opened in r+b -- +Deprecated: Passing null to argument of type string is deprecated in %s on line %d + Warning: fputcsv(): enclosure must be a character in %s on line %d bool(false) int(0) @@ -861,6 +1057,8 @@ string(0) "" -- file opened in r+t -- +Deprecated: Passing null to argument of type string is deprecated in %s on line %d + Warning: fputcsv(): enclosure must be a character in %s on line %d bool(false) int(0) @@ -869,6 +1067,8 @@ string(0) "" -- file opened in a+ -- +Deprecated: Passing null to argument of type string is deprecated in %s on line %d + Warning: fputcsv(): enclosure must be a character in %s on line %d bool(false) int(0) @@ -877,6 +1077,8 @@ string(0) "" -- file opened in a+b -- +Deprecated: Passing null to argument of type string is deprecated in %s on line %d + Warning: fputcsv(): enclosure must be a character in %s on line %d bool(false) int(0) @@ -885,6 +1087,8 @@ string(0) "" -- file opened in a+t -- +Deprecated: Passing null to argument of type string is deprecated in %s on line %d + Warning: fputcsv(): enclosure must be a character in %s on line %d bool(false) int(0) @@ -893,6 +1097,8 @@ string(0) "" -- file opened in w+ -- +Deprecated: Passing null to argument of type string is deprecated in %s on line %d + Warning: fputcsv(): enclosure must be a character in %s on line %d bool(false) int(0) @@ -901,6 +1107,8 @@ string(0) "" -- file opened in w+b -- +Deprecated: Passing null to argument of type string is deprecated in %s on line %d + Warning: fputcsv(): enclosure must be a character in %s on line %d bool(false) int(0) @@ -909,6 +1117,8 @@ string(0) "" -- file opened in w+t -- +Deprecated: Passing null to argument of type string is deprecated in %s on line %d + Warning: fputcsv(): enclosure must be a character in %s on line %d bool(false) int(0) @@ -917,6 +1127,8 @@ string(0) "" -- file opened in x+ -- +Deprecated: Passing null to argument of type string is deprecated in %s on line %d + Warning: fputcsv(): enclosure must be a character in %s on line %d bool(false) int(0) @@ -925,6 +1137,8 @@ string(0) "" -- file opened in x+b -- +Deprecated: Passing null to argument of type string is deprecated in %s on line %d + Warning: fputcsv(): enclosure must be a character in %s on line %d bool(false) int(0) @@ -933,6 +1147,8 @@ string(0) "" -- file opened in x+t -- +Deprecated: Passing null to argument of type string is deprecated in %s on line %d + Warning: fputcsv(): enclosure must be a character in %s on line %d bool(false) int(0) diff --git a/ext/standard/tests/file/fputcsv_variation4.phpt b/ext/standard/tests/file/fputcsv_variation4.phpt deleted file mode 100644 index 0a1a1cb5d7d1b..0000000000000 --- a/ext/standard/tests/file/fputcsv_variation4.phpt +++ /dev/null @@ -1,941 +0,0 @@ ---TEST-- -Test fputcsv() : usage variations - with delimiter and enclosure as NULL ---FILE-- - ---EXPECTF-- -*** Testing fputcsv() : with delimiter and enclosure as NULL *** - --- file opened in r+ -- - -Warning: fputcsv(): delimiter must be a character in %s on line %d -bool(false) -int(0) -bool(false) -string(0) "" - --- file opened in r+b -- - -Warning: fputcsv(): delimiter must be a character in %s on line %d -bool(false) -int(0) -bool(false) -string(0) "" - --- file opened in r+t -- - -Warning: fputcsv(): delimiter must be a character in %s on line %d -bool(false) -int(0) -bool(false) -string(0) "" - --- file opened in a+ -- - -Warning: fputcsv(): delimiter must be a character in %s on line %d -bool(false) -int(0) -bool(false) -string(0) "" - --- file opened in a+b -- - -Warning: fputcsv(): delimiter must be a character in %s on line %d -bool(false) -int(0) -bool(false) -string(0) "" - --- file opened in a+t -- - -Warning: fputcsv(): delimiter must be a character in %s on line %d -bool(false) -int(0) -bool(false) -string(0) "" - --- file opened in w+ -- - -Warning: fputcsv(): delimiter must be a character in %s on line %d -bool(false) -int(0) -bool(false) -string(0) "" - --- file opened in w+b -- - -Warning: fputcsv(): delimiter must be a character in %s on line %d -bool(false) -int(0) -bool(false) -string(0) "" - --- file opened in w+t -- - -Warning: fputcsv(): delimiter must be a character in %s on line %d -bool(false) -int(0) -bool(false) -string(0) "" - --- file opened in x+ -- - -Warning: fputcsv(): delimiter must be a character in %s on line %d -bool(false) -int(0) -bool(false) -string(0) "" - --- file opened in x+b -- - -Warning: fputcsv(): delimiter must be a character in %s on line %d -bool(false) -int(0) -bool(false) -string(0) "" - --- file opened in x+t -- - -Warning: fputcsv(): delimiter must be a character in %s on line %d -bool(false) -int(0) -bool(false) -string(0) "" - --- file opened in r+ -- - -Warning: fputcsv(): delimiter must be a character in %s on line %d -bool(false) -int(0) -bool(false) -string(0) "" - --- file opened in r+b -- - -Warning: fputcsv(): delimiter must be a character in %s on line %d -bool(false) -int(0) -bool(false) -string(0) "" - --- file opened in r+t -- - -Warning: fputcsv(): delimiter must be a character in %s on line %d -bool(false) -int(0) -bool(false) -string(0) "" - --- file opened in a+ -- - -Warning: fputcsv(): delimiter must be a character in %s on line %d -bool(false) -int(0) -bool(false) -string(0) "" - --- file opened in a+b -- - -Warning: fputcsv(): delimiter must be a character in %s on line %d -bool(false) -int(0) -bool(false) -string(0) "" - --- file opened in a+t -- - -Warning: fputcsv(): delimiter must be a character in %s on line %d -bool(false) -int(0) -bool(false) -string(0) "" - --- file opened in w+ -- - -Warning: fputcsv(): delimiter must be a character in %s on line %d -bool(false) -int(0) -bool(false) -string(0) "" - --- file opened in w+b -- - -Warning: fputcsv(): delimiter must be a character in %s on line %d -bool(false) -int(0) -bool(false) -string(0) "" - --- file opened in w+t -- - -Warning: fputcsv(): delimiter must be a character in %s on line %d -bool(false) -int(0) -bool(false) -string(0) "" - --- file opened in x+ -- - -Warning: fputcsv(): delimiter must be a character in %s on line %d -bool(false) -int(0) -bool(false) -string(0) "" - --- file opened in x+b -- - -Warning: fputcsv(): delimiter must be a character in %s on line %d -bool(false) -int(0) -bool(false) -string(0) "" - --- file opened in x+t -- - -Warning: fputcsv(): delimiter must be a character in %s on line %d -bool(false) -int(0) -bool(false) -string(0) "" - --- file opened in r+ -- - -Warning: fputcsv(): delimiter must be a character in %s on line %d -bool(false) -int(0) -bool(false) -string(0) "" - --- file opened in r+b -- - -Warning: fputcsv(): delimiter must be a character in %s on line %d -bool(false) -int(0) -bool(false) -string(0) "" - --- file opened in r+t -- - -Warning: fputcsv(): delimiter must be a character in %s on line %d -bool(false) -int(0) -bool(false) -string(0) "" - --- file opened in a+ -- - -Warning: fputcsv(): delimiter must be a character in %s on line %d -bool(false) -int(0) -bool(false) -string(0) "" - --- file opened in a+b -- - -Warning: fputcsv(): delimiter must be a character in %s on line %d -bool(false) -int(0) -bool(false) -string(0) "" - --- file opened in a+t -- - -Warning: fputcsv(): delimiter must be a character in %s on line %d -bool(false) -int(0) -bool(false) -string(0) "" - --- file opened in w+ -- - -Warning: fputcsv(): delimiter must be a character in %s on line %d -bool(false) -int(0) -bool(false) -string(0) "" - --- file opened in w+b -- - -Warning: fputcsv(): delimiter must be a character in %s on line %d -bool(false) -int(0) -bool(false) -string(0) "" - --- file opened in w+t -- - -Warning: fputcsv(): delimiter must be a character in %s on line %d -bool(false) -int(0) -bool(false) -string(0) "" - --- file opened in x+ -- - -Warning: fputcsv(): delimiter must be a character in %s on line %d -bool(false) -int(0) -bool(false) -string(0) "" - --- file opened in x+b -- - -Warning: fputcsv(): delimiter must be a character in %s on line %d -bool(false) -int(0) -bool(false) -string(0) "" - --- file opened in x+t -- - -Warning: fputcsv(): delimiter must be a character in %s on line %d -bool(false) -int(0) -bool(false) -string(0) "" - --- file opened in r+ -- - -Warning: fputcsv(): delimiter must be a character in %s on line %d -bool(false) -int(0) -bool(false) -string(0) "" - --- file opened in r+b -- - -Warning: fputcsv(): delimiter must be a character in %s on line %d -bool(false) -int(0) -bool(false) -string(0) "" - --- file opened in r+t -- - -Warning: fputcsv(): delimiter must be a character in %s on line %d -bool(false) -int(0) -bool(false) -string(0) "" - --- file opened in a+ -- - -Warning: fputcsv(): delimiter must be a character in %s on line %d -bool(false) -int(0) -bool(false) -string(0) "" - --- file opened in a+b -- - -Warning: fputcsv(): delimiter must be a character in %s on line %d -bool(false) -int(0) -bool(false) -string(0) "" - --- file opened in a+t -- - -Warning: fputcsv(): delimiter must be a character in %s on line %d -bool(false) -int(0) -bool(false) -string(0) "" - --- file opened in w+ -- - -Warning: fputcsv(): delimiter must be a character in %s on line %d -bool(false) -int(0) -bool(false) -string(0) "" - --- file opened in w+b -- - -Warning: fputcsv(): delimiter must be a character in %s on line %d -bool(false) -int(0) -bool(false) -string(0) "" - --- file opened in w+t -- - -Warning: fputcsv(): delimiter must be a character in %s on line %d -bool(false) -int(0) -bool(false) -string(0) "" - --- file opened in x+ -- - -Warning: fputcsv(): delimiter must be a character in %s on line %d -bool(false) -int(0) -bool(false) -string(0) "" - --- file opened in x+b -- - -Warning: fputcsv(): delimiter must be a character in %s on line %d -bool(false) -int(0) -bool(false) -string(0) "" - --- file opened in x+t -- - -Warning: fputcsv(): delimiter must be a character in %s on line %d -bool(false) -int(0) -bool(false) -string(0) "" - --- file opened in r+ -- - -Warning: fputcsv(): delimiter must be a character in %s on line %d -bool(false) -int(0) -bool(false) -string(0) "" - --- file opened in r+b -- - -Warning: fputcsv(): delimiter must be a character in %s on line %d -bool(false) -int(0) -bool(false) -string(0) "" - --- file opened in r+t -- - -Warning: fputcsv(): delimiter must be a character in %s on line %d -bool(false) -int(0) -bool(false) -string(0) "" - --- file opened in a+ -- - -Warning: fputcsv(): delimiter must be a character in %s on line %d -bool(false) -int(0) -bool(false) -string(0) "" - --- file opened in a+b -- - -Warning: fputcsv(): delimiter must be a character in %s on line %d -bool(false) -int(0) -bool(false) -string(0) "" - --- file opened in a+t -- - -Warning: fputcsv(): delimiter must be a character in %s on line %d -bool(false) -int(0) -bool(false) -string(0) "" - --- file opened in w+ -- - -Warning: fputcsv(): delimiter must be a character in %s on line %d -bool(false) -int(0) -bool(false) -string(0) "" - --- file opened in w+b -- - -Warning: fputcsv(): delimiter must be a character in %s on line %d -bool(false) -int(0) -bool(false) -string(0) "" - --- file opened in w+t -- - -Warning: fputcsv(): delimiter must be a character in %s on line %d -bool(false) -int(0) -bool(false) -string(0) "" - --- file opened in x+ -- - -Warning: fputcsv(): delimiter must be a character in %s on line %d -bool(false) -int(0) -bool(false) -string(0) "" - --- file opened in x+b -- - -Warning: fputcsv(): delimiter must be a character in %s on line %d -bool(false) -int(0) -bool(false) -string(0) "" - --- file opened in x+t -- - -Warning: fputcsv(): delimiter must be a character in %s on line %d -bool(false) -int(0) -bool(false) -string(0) "" - --- file opened in r+ -- - -Warning: fputcsv(): delimiter must be a character in %s on line %d -bool(false) -int(0) -bool(false) -string(0) "" - --- file opened in r+b -- - -Warning: fputcsv(): delimiter must be a character in %s on line %d -bool(false) -int(0) -bool(false) -string(0) "" - --- file opened in r+t -- - -Warning: fputcsv(): delimiter must be a character in %s on line %d -bool(false) -int(0) -bool(false) -string(0) "" - --- file opened in a+ -- - -Warning: fputcsv(): delimiter must be a character in %s on line %d -bool(false) -int(0) -bool(false) -string(0) "" - --- file opened in a+b -- - -Warning: fputcsv(): delimiter must be a character in %s on line %d -bool(false) -int(0) -bool(false) -string(0) "" - --- file opened in a+t -- - -Warning: fputcsv(): delimiter must be a character in %s on line %d -bool(false) -int(0) -bool(false) -string(0) "" - --- file opened in w+ -- - -Warning: fputcsv(): delimiter must be a character in %s on line %d -bool(false) -int(0) -bool(false) -string(0) "" - --- file opened in w+b -- - -Warning: fputcsv(): delimiter must be a character in %s on line %d -bool(false) -int(0) -bool(false) -string(0) "" - --- file opened in w+t -- - -Warning: fputcsv(): delimiter must be a character in %s on line %d -bool(false) -int(0) -bool(false) -string(0) "" - --- file opened in x+ -- - -Warning: fputcsv(): delimiter must be a character in %s on line %d -bool(false) -int(0) -bool(false) -string(0) "" - --- file opened in x+b -- - -Warning: fputcsv(): delimiter must be a character in %s on line %d -bool(false) -int(0) -bool(false) -string(0) "" - --- file opened in x+t -- - -Warning: fputcsv(): delimiter must be a character in %s on line %d -bool(false) -int(0) -bool(false) -string(0) "" - --- file opened in r+ -- - -Warning: fputcsv(): delimiter must be a character in %s on line %d -bool(false) -int(0) -bool(false) -string(0) "" - --- file opened in r+b -- - -Warning: fputcsv(): delimiter must be a character in %s on line %d -bool(false) -int(0) -bool(false) -string(0) "" - --- file opened in r+t -- - -Warning: fputcsv(): delimiter must be a character in %s on line %d -bool(false) -int(0) -bool(false) -string(0) "" - --- file opened in a+ -- - -Warning: fputcsv(): delimiter must be a character in %s on line %d -bool(false) -int(0) -bool(false) -string(0) "" - --- file opened in a+b -- - -Warning: fputcsv(): delimiter must be a character in %s on line %d -bool(false) -int(0) -bool(false) -string(0) "" - --- file opened in a+t -- - -Warning: fputcsv(): delimiter must be a character in %s on line %d -bool(false) -int(0) -bool(false) -string(0) "" - --- file opened in w+ -- - -Warning: fputcsv(): delimiter must be a character in %s on line %d -bool(false) -int(0) -bool(false) -string(0) "" - --- file opened in w+b -- - -Warning: fputcsv(): delimiter must be a character in %s on line %d -bool(false) -int(0) -bool(false) -string(0) "" - --- file opened in w+t -- - -Warning: fputcsv(): delimiter must be a character in %s on line %d -bool(false) -int(0) -bool(false) -string(0) "" - --- file opened in x+ -- - -Warning: fputcsv(): delimiter must be a character in %s on line %d -bool(false) -int(0) -bool(false) -string(0) "" - --- file opened in x+b -- - -Warning: fputcsv(): delimiter must be a character in %s on line %d -bool(false) -int(0) -bool(false) -string(0) "" - --- file opened in x+t -- - -Warning: fputcsv(): delimiter must be a character in %s on line %d -bool(false) -int(0) -bool(false) -string(0) "" - --- file opened in r+ -- - -Warning: fputcsv(): delimiter must be a character in %s on line %d -bool(false) -int(0) -bool(false) -string(0) "" - --- file opened in r+b -- - -Warning: fputcsv(): delimiter must be a character in %s on line %d -bool(false) -int(0) -bool(false) -string(0) "" - --- file opened in r+t -- - -Warning: fputcsv(): delimiter must be a character in %s on line %d -bool(false) -int(0) -bool(false) -string(0) "" - --- file opened in a+ -- - -Warning: fputcsv(): delimiter must be a character in %s on line %d -bool(false) -int(0) -bool(false) -string(0) "" - --- file opened in a+b -- - -Warning: fputcsv(): delimiter must be a character in %s on line %d -bool(false) -int(0) -bool(false) -string(0) "" - --- file opened in a+t -- - -Warning: fputcsv(): delimiter must be a character in %s on line %d -bool(false) -int(0) -bool(false) -string(0) "" - --- file opened in w+ -- - -Warning: fputcsv(): delimiter must be a character in %s on line %d -bool(false) -int(0) -bool(false) -string(0) "" - --- file opened in w+b -- - -Warning: fputcsv(): delimiter must be a character in %s on line %d -bool(false) -int(0) -bool(false) -string(0) "" - --- file opened in w+t -- - -Warning: fputcsv(): delimiter must be a character in %s on line %d -bool(false) -int(0) -bool(false) -string(0) "" - --- file opened in x+ -- - -Warning: fputcsv(): delimiter must be a character in %s on line %d -bool(false) -int(0) -bool(false) -string(0) "" - --- file opened in x+b -- - -Warning: fputcsv(): delimiter must be a character in %s on line %d -bool(false) -int(0) -bool(false) -string(0) "" - --- file opened in x+t -- - -Warning: fputcsv(): delimiter must be a character in %s on line %d -bool(false) -int(0) -bool(false) -string(0) "" - --- file opened in r+ -- - -Warning: fputcsv(): delimiter must be a character in %s on line %d -bool(false) -int(0) -bool(false) -string(0) "" - --- file opened in r+b -- - -Warning: fputcsv(): delimiter must be a character in %s on line %d -bool(false) -int(0) -bool(false) -string(0) "" - --- file opened in r+t -- - -Warning: fputcsv(): delimiter must be a character in %s on line %d -bool(false) -int(0) -bool(false) -string(0) "" - --- file opened in a+ -- - -Warning: fputcsv(): delimiter must be a character in %s on line %d -bool(false) -int(0) -bool(false) -string(0) "" - --- file opened in a+b -- - -Warning: fputcsv(): delimiter must be a character in %s on line %d -bool(false) -int(0) -bool(false) -string(0) "" - --- file opened in a+t -- - -Warning: fputcsv(): delimiter must be a character in %s on line %d -bool(false) -int(0) -bool(false) -string(0) "" - --- file opened in w+ -- - -Warning: fputcsv(): delimiter must be a character in %s on line %d -bool(false) -int(0) -bool(false) -string(0) "" - --- file opened in w+b -- - -Warning: fputcsv(): delimiter must be a character in %s on line %d -bool(false) -int(0) -bool(false) -string(0) "" - --- file opened in w+t -- - -Warning: fputcsv(): delimiter must be a character in %s on line %d -bool(false) -int(0) -bool(false) -string(0) "" - --- file opened in x+ -- - -Warning: fputcsv(): delimiter must be a character in %s on line %d -bool(false) -int(0) -bool(false) -string(0) "" - --- file opened in x+b -- - -Warning: fputcsv(): delimiter must be a character in %s on line %d -bool(false) -int(0) -bool(false) -string(0) "" - --- file opened in x+t -- - -Warning: fputcsv(): delimiter must be a character in %s on line %d -bool(false) -int(0) -bool(false) -string(0) "" -Done diff --git a/ext/standard/tests/file/fread_error.phpt b/ext/standard/tests/file/fread_error.phpt index 1c4068cd97230..6365144f4e51e 100644 --- a/ext/standard/tests/file/fread_error.phpt +++ b/ext/standard/tests/file/fread_error.phpt @@ -103,6 +103,8 @@ bool(false) Notice: Undefined variable: file_content_type in %s on line %d +Deprecated: Passing null to argument of type int is deprecated in %s on line %d + Warning: fread(): supplied resource is not a valid stream resource in %s on line %d bool(false) diff --git a/ext/standard/tests/file/fscanf_error.phpt b/ext/standard/tests/file/fscanf_error.phpt index ea6a91e33dd8b..ed1310d44f1d0 100644 --- a/ext/standard/tests/file/fscanf_error.phpt +++ b/ext/standard/tests/file/fscanf_error.phpt @@ -78,6 +78,8 @@ int(-1) Notice: Undefined variable: undefined_var in %s on line %d Warning: Use of undefined constant undefined_constant - assumed 'undefined_constant' (this will throw an Error in a future version of PHP) in %s on line %d + +Deprecated: Passing null to argument of type string is deprecated in %s on line %d array(0) { } array(0) { diff --git a/ext/standard/tests/file/glob_variation3.phpt b/ext/standard/tests/file/glob_variation3.phpt index 5db242825e531..23d937781f0d3 100644 --- a/ext/standard/tests/file/glob_variation3.phpt +++ b/ext/standard/tests/file/glob_variation3.phpt @@ -16,7 +16,8 @@ var_dump(glob("$path/directly_not_exists")); var_dump(empty(ini_get('open_basedir'))); ?> ==DONE== ---EXPECT-- +--EXPECTF-- +Deprecated: Passing null to argument of type string is deprecated in %s on line %d array(0) { } array(0) { diff --git a/ext/standard/tests/file/is_dir_variation3.phpt b/ext/standard/tests/file/is_dir_variation3.phpt index 86c40da0ebc7b..7172cf4862e2c 100644 --- a/ext/standard/tests/file/is_dir_variation3.phpt +++ b/ext/standard/tests/file/is_dir_variation3.phpt @@ -39,6 +39,8 @@ echo "\n*** Done ***"; bool(false) bool(false) bool(false) + +Deprecated: Passing null to argument of type string is deprecated in %s on line %d bool(false) bool(false) diff --git a/ext/standard/tests/file/is_executable_variation3.phpt b/ext/standard/tests/file/is_executable_variation3.phpt index 5051504be9e8c..29371396e6a67 100644 --- a/ext/standard/tests/file/is_executable_variation3.phpt +++ b/ext/standard/tests/file/is_executable_variation3.phpt @@ -59,10 +59,14 @@ bool(false) bool(false) bool(false) bool(false) + +Deprecated: Passing null to argument of type string is deprecated in %s on line %d bool(false) bool(false) Warning: is_executable() expects parameter 1 to be a valid path, array given in %s on line %d NULL + +Deprecated: Passing null to argument of type string is deprecated in %s on line %d bool(false) Done diff --git a/ext/standard/tests/file/is_file_variation3.phpt b/ext/standard/tests/file/is_file_variation3.phpt index bee1a6d6cfbc2..c2af1f533422e 100644 --- a/ext/standard/tests/file/is_file_variation3.phpt +++ b/ext/standard/tests/file/is_file_variation3.phpt @@ -49,6 +49,8 @@ bool(false) bool(false) bool(false) bool(false) + +Deprecated: Passing null to argument of type string is deprecated in %s on line %d bool(false) Warning: is_file() expects parameter 1 to be a valid path, resource given in %s on line %d diff --git a/ext/standard/tests/file/is_readable_variation3.phpt b/ext/standard/tests/file/is_readable_variation3.phpt index 5aec51b7807f2..09ff96e5c9b5c 100644 --- a/ext/standard/tests/file/is_readable_variation3.phpt +++ b/ext/standard/tests/file/is_readable_variation3.phpt @@ -58,10 +58,14 @@ bool(false) bool(false) bool(false) bool(false) + +Deprecated: Passing null to argument of type string is deprecated in %s on line %d bool(false) bool(false) Warning: is_readable() expects parameter 1 to be a valid path, array given in %s on line %d NULL + +Deprecated: Passing null to argument of type string is deprecated in %s on line %d bool(false) Done diff --git a/ext/standard/tests/file/is_writable_variation3.phpt b/ext/standard/tests/file/is_writable_variation3.phpt index f682bd329294d..7dfa655d33de3 100644 --- a/ext/standard/tests/file/is_writable_variation3.phpt +++ b/ext/standard/tests/file/is_writable_variation3.phpt @@ -62,7 +62,11 @@ bool(false) bool(false) bool(false) bool(false) + +Deprecated: Passing null to argument of type string is deprecated in %s on line %d bool(false) + +Deprecated: Passing null to argument of type string is deprecated in %s on line %d bool(false) bool(false) bool(false) @@ -72,6 +76,10 @@ NULL Warning: is_writeable() expects parameter 1 to be a valid path, array given in %s on line %d NULL + +Deprecated: Passing null to argument of type string is deprecated in %s on line %d bool(false) + +Deprecated: Passing null to argument of type string is deprecated in %s on line %d bool(false) Done diff --git a/ext/standard/tests/file/lstat_stat_variation22.phpt b/ext/standard/tests/file/lstat_stat_variation22.phpt index f9d904718859a..ec40d88bdbc32 100644 --- a/ext/standard/tests/file/lstat_stat_variation22.phpt +++ b/ext/standard/tests/file/lstat_stat_variation22.phpt @@ -32,6 +32,8 @@ echo "Done"; ?> --EXPECTF-- *** testing stat *** + +Deprecated: Passing null to argument of type string is deprecated in %s on line %d bool(false) bool(false) bool(false) @@ -42,6 +44,8 @@ bool(false) Warning: stat(): stat failed for | in %s on line %d bool(false) *** testing lstat *** + +Deprecated: Passing null to argument of type string is deprecated in %s on line %d bool(false) bool(false) bool(false) diff --git a/ext/standard/tests/file/pathinfo_variaton.phpt b/ext/standard/tests/file/pathinfo_variaton.phpt index 421f378e013d0..1e861f26d24e6 100644 --- a/ext/standard/tests/file/pathinfo_variaton.phpt +++ b/ext/standard/tests/file/pathinfo_variaton.phpt @@ -263,37 +263,67 @@ string(0) "" string(0) "" string(0) "" -- Iteration 14 -- + +Deprecated: Passing null to argument of type string is deprecated in %s on line %d array(2) { ["basename"]=> string(0) "" ["filename"]=> string(0) "" } + +Deprecated: Passing null to argument of type string is deprecated in %s on line %d string(0) "" + +Deprecated: Passing null to argument of type string is deprecated in %s on line %d string(0) "" + +Deprecated: Passing null to argument of type string is deprecated in %s on line %d string(0) "" + +Deprecated: Passing null to argument of type string is deprecated in %s on line %d string(0) "" -- Iteration 15 -- + +Deprecated: Passing null to argument of type string is deprecated in %s on line %d array(2) { ["basename"]=> string(0) "" ["filename"]=> string(0) "" } + +Deprecated: Passing null to argument of type string is deprecated in %s on line %d string(0) "" + +Deprecated: Passing null to argument of type string is deprecated in %s on line %d string(0) "" + +Deprecated: Passing null to argument of type string is deprecated in %s on line %d string(0) "" + +Deprecated: Passing null to argument of type string is deprecated in %s on line %d string(0) "" -- Iteration 16 -- + +Deprecated: Passing null to argument of type string is deprecated in %s on line %d array(2) { ["basename"]=> string(0) "" ["filename"]=> string(0) "" } + +Deprecated: Passing null to argument of type string is deprecated in %s on line %d string(0) "" + +Deprecated: Passing null to argument of type string is deprecated in %s on line %d string(0) "" + +Deprecated: Passing null to argument of type string is deprecated in %s on line %d string(0) "" + +Deprecated: Passing null to argument of type string is deprecated in %s on line %d string(0) "" -- Iteration 17 -- array(4) { diff --git a/ext/standard/tests/file/readfile_error.phpt b/ext/standard/tests/file/readfile_error.phpt index 0dc1f7b82fa34..59c2e25a28a14 100644 --- a/ext/standard/tests/file/readfile_error.phpt +++ b/ext/standard/tests/file/readfile_error.phpt @@ -39,6 +39,8 @@ bool(false) -- Testing readfile() with invalid arguments -- +Deprecated: Passing null to argument of type string is deprecated in %s on line %d + Warning: readfile(): Filename cannot be empty in %s on line %d bool(false) @@ -56,6 +58,6 @@ bool(false) -- Testing readfile() with non-existent file -- -Warning: readfile(%s/non_existent_file.tmp): failed to open stream: %s in %s on line %d +Warning: readfile(%s/non_existent_file.tmp): failed to open stream: No such file or directory in %s on line %d bool(false) Done diff --git a/ext/standard/tests/file/readfile_variation10.phpt b/ext/standard/tests/file/readfile_variation10.phpt index 59b92ad365827af5d08f822679fd4ee2f077f075..ace00b8940555a83d7e31d3591fb050f734be9ea 100644 GIT binary patch delta 146 zcmX@cx0-)LFH4Y1YC%zIa$-qpij_h@VsUY1Ub;eFX-`^YF>##ewso_ zWkIS!aY+$KKC@UM1+GmYGfzRaSRp@8Aty60RY5gn@<%q2$sbrOH{W0}V4R%BDn40; ot$bmOvo(o?Od%f3gyb$mC+S0w&es$sgIGK$Jgw3;-;q4XgkF diff --git a/ext/standard/tests/file/readlink_realpath_variation3.phpt b/ext/standard/tests/file/readlink_realpath_variation3.phpt index b93d49e359aec..46ed7a723bed9 100644 --- a/ext/standard/tests/file/readlink_realpath_variation3.phpt +++ b/ext/standard/tests/file/readlink_realpath_variation3.phpt @@ -42,12 +42,12 @@ echo "Done\n"; Warning: readlink(): %s in %s on line %d bool(false) -%s +bool(false) -- Iteration2 -- Warning: readlink(): %s in %s on line %d bool(false) -%s +bool(false) -- Iteration3 -- Warning: readlink(): %s in %s on line %d @@ -60,12 +60,20 @@ bool(false) string(%d) "%s" -- Iteration5 -- +Deprecated: Passing null to argument of type string is deprecated in %s on line %d + Warning: readlink(): %s in %s on line %d bool(false) + +Deprecated: Passing null to argument of type string is deprecated in %s on line %d string(%d) "%s" -- Iteration6 -- +Deprecated: Passing null to argument of type string is deprecated in %s on line %d + Warning: readlink(): %s in %s on line %d bool(false) + +Deprecated: Passing null to argument of type string is deprecated in %s on line %d string(%d) "%s" Done diff --git a/ext/standard/tests/file/readlink_variation1.phpt b/ext/standard/tests/file/readlink_variation1.phpt index a54a246dc3c79..2971c1e146a94 100644 --- a/ext/standard/tests/file/readlink_variation1.phpt +++ b/ext/standard/tests/file/readlink_variation1.phpt @@ -10,7 +10,6 @@ Dave Kelsey /* Testing readlink() with invalid arguments -int, float, bool, NULL, resource */ $file_path = __DIR__; -$file_handle = fopen($file_path."/readlink_variation2.tmp", "w"); echo "*** Testing Invalid file types ***\n"; $filenames = array( @@ -20,7 +19,6 @@ $filenames = array( TRUE, FALSE, NULL, - $file_handle, /* scalars */ 1234, @@ -32,7 +30,6 @@ foreach( $filenames as $filename ) { var_dump( readlink($filename) ); clearstatcache(); } -fclose($file_handle); echo "\n*** Done ***"; ?> @@ -59,9 +56,6 @@ bool(false) Warning: readlink(): %s in %s on line %d bool(false) -Warning: readlink() expects parameter 1 to be a valid path, resource given in %s on line %d -NULL - Warning: readlink(): %s in %s on line %d bool(false) diff --git a/ext/standard/tests/file/rename_variation13.phpt b/ext/standard/tests/file/rename_variation13.phpt index 1cadd8a4383df..209c950170ee2 100644 --- a/ext/standard/tests/file/rename_variation13.phpt +++ b/ext/standard/tests/file/rename_variation13.phpt @@ -30,8 +30,6 @@ $names_arr = array( NULL, "", " ", - "\0", - array(), /* prefix with path separator of a non existing directory*/ "/no/such/file/dir", @@ -97,24 +95,6 @@ bool(true) Warning: rename( ,%s/renameVar13/afile.tmp): No such file or directory in %s on line %d bool(false) --- testing '%s' -- - -Warning: rename() %s in %s on line %d -bool(false) - -Warning: file_exists() expects parameter 1 to be a valid path, string given in %s on line %d - -Warning: rename() expects parameter 1 to be a valid path, string given in %s on line %d -bool(false) --- testing 'Array' -- - -Warning: rename() expects parameter 2 to be a valid path, array given in %s on line %d -bool(false) - -Warning: file_exists() expects parameter 1 to be a valid path, array given in %s on line %d - -Warning: rename() expects parameter 1 to be a valid path, array given in %s on line %d -bool(false) -- testing '/no/such/file/dir' -- Warning: rename(%s/renameVar13/afile.tmp,/no/such/file/dir): No such file or directory in %s on line %d diff --git a/ext/standard/tests/file/symlink_link_linkinfo_is_link_error1.phpt b/ext/standard/tests/file/symlink_link_linkinfo_is_link_error1.phpt index ddee40ecddb0a..6ee0f8aca71cc 100644 --- a/ext/standard/tests/file/symlink_link_linkinfo_is_link_error1.phpt +++ b/ext/standard/tests/file/symlink_link_linkinfo_is_link_error1.phpt @@ -33,11 +33,6 @@ fclose($fp); $linkname = __DIR__."/symlink_link_linkinfo_is_link_link_error1.tmp"; echo "*** Testing symlink() for error conditions ***\n"; -//zero arguments -var_dump( symlink() ); - -//more than expected -var_dump( symlink($filename, $linkname, true) ); //invalid arguments var_dump( symlink(NULL, $linkname) ); // NULL as filename @@ -48,11 +43,6 @@ var_dump( symlink($filename, '') ); // '' as linkname var_dump( symlink($filename, false) ); // false as linkname echo "\n*** Testing linkinfo() for error conditions ***\n"; -//zero arguments -var_dump( linkinfo() ); - -//more than expected -var_dump( linkinfo($linkname, true) ); //invalid arguments var_dump( linkinfo(NULL) ); // NULL as linkname @@ -69,12 +59,6 @@ unlink(__DIR__."/symlink_link_linkinfo_is_link_error1.tmp"); --EXPECTF-- *** Testing symlink() for error conditions *** -Warning: symlink() expects exactly 2 parameters, 0 given in %s on line %d -NULL - -Warning: symlink() expects exactly 2 parameters, 3 given in %s on line %d -NULL - Warning: symlink(): %s in %s on line %d bool(false) @@ -95,12 +79,6 @@ bool(false) *** Testing linkinfo() for error conditions *** -Warning: linkinfo() expects exactly 1 parameter, 0 given in %s on line %d -NULL - -Warning: linkinfo() expects exactly 1 parameter, 2 given in %s on line %d -NULL - Warning: linkinfo(): %s in %s on line %d int(-1) diff --git a/ext/standard/tests/file/symlink_link_linkinfo_is_link_error2.phpt b/ext/standard/tests/file/symlink_link_linkinfo_is_link_error2.phpt index 7e22741aa8f17..287ac4eb5f917 100644 --- a/ext/standard/tests/file/symlink_link_linkinfo_is_link_error2.phpt +++ b/ext/standard/tests/file/symlink_link_linkinfo_is_link_error2.phpt @@ -30,11 +30,6 @@ fclose($fp); $linkname = __DIR__."/symlink_link_linkinfo_is_link_link_error2.tmp"; echo "*** Testing link() for error conditions ***\n"; -//zero arguments -var_dump( link() ); - -//more than expected -var_dump( link($filename, $linkname, false) ); //invalid arguments var_dump( link(NULL, $linkname) ); // NULL as filename @@ -46,11 +41,6 @@ var_dump( link($filename, '') ); // '' as linkname var_dump( link($filename, false) ); // false as linkname echo "\n*** Testing is_link() for error conditions ***\n"; -//zero arguments -var_dump( is_link() ); - -//more than expected -var_dump( is_link($linkname, "/") ); //invalid arguments var_dump( is_link(NULL) ); // NULL as linkname @@ -68,12 +58,6 @@ unlink(__DIR__."/symlink_link_linkinfo_is_link_error2.tmp"); --EXPECTF-- *** Testing link() for error conditions *** -Warning: link() expects exactly 2 parameters, 0 given in %s on line %d -NULL - -Warning: link() expects exactly 2 parameters, 3 given in %s on line %d -NULL - Warning: link(): No such file or directory in %s on line %d bool(false) @@ -96,12 +80,6 @@ Warning: link(): No such file or directory in %s on line %d bool(false) *** Testing is_link() for error conditions *** - -Warning: is_link() expects exactly 1 parameter, 0 given in %s on line %d -NULL - -Warning: is_link() expects exactly 1 parameter, 2 given in %s on line %d -NULL bool(false) bool(false) bool(false) diff --git a/ext/standard/tests/file/tempnam_variation3.phpt b/ext/standard/tests/file/tempnam_variation3.phpt index 856667fa491ec..0a267c509eac8 100644 --- a/ext/standard/tests/file/tempnam_variation3.phpt +++ b/ext/standard/tests/file/tempnam_variation3.phpt @@ -37,7 +37,12 @@ $names_arr = array( for( $i=0; $igetMessage(), "\n"; + continue; + } /* creating the files in existing dir */ if( file_exists($file_name) ) { @@ -100,17 +105,9 @@ File name is => %s/%s File permissions are => 100600 File created in => directory specified -- Iteration 6 -- - -Warning: tempnam() expects parameter 2 to be a valid path, string given in %s on line %d --- File is not created -- - -Warning: unlink(): %s in %s on line %d +tempnam() expects parameter 2 to be a valid path, string given -- Iteration 7 -- - -Warning: tempnam() expects parameter 2 to be a valid path, array given in %s on line %d --- File is not created -- - -Warning: unlink(): %s in %s on line %d +tempnam() expects parameter 2 to be a valid path, array given -- Iteration 8 -- File name is => %s/dir%s File permissions are => 100600 diff --git a/ext/standard/tests/file/tempnam_variation7.phpt b/ext/standard/tests/file/tempnam_variation7.phpt index 9ed84f974ae2c..680e207718c5c 100644 --- a/ext/standard/tests/file/tempnam_variation7.phpt +++ b/ext/standard/tests/file/tempnam_variation7.phpt @@ -35,7 +35,12 @@ $names_arr = array( for( $i=0; $igetMessage(), "\n"; + continue; + } if( file_exists($file_name) ){ @@ -100,17 +105,9 @@ File name is => %s%etempnam_variation3.tmp%s File permissions are => 100600 File created in => temp dir -- Iteration 6 -- - -Warning: tempnam() expects parameter 1 to be a valid path, string given in %s on line %d --- File is not created -- - -Warning: unlink(): %s in %s on line %d +tempnam() expects parameter 1 to be a valid path, string given -- Iteration 7 -- - -Warning: tempnam() expects parameter 1 to be a valid path, array given in %s on line %d --- File is not created -- - -Warning: unlink(): %s in %s on line %d +tempnam() expects parameter 1 to be a valid path, array given -- Iteration 8 -- Notice: tempnam(): file created in the system's temporary directory in %stempnam_variation7.php on line %d diff --git a/ext/standard/tests/file/unlink_error.phpt b/ext/standard/tests/file/unlink_error.phpt index 61aac03dd3190..df5b5b9755597 100644 --- a/ext/standard/tests/file/unlink_error.phpt +++ b/ext/standard/tests/file/unlink_error.phpt @@ -23,13 +23,6 @@ $context = stream_context_create(); echo "*** Testing unlink() : error conditions ***\n"; -echo "-- Testing unlink() on unexpected no. of arguments --\n"; -// arg < expected -var_dump( unlink() ); -// args > expected -var_dump( unlink($filename, $context, true) ); -var_dump( file_exists($filename) ); // expected true - echo "\n-- Testing unlink() on invalid arguments --\n"; // invalid arguments var_dump( unlink('') ); // $filename as empty string @@ -41,10 +34,6 @@ var_dump( file_exists(NULL) ); // confirm file doesnt exist var_dump( unlink(false) ); // $filename as boolean false var_dump( file_exists(false) ); // confirm file doesnt exist -var_dump( unlink($filename, '') ); // $context as empty string -var_dump( unlink($filename, false) ); // $context as boolean false - - echo "\n-- Testing unlink() on non-existent file --\n"; var_dump( unlink(__DIR__."/non_existent_file.tmp") ); @@ -65,14 +54,6 @@ rmdir(__DIR__."/unlink_error"); ?> --EXPECTF-- *** Testing unlink() : error conditions *** --- Testing unlink() on unexpected no. of arguments -- - -Warning: unlink() expects at least 1 parameter, 0 given in %s on line %d -bool(false) - -Warning: unlink() expects at most 2 parameters, 3 given in %s on line %d -bool(false) -bool(true) -- Testing unlink() on invalid arguments -- @@ -88,12 +69,6 @@ Warning: unlink(): %s in %s on line %d bool(false) bool(false) -Warning: unlink() expects parameter 2 to be resource, string given in %s on line %d -bool(false) - -Warning: unlink() expects parameter 2 to be resource, bool given in %s on line %d -bool(false) - -- Testing unlink() on non-existent file -- Warning: unlink(%s/non_existent_file.tmp): No such file or directory in %s on line %d diff --git a/ext/standard/tests/general_functions/escapeshellarg_variation1.phpt b/ext/standard/tests/general_functions/escapeshellarg_variation1.phpt index 6f3b6a9f326e6..e41fe23214f1e 100644 --- a/ext/standard/tests/general_functions/escapeshellarg_variation1.phpt +++ b/ext/standard/tests/general_functions/escapeshellarg_variation1.phpt @@ -75,7 +75,7 @@ foreach($inputs as $input) { }; ?> ===Done=== ---EXPECT-- +--EXPECTF-- *** Testing escapeshellarg() : usage variations *** -- Iteration 1 -- @@ -109,9 +109,13 @@ string(12) "'0.01234567'" string(5) "'0.5'" -- Iteration 11 -- + +Deprecated: Passing null to argument of type string is deprecated in %s on line %d string(2) "''" -- Iteration 12 -- + +Deprecated: Passing null to argument of type string is deprecated in %s on line %d string(2) "''" -- Iteration 13 -- @@ -133,8 +137,12 @@ string(2) "''" string(2) "''" -- Iteration 19 -- + +Deprecated: Passing null to argument of type string is deprecated in %s on line %d string(2) "''" -- Iteration 20 -- + +Deprecated: Passing null to argument of type string is deprecated in %s on line %d string(2) "''" ===Done=== diff --git a/ext/standard/tests/general_functions/get_cfg_var_variation3.phpt b/ext/standard/tests/general_functions/get_cfg_var_variation3.phpt index 1a99242ba6366..12622b2f276cd 100644 --- a/ext/standard/tests/general_functions/get_cfg_var_variation3.phpt +++ b/ext/standard/tests/general_functions/get_cfg_var_variation3.phpt @@ -32,11 +32,19 @@ foreach ( $variation_array as $var ) { var_dump(get_cfg_var( $var ) ); } ?> ---EXPECT-- +--EXPECTF-- *** Test substituting argument 1 with emptyUnsetUndefNull values *** + +Deprecated: Passing null to argument of type string is deprecated in %s on line %d bool(false) + +Deprecated: Passing null to argument of type string is deprecated in %s on line %d bool(false) bool(false) bool(false) + +Deprecated: Passing null to argument of type string is deprecated in %s on line %d bool(false) + +Deprecated: Passing null to argument of type string is deprecated in %s on line %d bool(false) diff --git a/ext/standard/tests/general_functions/getservbyname_variation10.phpt b/ext/standard/tests/general_functions/getservbyname_variation10.phpt index db1d47f3ef862..cd916312cf6f3 100644 --- a/ext/standard/tests/general_functions/getservbyname_variation10.phpt +++ b/ext/standard/tests/general_functions/getservbyname_variation10.phpt @@ -26,11 +26,19 @@ foreach ( $variation_array as $var ) { var_dump(getservbyname( $service, $var ) ); } ?> ---EXPECT-- +--EXPECTF-- *** Test substituting argument 2 with emptyUnsetUndefNull values *** + +Deprecated: Passing null to argument of type string is deprecated in %s on line %d bool(false) + +Deprecated: Passing null to argument of type string is deprecated in %s on line %d bool(false) bool(false) bool(false) + +Deprecated: Passing null to argument of type string is deprecated in %s on line %d bool(false) + +Deprecated: Passing null to argument of type string is deprecated in %s on line %d bool(false) diff --git a/ext/standard/tests/general_functions/getservbyname_variation3.phpt b/ext/standard/tests/general_functions/getservbyname_variation3.phpt index 6602ce0bfc04a..0f13ba333c846 100644 --- a/ext/standard/tests/general_functions/getservbyname_variation3.phpt +++ b/ext/standard/tests/general_functions/getservbyname_variation3.phpt @@ -26,11 +26,19 @@ foreach ( $variation_array as $var ) { var_dump(getservbyname( $var , $protocol ) ); } ?> ---EXPECT-- +--EXPECTF-- *** Test substituting argument 1 with emptyUnsetUndefNull values *** + +Deprecated: Passing null to argument of type string is deprecated in %s on line %d bool(false) + +Deprecated: Passing null to argument of type string is deprecated in %s on line %d bool(false) bool(false) bool(false) + +Deprecated: Passing null to argument of type string is deprecated in %s on line %d bool(false) + +Deprecated: Passing null to argument of type string is deprecated in %s on line %d bool(false) diff --git a/ext/standard/tests/general_functions/getservbyport_variation1.phpt b/ext/standard/tests/general_functions/getservbyport_variation1.phpt index a876ac1fea7ce..778e1e5ef82b7 100644 --- a/ext/standard/tests/general_functions/getservbyport_variation1.phpt +++ b/ext/standard/tests/general_functions/getservbyport_variation1.phpt @@ -23,6 +23,10 @@ Simone Gentili (sensorario@gmail.com) --EXPECTF-- bool(false) bool(false) + +Deprecated: Passing null to argument of type int is deprecated in %s on line %d + +Deprecated: Passing null to argument of type string is deprecated in %s on line %d bool(false) Warning: getservbyport() expects parameter 1 to be int, array given in %s on line %d diff --git a/ext/standard/tests/image/image_type_to_extension.phpt b/ext/standard/tests/image/image_type_to_extension.phpt index 8418a4b8c7dfb..73add1921cba6 100644 --- a/ext/standard/tests/image/image_type_to_extension.phpt +++ b/ext/standard/tests/image/image_type_to_extension.phpt @@ -95,6 +95,8 @@ bool(false) Warning: image_type_to_extension() expects parameter 1 to be int, object given in %s on line %d bool(false) + +Deprecated: Passing null to argument of type bool is deprecated in %s on line %d bool(false) Warning: image_type_to_extension() expects at least 1 parameter, 0 given in %s on line %d diff --git a/ext/standard/tests/math/acos_variation.phpt b/ext/standard/tests/math/acos_variation.phpt index 5575ec579601b..5e3ac1c4469b5 100644 --- a/ext/standard/tests/math/acos_variation.phpt +++ b/ext/standard/tests/math/acos_variation.phpt @@ -51,6 +51,8 @@ float(NAN) Notice: A non well formed numeric value encountered in %s on line %d float(NAN) + +Deprecated: Passing null to argument of type float is deprecated in %s on line %d float(1.570796327) float(0) float(1.570796327) diff --git a/ext/standard/tests/math/acosh_variation.phpt b/ext/standard/tests/math/acosh_variation.phpt index cc89ce3e7681e..1583e6a334623 100644 --- a/ext/standard/tests/math/acosh_variation.phpt +++ b/ext/standard/tests/math/acosh_variation.phpt @@ -51,6 +51,8 @@ float(7.60090221) Notice: A non well formed numeric value encountered in %s on line %d float(7.60090221) + +Deprecated: Passing null to argument of type float is deprecated in %s on line %d float(NAN) float(0) float(NAN) diff --git a/ext/standard/tests/math/asin_variation.phpt b/ext/standard/tests/math/asin_variation.phpt index c8063849fd47d..0fb401e14167a 100644 --- a/ext/standard/tests/math/asin_variation.phpt +++ b/ext/standard/tests/math/asin_variation.phpt @@ -51,6 +51,8 @@ float(NAN) Notice: A non well formed numeric value encountered in %s on line %d float(NAN) + +Deprecated: Passing null to argument of type float is deprecated in %s on line %d float(0) float(1.570796327) float(0) diff --git a/ext/standard/tests/math/asinh_variation.phpt b/ext/standard/tests/math/asinh_variation.phpt index 5e41a4590050c..56bb03f77ac51 100644 --- a/ext/standard/tests/math/asinh_variation.phpt +++ b/ext/standard/tests/math/asinh_variation.phpt @@ -51,6 +51,8 @@ float(7.60090271) Notice: A non well formed numeric value encountered in %s on line %d float(7.60090271) + +Deprecated: Passing null to argument of type float is deprecated in %s on line %d float(0) float(0.881373587) float(0) diff --git a/ext/standard/tests/math/atan2_basic.phpt b/ext/standard/tests/math/atan2_basic.phpt index f6dae62900659..78d8ebff0e41b 100644 --- a/ext/standard/tests/math/atan2_basic.phpt +++ b/ext/standard/tests/math/atan2_basic.phpt @@ -38,7 +38,7 @@ for ($i = 0; $i < count($valuesy); $i++) { } } ?> ---EXPECT-- +--EXPECTF-- Y:23 X:23 float(0.78539816339745) Y:23 X:-23 float(2.3561944901923) Y:23 X:23.45 float(0.77571063007847) @@ -48,6 +48,8 @@ Y:23 X:23 float(0.78539816339745) Y:23 X:23 float(0.78539816339745) Y:23 X:23.45 float(0.77571063007847) Y:23 X:2.345e1 float(0.77571063007847) + +Deprecated: Passing null to argument of type float is deprecated in %s on line %d Y:23 X: float(1.5707963267949) Y:23 X:1 float(1.5273454314034) Y:23 X: float(1.5707963267949) @@ -60,6 +62,8 @@ Y:-23 X:23 float(-0.78539816339745) Y:-23 X:23 float(-0.78539816339745) Y:-23 X:23.45 float(-0.77571063007847) Y:-23 X:2.345e1 float(-0.77571063007847) + +Deprecated: Passing null to argument of type float is deprecated in %s on line %d Y:-23 X: float(-1.5707963267949) Y:-23 X:1 float(-1.5273454314034) Y:-23 X: float(-1.5707963267949) @@ -72,6 +76,8 @@ Y:23.45 X:23 float(0.79508569671643) Y:23.45 X:23 float(0.79508569671643) Y:23.45 X:23.45 float(0.78539816339745) Y:23.45 X:2.345e1 float(0.78539816339745) + +Deprecated: Passing null to argument of type float is deprecated in %s on line %d Y:23.45 X: float(1.5707963267949) Y:23.45 X:1 float(1.5281782247706) Y:23.45 X: float(1.5707963267949) @@ -84,6 +90,8 @@ Y:-23.45 X:23 float(-0.79508569671643) Y:-23.45 X:23 float(-0.79508569671643) Y:-23.45 X:23.45 float(-0.78539816339745) Y:-23.45 X:2.345e1 float(-0.78539816339745) + +Deprecated: Passing null to argument of type float is deprecated in %s on line %d Y:-23.45 X: float(-1.5707963267949) Y:-23.45 X:1 float(-1.5281782247706) Y:-23.45 X: float(-1.5707963267949) @@ -96,6 +104,8 @@ Y:23 X:23 float(0.78539816339745) Y:23 X:23 float(0.78539816339745) Y:23 X:23.45 float(0.77571063007847) Y:23 X:2.345e1 float(0.77571063007847) + +Deprecated: Passing null to argument of type float is deprecated in %s on line %d Y:23 X: float(1.5707963267949) Y:23 X:1 float(1.5273454314034) Y:23 X: float(1.5707963267949) @@ -108,6 +118,8 @@ Y:23 X:23 float(0.78539816339745) Y:23 X:23 float(0.78539816339745) Y:23 X:23.45 float(0.77571063007847) Y:23 X:2.345e1 float(0.77571063007847) + +Deprecated: Passing null to argument of type float is deprecated in %s on line %d Y:23 X: float(1.5707963267949) Y:23 X:1 float(1.5273454314034) Y:23 X: float(1.5707963267949) @@ -120,6 +132,8 @@ Y:23 X:23 float(0.78539816339745) Y:23 X:23 float(0.78539816339745) Y:23 X:23.45 float(0.77571063007847) Y:23 X:2.345e1 float(0.77571063007847) + +Deprecated: Passing null to argument of type float is deprecated in %s on line %d Y:23 X: float(1.5707963267949) Y:23 X:1 float(1.5273454314034) Y:23 X: float(1.5707963267949) @@ -132,6 +146,8 @@ Y:23.45 X:23 float(0.79508569671643) Y:23.45 X:23 float(0.79508569671643) Y:23.45 X:23.45 float(0.78539816339745) Y:23.45 X:2.345e1 float(0.78539816339745) + +Deprecated: Passing null to argument of type float is deprecated in %s on line %d Y:23.45 X: float(1.5707963267949) Y:23.45 X:1 float(1.5281782247706) Y:23.45 X: float(1.5707963267949) @@ -144,20 +160,48 @@ Y:2.345e1 X:23 float(0.79508569671643) Y:2.345e1 X:23 float(0.79508569671643) Y:2.345e1 X:23.45 float(0.78539816339745) Y:2.345e1 X:2.345e1 float(0.78539816339745) + +Deprecated: Passing null to argument of type float is deprecated in %s on line %d Y:2.345e1 X: float(1.5707963267949) Y:2.345e1 X:1 float(1.5281782247706) Y:2.345e1 X: float(1.5707963267949) + +Deprecated: Passing null to argument of type float is deprecated in %s on line %d Y: X:23 float(0) + +Deprecated: Passing null to argument of type float is deprecated in %s on line %d Y: X:-23 float(3.1415926535898) + +Deprecated: Passing null to argument of type float is deprecated in %s on line %d Y: X:23.45 float(0) + +Deprecated: Passing null to argument of type float is deprecated in %s on line %d Y: X:-23.45 float(3.1415926535898) + +Deprecated: Passing null to argument of type float is deprecated in %s on line %d Y: X:23 float(0) + +Deprecated: Passing null to argument of type float is deprecated in %s on line %d Y: X:23 float(0) + +Deprecated: Passing null to argument of type float is deprecated in %s on line %d Y: X:23 float(0) + +Deprecated: Passing null to argument of type float is deprecated in %s on line %d Y: X:23.45 float(0) + +Deprecated: Passing null to argument of type float is deprecated in %s on line %d Y: X:2.345e1 float(0) + +Deprecated: Passing null to argument of type float is deprecated in %s on line %d + +Deprecated: Passing null to argument of type float is deprecated in %s on line %d Y: X: float(0) + +Deprecated: Passing null to argument of type float is deprecated in %s on line %d Y: X:1 float(0) + +Deprecated: Passing null to argument of type float is deprecated in %s on line %d Y: X: float(0) Y:1 X:23 float(0.043450895391531) Y:1 X:-23 float(3.0981417581983) @@ -168,6 +212,8 @@ Y:1 X:23 float(0.043450895391531) Y:1 X:23 float(0.043450895391531) Y:1 X:23.45 float(0.042618102024328) Y:1 X:2.345e1 float(0.042618102024328) + +Deprecated: Passing null to argument of type float is deprecated in %s on line %d Y:1 X: float(1.5707963267949) Y:1 X:1 float(0.78539816339745) Y:1 X: float(1.5707963267949) @@ -180,6 +226,8 @@ Y: X:23 float(0) Y: X:23 float(0) Y: X:23.45 float(0) Y: X:2.345e1 float(0) + +Deprecated: Passing null to argument of type float is deprecated in %s on line %d Y: X: float(0) Y: X:1 float(0) Y: X: float(0) diff --git a/ext/standard/tests/math/atan_variation.phpt b/ext/standard/tests/math/atan_variation.phpt index b6a9a9ec32f84..2486167668eac 100644 --- a/ext/standard/tests/math/atan_variation.phpt +++ b/ext/standard/tests/math/atan_variation.phpt @@ -51,6 +51,8 @@ float(1.569796327) Notice: A non well formed numeric value encountered in %s on line %d float(1.569796327) + +Deprecated: Passing null to argument of type float is deprecated in %s on line %d float(0) float(0.7853981634) float(0) diff --git a/ext/standard/tests/math/atanh_variation.phpt b/ext/standard/tests/math/atanh_variation.phpt index 2b0a4b108547f..f043dae2f6cb4 100644 --- a/ext/standard/tests/math/atanh_variation.phpt +++ b/ext/standard/tests/math/atanh_variation.phpt @@ -51,6 +51,8 @@ float(NAN) Notice: A non well formed numeric value encountered in %s on line %d float(NAN) + +Deprecated: Passing null to argument of type float is deprecated in %s on line %d float(0) float(INF) float(0) diff --git a/ext/standard/tests/math/cos_variation.phpt b/ext/standard/tests/math/cos_variation.phpt index 6323042dc7d9a..226a8c9c2631c 100644 --- a/ext/standard/tests/math/cos_variation.phpt +++ b/ext/standard/tests/math/cos_variation.phpt @@ -51,6 +51,8 @@ float(0.5623790763) Notice: A non well formed numeric value encountered in %s on line %d float(0.5623790763) + +Deprecated: Passing null to argument of type float is deprecated in %s on line %d float(1) float(0.5403023059) float(1) diff --git a/ext/standard/tests/math/cosh_variation.phpt b/ext/standard/tests/math/cosh_variation.phpt index cd64670668cc5..533c8cb7ca200 100644 --- a/ext/standard/tests/math/cosh_variation.phpt +++ b/ext/standard/tests/math/cosh_variation.phpt @@ -51,6 +51,8 @@ float(INF) Notice: A non well formed numeric value encountered in %s on line %d float(INF) + +Deprecated: Passing null to argument of type float is deprecated in %s on line %d float(1) float(1.543080635) float(1) diff --git a/ext/standard/tests/math/deg2rad_variation.phpt b/ext/standard/tests/math/deg2rad_variation.phpt index d5f6920ea7a72..01d562cd1f34d 100644 --- a/ext/standard/tests/math/deg2rad_variation.phpt +++ b/ext/standard/tests/math/deg2rad_variation.phpt @@ -51,6 +51,8 @@ float(17.45329252) Notice: A non well formed numeric value encountered in %s on line %d float(17.45329252) + +Deprecated: Passing null to argument of type float is deprecated in %s on line %d float(0) float(0.01745329252) float(0) diff --git a/ext/standard/tests/math/exp_basic.phpt b/ext/standard/tests/math/exp_basic.phpt index 6d90c9d8a81e2..6e72f4e4107d7 100644 --- a/ext/standard/tests/math/exp_basic.phpt +++ b/ext/standard/tests/math/exp_basic.phpt @@ -27,7 +27,7 @@ foreach($values as $value) { ?> ===Done=== ---EXPECT-- +--EXPECTF-- -- Iteration 1 -- float(22026.465794807) @@ -62,5 +62,7 @@ float(2.718281828459) float(1) -- Iteration 12 -- + +Deprecated: Passing null to argument of type float is deprecated in %s on line %d float(1) ===Done=== diff --git a/ext/standard/tests/math/expm1_basic.phpt b/ext/standard/tests/math/expm1_basic.phpt index 5690f4cf6f84d..dee3d8662cf3a 100644 --- a/ext/standard/tests/math/expm1_basic.phpt +++ b/ext/standard/tests/math/expm1_basic.phpt @@ -34,7 +34,7 @@ foreach($values as $value) { }; ?> ===Done=== ---EXPECT-- +--EXPECTF-- *** Testing expm1() : basic functionality *** -- Iteration 1 -- @@ -71,5 +71,7 @@ float(1.718281828459) float(0) -- Iteration 12 -- + +Deprecated: Passing null to argument of type float is deprecated in %s on line %d float(0) ===Done=== diff --git a/ext/standard/tests/math/fmod_basic.phpt b/ext/standard/tests/math/fmod_basic.phpt index 875ae8dd05641..a2939914e9404 100644 --- a/ext/standard/tests/math/fmod_basic.phpt +++ b/ext/standard/tests/math/fmod_basic.phpt @@ -38,7 +38,7 @@ for ($i = 0; $i < count($values1); $i++) { } } ?> ---EXPECT-- +--EXPECTF-- iteration 0 float(0) float(0) @@ -49,6 +49,8 @@ float(0) float(0) float(1.7) float(4) + +Deprecated: Passing null to argument of type float is deprecated in %s on line %d float(NAN) float(0) float(NAN) @@ -63,6 +65,8 @@ float(-0) float(-0) float(-1.7) float(-4) + +Deprecated: Passing null to argument of type float is deprecated in %s on line %d float(NAN) float(-0) float(NAN) @@ -77,6 +81,8 @@ float(0.5) float(0.5) float(2.2) float(4.5) + +Deprecated: Passing null to argument of type float is deprecated in %s on line %d float(NAN) float(0.5) float(NAN) @@ -91,6 +97,8 @@ float(-0.5) float(-0.5) float(-2.2) float(-4.5) + +Deprecated: Passing null to argument of type float is deprecated in %s on line %d float(NAN) float(-0.5) float(NAN) @@ -105,6 +113,8 @@ float(0) float(0) float(1.7) float(4) + +Deprecated: Passing null to argument of type float is deprecated in %s on line %d float(NAN) float(0) float(NAN) @@ -119,6 +129,8 @@ float(0) float(0) float(1.7) float(4) + +Deprecated: Passing null to argument of type float is deprecated in %s on line %d float(NAN) float(0) float(NAN) @@ -133,6 +145,8 @@ float(0) float(0) float(1.7) float(4) + +Deprecated: Passing null to argument of type float is deprecated in %s on line %d float(NAN) float(0) float(NAN) @@ -147,6 +161,8 @@ float(0.5) float(0.5) float(2.2) float(4.5) + +Deprecated: Passing null to argument of type float is deprecated in %s on line %d float(NAN) float(0.5) float(NAN) @@ -161,22 +177,50 @@ float(0.5) float(0.5) float(2.2) float(4.5) + +Deprecated: Passing null to argument of type float is deprecated in %s on line %d float(NAN) float(0.5) float(NAN) iteration 9 + +Deprecated: Passing null to argument of type float is deprecated in %s on line %d float(0) + +Deprecated: Passing null to argument of type float is deprecated in %s on line %d float(0) + +Deprecated: Passing null to argument of type float is deprecated in %s on line %d float(0) + +Deprecated: Passing null to argument of type float is deprecated in %s on line %d float(0) + +Deprecated: Passing null to argument of type float is deprecated in %s on line %d float(0) + +Deprecated: Passing null to argument of type float is deprecated in %s on line %d float(0) + +Deprecated: Passing null to argument of type float is deprecated in %s on line %d float(0) + +Deprecated: Passing null to argument of type float is deprecated in %s on line %d float(0) + +Deprecated: Passing null to argument of type float is deprecated in %s on line %d float(0) + +Deprecated: Passing null to argument of type float is deprecated in %s on line %d + +Deprecated: Passing null to argument of type float is deprecated in %s on line %d float(NAN) + +Deprecated: Passing null to argument of type float is deprecated in %s on line %d float(0) + +Deprecated: Passing null to argument of type float is deprecated in %s on line %d float(NAN) iteration 10 @@ -189,6 +233,8 @@ float(1) float(1) float(1) float(1) + +Deprecated: Passing null to argument of type float is deprecated in %s on line %d float(NAN) float(0) float(NAN) @@ -203,6 +249,8 @@ float(0) float(0) float(0) float(0) + +Deprecated: Passing null to argument of type float is deprecated in %s on line %d float(NAN) float(0) float(NAN) diff --git a/ext/standard/tests/math/hypot_basic.phpt b/ext/standard/tests/math/hypot_basic.phpt index c09dd51da508f..5348b1355045d 100644 --- a/ext/standard/tests/math/hypot_basic.phpt +++ b/ext/standard/tests/math/hypot_basic.phpt @@ -74,7 +74,9 @@ Y:23 X:33abc Notice: A non well formed numeric value encountered in %s on line %d float(40.224370722238) -Y:23 X: float(23) +Y:23 X: +Deprecated: Passing null to argument of type float is deprecated in %s on line %d +float(23) Y:23 X:1 float(23.021728866443) @@ -102,7 +104,9 @@ Y:-23 X:33abc Notice: A non well formed numeric value encountered in %s on line %d float(40.224370722238) -Y:-23 X: float(23) +Y:-23 X: +Deprecated: Passing null to argument of type float is deprecated in %s on line %d +float(23) Y:-23 X:1 float(23.021728866443) @@ -130,7 +134,9 @@ Y:23.45 X:33abc Notice: A non well formed numeric value encountered in %s on line %d float(40.483360779461) -Y:23.45 X: float(23.45) +Y:23.45 X: +Deprecated: Passing null to argument of type float is deprecated in %s on line %d +float(23.45) Y:23.45 X:1 float(23.471312276905) @@ -158,7 +164,9 @@ Y:-23.45 X:33abc Notice: A non well formed numeric value encountered in %s on line %d float(40.483360779461) -Y:-23.45 X: float(23.45) +Y:-23.45 X: +Deprecated: Passing null to argument of type float is deprecated in %s on line %d +float(23.45) Y:-23.45 X:1 float(23.471312276905) @@ -186,7 +194,9 @@ Y:23 X:33abc Notice: A non well formed numeric value encountered in %s on line %d float(40.224370722238) -Y:23 X: float(23) +Y:23 X: +Deprecated: Passing null to argument of type float is deprecated in %s on line %d +float(23) Y:23 X:1 float(23.021728866443) @@ -214,7 +224,9 @@ Y:23 X:33abc Notice: A non well formed numeric value encountered in %s on line %d float(40.224370722238) -Y:23 X: float(23) +Y:23 X: +Deprecated: Passing null to argument of type float is deprecated in %s on line %d +float(23) Y:23 X:1 float(23.021728866443) @@ -242,7 +254,9 @@ Y:23 X:33abc Notice: A non well formed numeric value encountered in %s on line %d float(40.224370722238) -Y:23 X: float(23) +Y:23 X: +Deprecated: Passing null to argument of type float is deprecated in %s on line %d +float(23) Y:23 X:1 float(23.021728866443) @@ -270,7 +284,9 @@ Y:23.45 X:33abc Notice: A non well formed numeric value encountered in %s on line %d float(40.483360779461) -Y:23.45 X: float(23.45) +Y:23.45 X: +Deprecated: Passing null to argument of type float is deprecated in %s on line %d +float(23.45) Y:23.45 X:1 float(23.471312276905) @@ -298,7 +314,9 @@ Y:2.345e1 X:33abc Notice: A non well formed numeric value encountered in %s on line %d float(40.483360779461) -Y:2.345e1 X: float(23.45) +Y:2.345e1 X: +Deprecated: Passing null to argument of type float is deprecated in %s on line %d +float(23.45) Y:2.345e1 X:1 float(23.471312276905) @@ -348,6 +366,8 @@ float(40.224370722238) Y:23abc X: Notice: A non well formed numeric value encountered in %s on line %d + +Deprecated: Passing null to argument of type float is deprecated in %s on line %d float(23) Y:23abc X:1 @@ -358,33 +378,61 @@ Y:23abc X: Notice: A non well formed numeric value encountered in %s on line %d float(23) -Y: X:33 float(33) +Y: X:33 +Deprecated: Passing null to argument of type float is deprecated in %s on line %d +float(33) -Y: X:-33 float(33) +Y: X:-33 +Deprecated: Passing null to argument of type float is deprecated in %s on line %d +float(33) -Y: X:33.45 float(33.45) +Y: X:33.45 +Deprecated: Passing null to argument of type float is deprecated in %s on line %d +float(33.45) -Y: X:-33.45 float(33.45) +Y: X:-33.45 +Deprecated: Passing null to argument of type float is deprecated in %s on line %d +float(33.45) -Y: X:39 float(39) +Y: X:39 +Deprecated: Passing null to argument of type float is deprecated in %s on line %d +float(39) -Y: X:31 float(31) +Y: X:31 +Deprecated: Passing null to argument of type float is deprecated in %s on line %d +float(31) -Y: X:33 float(33) +Y: X:33 +Deprecated: Passing null to argument of type float is deprecated in %s on line %d +float(33) -Y: X:43.45 float(43.45) +Y: X:43.45 +Deprecated: Passing null to argument of type float is deprecated in %s on line %d +float(43.45) -Y: X:1.345e1 float(13.45) +Y: X:1.345e1 +Deprecated: Passing null to argument of type float is deprecated in %s on line %d +float(13.45) Y: X:33abc +Deprecated: Passing null to argument of type float is deprecated in %s on line %d + Notice: A non well formed numeric value encountered in %s on line %d float(33) -Y: X: float(0) +Y: X: +Deprecated: Passing null to argument of type float is deprecated in %s on line %d -Y: X:1 float(1) +Deprecated: Passing null to argument of type float is deprecated in %s on line %d +float(0) -Y: X: float(0) +Y: X:1 +Deprecated: Passing null to argument of type float is deprecated in %s on line %d +float(1) + +Y: X: +Deprecated: Passing null to argument of type float is deprecated in %s on line %d +float(0) Y:1 X:33 float(33.015148038438) @@ -408,7 +456,9 @@ Y:1 X:33abc Notice: A non well formed numeric value encountered in %s on line %d float(33.015148038438) -Y:1 X: float(1) +Y:1 X: +Deprecated: Passing null to argument of type float is deprecated in %s on line %d +float(1) Y:1 X:1 float(1.4142135623731) @@ -436,7 +486,9 @@ Y: X:33abc Notice: A non well formed numeric value encountered in %s on line %d float(33) -Y: X: float(0) +Y: X: +Deprecated: Passing null to argument of type float is deprecated in %s on line %d +float(0) Y: X:1 float(1) diff --git a/ext/standard/tests/math/is_finite_basic.phpt b/ext/standard/tests/math/is_finite_basic.phpt index 11db785ae45db..c378877489652 100644 --- a/ext/standard/tests/math/is_finite_basic.phpt +++ b/ext/standard/tests/math/is_finite_basic.phpt @@ -22,7 +22,7 @@ for ($i = 0; $i < count($values); $i++) { var_dump($res); } ?> ---EXPECT-- +--EXPECTF-- bool(true) bool(true) bool(true) @@ -32,6 +32,8 @@ bool(true) bool(true) bool(true) bool(true) + +Deprecated: Passing null to argument of type float is deprecated in %s on line %d bool(true) bool(true) bool(true) diff --git a/ext/standard/tests/math/is_infinite_basic.phpt b/ext/standard/tests/math/is_infinite_basic.phpt index 4f903403117fb..df875da641ccc 100644 --- a/ext/standard/tests/math/is_infinite_basic.phpt +++ b/ext/standard/tests/math/is_infinite_basic.phpt @@ -22,7 +22,7 @@ for ($i = 0; $i < count($values); $i++) { var_dump($res); } ?> ---EXPECT-- +--EXPECTF-- bool(false) bool(false) bool(false) @@ -32,6 +32,8 @@ bool(false) bool(false) bool(false) bool(false) + +Deprecated: Passing null to argument of type float is deprecated in %s on line %d bool(false) bool(false) bool(false) diff --git a/ext/standard/tests/math/is_nan_basic.phpt b/ext/standard/tests/math/is_nan_basic.phpt index 49d2ce4ccfd51..04822bfa13dbc 100644 --- a/ext/standard/tests/math/is_nan_basic.phpt +++ b/ext/standard/tests/math/is_nan_basic.phpt @@ -24,7 +24,7 @@ for ($i = 0; $i < count($values); $i++) { } ?> ---EXPECT-- +--EXPECTF-- bool(false) bool(false) bool(false) @@ -34,6 +34,8 @@ bool(false) bool(false) bool(false) bool(false) + +Deprecated: Passing null to argument of type float is deprecated in %s on line %d bool(false) bool(false) bool(false) diff --git a/ext/standard/tests/math/log10_variation.phpt b/ext/standard/tests/math/log10_variation.phpt index 5304325952838..5249553e9c29b 100644 --- a/ext/standard/tests/math/log10_variation.phpt +++ b/ext/standard/tests/math/log10_variation.phpt @@ -51,6 +51,8 @@ float(3) Notice: A non well formed numeric value encountered in %s on line %d float(3) + +Deprecated: Passing null to argument of type float is deprecated in %s on line %d float(-INF) float(0) float(-INF) diff --git a/ext/standard/tests/math/log1p_basic.phpt b/ext/standard/tests/math/log1p_basic.phpt index 61a0c3d83992b..d458b7f9d962e 100644 --- a/ext/standard/tests/math/log1p_basic.phpt +++ b/ext/standard/tests/math/log1p_basic.phpt @@ -35,7 +35,7 @@ foreach($values as $value) { ?> ===Done=== ---EXPECT-- +--EXPECTF-- *** Testing log1p() : basic functionality *** LOG1p tests @@ -68,6 +68,8 @@ float(3.1966302159209) float(3.1966302159209) -- log1p -- + +Deprecated: Passing null to argument of type float is deprecated in %s on line %d float(0) -- log1p 1 -- diff --git a/ext/standard/tests/math/log_basic.phpt b/ext/standard/tests/math/log_basic.phpt index de97ee264bfe2..a6cd64d5393f1 100644 --- a/ext/standard/tests/math/log_basic.phpt +++ b/ext/standard/tests/math/log_basic.phpt @@ -29,8 +29,8 @@ for ($i = 0; $i < count($values); $i++) { var_dump($res); } ?> ---EXPECT-- - LOG tests...no base +--EXPECTF-- +LOG tests...no base float(3.1354942159291) float(NAN) float(3.1548704948923) @@ -40,6 +40,8 @@ float(3.1354942159291) float(3.1354942159291) float(3.1548704948923) float(3.1548704948923) + +Deprecated: Passing null to argument of type float is deprecated in %s on line %d float(-INF) float(0) float(-INF) @@ -54,6 +56,8 @@ float(2.2617809780285) float(2.2617809780285) float(2.275758008814) float(2.275758008814) + +Deprecated: Passing null to argument of type float is deprecated in %s on line %d float(-INF) float(0) float(-INF) diff --git a/ext/standard/tests/math/mt_rand_basic.phpt b/ext/standard/tests/math/mt_rand_basic.phpt index 3a1e4406ebb11..d1ef144894f3e 100644 --- a/ext/standard/tests/math/mt_rand_basic.phpt +++ b/ext/standard/tests/math/mt_rand_basic.phpt @@ -79,7 +79,7 @@ for ($x = 0; $x < count($min); $x++) { } } ?> ---EXPECT-- +--EXPECTF-- mt_rand() tests with default min and max value (i.e 0 thru 2147483647) PASSED: range min = 0 max = 2147483647 @@ -94,6 +94,206 @@ PASSED: range min = 256 max = 448 Non-numeric cases PASSED range min = 1 max = 100 PASSED range min = 0 max = 100 + +Deprecated: Passing null to argument of type int is deprecated in %s on line %d + +Deprecated: Passing null to argument of type int is deprecated in %s on line %d + +Deprecated: Passing null to argument of type int is deprecated in %s on line %d + +Deprecated: Passing null to argument of type int is deprecated in %s on line %d + +Deprecated: Passing null to argument of type int is deprecated in %s on line %d + +Deprecated: Passing null to argument of type int is deprecated in %s on line %d + +Deprecated: Passing null to argument of type int is deprecated in %s on line %d + +Deprecated: Passing null to argument of type int is deprecated in %s on line %d + +Deprecated: Passing null to argument of type int is deprecated in %s on line %d + +Deprecated: Passing null to argument of type int is deprecated in %s on line %d + +Deprecated: Passing null to argument of type int is deprecated in %s on line %d + +Deprecated: Passing null to argument of type int is deprecated in %s on line %d + +Deprecated: Passing null to argument of type int is deprecated in %s on line %d + +Deprecated: Passing null to argument of type int is deprecated in %s on line %d + +Deprecated: Passing null to argument of type int is deprecated in %s on line %d + +Deprecated: Passing null to argument of type int is deprecated in %s on line %d + +Deprecated: Passing null to argument of type int is deprecated in %s on line %d + +Deprecated: Passing null to argument of type int is deprecated in %s on line %d + +Deprecated: Passing null to argument of type int is deprecated in %s on line %d + +Deprecated: Passing null to argument of type int is deprecated in %s on line %d + +Deprecated: Passing null to argument of type int is deprecated in %s on line %d + +Deprecated: Passing null to argument of type int is deprecated in %s on line %d + +Deprecated: Passing null to argument of type int is deprecated in %s on line %d + +Deprecated: Passing null to argument of type int is deprecated in %s on line %d + +Deprecated: Passing null to argument of type int is deprecated in %s on line %d + +Deprecated: Passing null to argument of type int is deprecated in %s on line %d + +Deprecated: Passing null to argument of type int is deprecated in %s on line %d + +Deprecated: Passing null to argument of type int is deprecated in %s on line %d + +Deprecated: Passing null to argument of type int is deprecated in %s on line %d + +Deprecated: Passing null to argument of type int is deprecated in %s on line %d + +Deprecated: Passing null to argument of type int is deprecated in %s on line %d + +Deprecated: Passing null to argument of type int is deprecated in %s on line %d + +Deprecated: Passing null to argument of type int is deprecated in %s on line %d + +Deprecated: Passing null to argument of type int is deprecated in %s on line %d + +Deprecated: Passing null to argument of type int is deprecated in %s on line %d + +Deprecated: Passing null to argument of type int is deprecated in %s on line %d + +Deprecated: Passing null to argument of type int is deprecated in %s on line %d + +Deprecated: Passing null to argument of type int is deprecated in %s on line %d + +Deprecated: Passing null to argument of type int is deprecated in %s on line %d + +Deprecated: Passing null to argument of type int is deprecated in %s on line %d + +Deprecated: Passing null to argument of type int is deprecated in %s on line %d + +Deprecated: Passing null to argument of type int is deprecated in %s on line %d + +Deprecated: Passing null to argument of type int is deprecated in %s on line %d + +Deprecated: Passing null to argument of type int is deprecated in %s on line %d + +Deprecated: Passing null to argument of type int is deprecated in %s on line %d + +Deprecated: Passing null to argument of type int is deprecated in %s on line %d + +Deprecated: Passing null to argument of type int is deprecated in %s on line %d + +Deprecated: Passing null to argument of type int is deprecated in %s on line %d + +Deprecated: Passing null to argument of type int is deprecated in %s on line %d + +Deprecated: Passing null to argument of type int is deprecated in %s on line %d + +Deprecated: Passing null to argument of type int is deprecated in %s on line %d + +Deprecated: Passing null to argument of type int is deprecated in %s on line %d + +Deprecated: Passing null to argument of type int is deprecated in %s on line %d + +Deprecated: Passing null to argument of type int is deprecated in %s on line %d + +Deprecated: Passing null to argument of type int is deprecated in %s on line %d + +Deprecated: Passing null to argument of type int is deprecated in %s on line %d + +Deprecated: Passing null to argument of type int is deprecated in %s on line %d + +Deprecated: Passing null to argument of type int is deprecated in %s on line %d + +Deprecated: Passing null to argument of type int is deprecated in %s on line %d + +Deprecated: Passing null to argument of type int is deprecated in %s on line %d + +Deprecated: Passing null to argument of type int is deprecated in %s on line %d + +Deprecated: Passing null to argument of type int is deprecated in %s on line %d + +Deprecated: Passing null to argument of type int is deprecated in %s on line %d + +Deprecated: Passing null to argument of type int is deprecated in %s on line %d + +Deprecated: Passing null to argument of type int is deprecated in %s on line %d + +Deprecated: Passing null to argument of type int is deprecated in %s on line %d + +Deprecated: Passing null to argument of type int is deprecated in %s on line %d + +Deprecated: Passing null to argument of type int is deprecated in %s on line %d + +Deprecated: Passing null to argument of type int is deprecated in %s on line %d + +Deprecated: Passing null to argument of type int is deprecated in %s on line %d + +Deprecated: Passing null to argument of type int is deprecated in %s on line %d + +Deprecated: Passing null to argument of type int is deprecated in %s on line %d + +Deprecated: Passing null to argument of type int is deprecated in %s on line %d + +Deprecated: Passing null to argument of type int is deprecated in %s on line %d + +Deprecated: Passing null to argument of type int is deprecated in %s on line %d + +Deprecated: Passing null to argument of type int is deprecated in %s on line %d + +Deprecated: Passing null to argument of type int is deprecated in %s on line %d + +Deprecated: Passing null to argument of type int is deprecated in %s on line %d + +Deprecated: Passing null to argument of type int is deprecated in %s on line %d + +Deprecated: Passing null to argument of type int is deprecated in %s on line %d + +Deprecated: Passing null to argument of type int is deprecated in %s on line %d + +Deprecated: Passing null to argument of type int is deprecated in %s on line %d + +Deprecated: Passing null to argument of type int is deprecated in %s on line %d + +Deprecated: Passing null to argument of type int is deprecated in %s on line %d + +Deprecated: Passing null to argument of type int is deprecated in %s on line %d + +Deprecated: Passing null to argument of type int is deprecated in %s on line %d + +Deprecated: Passing null to argument of type int is deprecated in %s on line %d + +Deprecated: Passing null to argument of type int is deprecated in %s on line %d + +Deprecated: Passing null to argument of type int is deprecated in %s on line %d + +Deprecated: Passing null to argument of type int is deprecated in %s on line %d + +Deprecated: Passing null to argument of type int is deprecated in %s on line %d + +Deprecated: Passing null to argument of type int is deprecated in %s on line %d + +Deprecated: Passing null to argument of type int is deprecated in %s on line %d + +Deprecated: Passing null to argument of type int is deprecated in %s on line %d + +Deprecated: Passing null to argument of type int is deprecated in %s on line %d + +Deprecated: Passing null to argument of type int is deprecated in %s on line %d + +Deprecated: Passing null to argument of type int is deprecated in %s on line %d + +Deprecated: Passing null to argument of type int is deprecated in %s on line %d + +Deprecated: Passing null to argument of type int is deprecated in %s on line %d + +Deprecated: Passing null to argument of type int is deprecated in %s on line %d PASSED range min = 0 max = 100 PASSED range min = 10 max = 100 PASSED range min = 10 max = 100 diff --git a/ext/standard/tests/math/mt_srand_basic.phpt b/ext/standard/tests/math/mt_srand_basic.phpt index ec0c24254d9fd..b074ca4da3abf 100644 --- a/ext/standard/tests/math/mt_srand_basic.phpt +++ b/ext/standard/tests/math/mt_srand_basic.phpt @@ -13,7 +13,7 @@ var_dump(mt_srand(true)); var_dump(mt_srand(false)); var_dump(mt_srand(NULL)); ?> ---EXPECT-- +--EXPECTF-- NULL NULL NULL @@ -21,4 +21,6 @@ NULL NULL NULL NULL + +Deprecated: Passing null to argument of type int is deprecated in %s on line %d NULL diff --git a/ext/standard/tests/math/number_format_basic.phpt b/ext/standard/tests/math/number_format_basic.phpt index 5a2570126a0fa..63ecd0ce4e8cc 100644 --- a/ext/standard/tests/math/number_format_basic.phpt +++ b/ext/standard/tests/math/number_format_basic.phpt @@ -39,8 +39,8 @@ for ($i = 0; $i < count($values); $i++) { var_dump($res); } ?> ---EXPECT-- - number_format tests.....default +--EXPECTF-- +number_format tests.....default string(5) "1,235" string(6) "-1,235" string(10) "12,346,578" @@ -50,6 +50,8 @@ string(11) "402,653,183" string(11) "123,456,789" string(3) "123" string(3) "123" + +Deprecated: Passing null to argument of type float is deprecated in %s on line %d string(1) "0" string(1) "1" string(1) "0" @@ -64,6 +66,8 @@ string(14) "402,653,183.00" string(14) "123,456,789.00" string(6) "123.46" string(6) "123.46" + +Deprecated: Passing null to argument of type float is deprecated in %s on line %d string(4) "0.00" string(4) "1.00" string(4) "0.00" @@ -78,6 +82,8 @@ string(14) "402 653 183.00" string(14) "123 456 789.00" string(6) "123.46" string(6) "123.46" + +Deprecated: Passing null to argument of type float is deprecated in %s on line %d string(4) "0.00" string(4) "1.00" string(4) "0.00" @@ -92,6 +98,8 @@ string(14) "402 653 183,00" string(14) "123 456 789,00" string(6) "123,46" string(6) "123,46" + +Deprecated: Passing null to argument of type float is deprecated in %s on line %d string(4) "0,00" string(4) "1,00" string(4) "0,00" diff --git a/ext/standard/tests/math/number_format_multichar.phpt b/ext/standard/tests/math/number_format_multichar.phpt index b12c81c1a29aa..c529d609a891e 100644 --- a/ext/standard/tests/math/number_format_multichar.phpt +++ b/ext/standard/tests/math/number_format_multichar.phpt @@ -33,8 +33,8 @@ for ($i = 0; $i < count($values); $i++) { var_dump($res); } ?> ---EXPECT-- - number_format tests.....multiple character decimal point +--EXPECTF-- +number_format tests.....multiple character decimal point string(13) "1 234·57" string(14) "-1 234·57" string(18) "12 346 578·00" @@ -44,6 +44,8 @@ string(19) "402 653 183·00" string(19) "123 456 789·00" string(11) "123·46" string(11) "123·46" + +Deprecated: Passing null to argument of type float is deprecated in %s on line %d string(9) "0·00" string(9) "1·00" string(9) "0·00" @@ -58,6 +60,8 @@ string(28) "402 653 183.00" string(28) "123 456 789.00" string(6) "123.46" string(6) "123.46" + +Deprecated: Passing null to argument of type float is deprecated in %s on line %d string(4) "0.00" string(4) "1.00" string(4) "0.00" @@ -72,6 +76,8 @@ string(33) "402 653 183·00" string(33) "123 456 789·00" string(11) "123·46" string(11) "123·46" + +Deprecated: Passing null to argument of type float is deprecated in %s on line %d string(9) "0·00" string(9) "1·00" string(9) "0·00" diff --git a/ext/standard/tests/math/rad2deg_variation.phpt b/ext/standard/tests/math/rad2deg_variation.phpt index 596a1940a41d2..0f0208faf5971 100644 --- a/ext/standard/tests/math/rad2deg_variation.phpt +++ b/ext/standard/tests/math/rad2deg_variation.phpt @@ -51,6 +51,8 @@ float(57295.77951) Notice: A non well formed numeric value encountered in %s on line %d float(57295.77951) + +Deprecated: Passing null to argument of type float is deprecated in %s on line %d float(0) float(57.29577951) float(0) diff --git a/ext/standard/tests/math/rand_basic.phpt b/ext/standard/tests/math/rand_basic.phpt index fbaab3c9afab1..467fa4c3b490b 100644 --- a/ext/standard/tests/math/rand_basic.phpt +++ b/ext/standard/tests/math/rand_basic.phpt @@ -54,7 +54,6 @@ for ($x = 0; $x < count($min); $x++) { echo "\nNon-numeric cases\n"; $min = array(true, false, - null, "10", "10.5"); diff --git a/ext/standard/tests/math/round_basic.phpt b/ext/standard/tests/math/round_basic.phpt index d6b927f2d53c6..42d179235471b 100644 --- a/ext/standard/tests/math/round_basic.phpt +++ b/ext/standard/tests/math/round_basic.phpt @@ -45,7 +45,7 @@ for ($i = 0; $i < count($values); $i++) { } ?> ===Done=== ---EXPECT-- +--EXPECTF-- *** Testing round() : basic functionality *** round: 123456789 ...with precision 2-> float(123456789) @@ -57,6 +57,8 @@ round: 123456789 ...with precision 04-> float(123456789) ...with precision 3.6-> float(123456789) ...with precision 2.1e1-> float(123456789) + +Deprecated: Passing null to argument of type int is deprecated in %s on line %d ...with precision -> float(123456789) ...with precision 1-> float(123456789) ...with precision -> float(123456789) @@ -70,6 +72,8 @@ round: 123.456789 ...with precision 04-> float(123.4568) ...with precision 3.6-> float(123.457) ...with precision 2.1e1-> float(123.456789) + +Deprecated: Passing null to argument of type int is deprecated in %s on line %d ...with precision -> float(123) ...with precision 1-> float(123.5) ...with precision -> float(123) @@ -83,6 +87,8 @@ round: -4.5679123 ...with precision 04-> float(-4.5679) ...with precision 3.6-> float(-4.568) ...with precision 2.1e1-> float(-4.5679123) + +Deprecated: Passing null to argument of type int is deprecated in %s on line %d ...with precision -> float(-5) ...with precision 1-> float(-4.6) ...with precision -> float(-5) @@ -96,6 +102,8 @@ round: 12300 ...with precision 04-> float(12300) ...with precision 3.6-> float(12300) ...with precision 2.1e1-> float(12300) + +Deprecated: Passing null to argument of type int is deprecated in %s on line %d ...with precision -> float(12300) ...with precision 1-> float(12300) ...with precision -> float(12300) @@ -109,6 +117,8 @@ round: -4567 ...with precision 04-> float(-4567) ...with precision 3.6-> float(-4567) ...with precision 2.1e1-> float(-4567) + +Deprecated: Passing null to argument of type int is deprecated in %s on line %d ...with precision -> float(-4567) ...with precision 1-> float(-4567) ...with precision -> float(-4567) @@ -122,6 +132,8 @@ round: 2311527 ...with precision 04-> float(2311527) ...with precision 3.6-> float(2311527) ...with precision 2.1e1-> float(2311527) + +Deprecated: Passing null to argument of type int is deprecated in %s on line %d ...with precision -> float(2311527) ...with precision 1-> float(2311527) ...with precision -> float(2311527) @@ -135,6 +147,8 @@ round: 14680063 ...with precision 04-> float(14680063) ...with precision 3.6-> float(14680063) ...with precision 2.1e1-> float(14680063) + +Deprecated: Passing null to argument of type int is deprecated in %s on line %d ...with precision -> float(14680063) ...with precision 1-> float(14680063) ...with precision -> float(14680063) @@ -148,6 +162,8 @@ round: 1.234567 ...with precision 04-> float(1.2346) ...with precision 3.6-> float(1.235) ...with precision 2.1e1-> float(1.234567) + +Deprecated: Passing null to argument of type int is deprecated in %s on line %d ...with precision -> float(1) ...with precision 1-> float(1.2) ...with precision -> float(1) @@ -161,6 +177,8 @@ round: 2.3456789e8 ...with precision 04-> float(234567890) ...with precision 3.6-> float(234567890) ...with precision 2.1e1-> float(234567890) + +Deprecated: Passing null to argument of type int is deprecated in %s on line %d ...with precision -> float(234567890) ...with precision 1-> float(234567890) ...with precision -> float(234567890) diff --git a/ext/standard/tests/math/sin_variation.phpt b/ext/standard/tests/math/sin_variation.phpt index 5b635dfbdcc2a..1f7e31b5aa4c4 100644 --- a/ext/standard/tests/math/sin_variation.phpt +++ b/ext/standard/tests/math/sin_variation.phpt @@ -51,6 +51,8 @@ float(0.8268795405) Notice: A non well formed numeric value encountered in %s on line %d float(0.8268795405) + +Deprecated: Passing null to argument of type float is deprecated in %s on line %d float(0) float(0.8414709848) float(0) diff --git a/ext/standard/tests/math/sinh_variation.phpt b/ext/standard/tests/math/sinh_variation.phpt index e47e94d629f9f..0710ae0de4638 100644 --- a/ext/standard/tests/math/sinh_variation.phpt +++ b/ext/standard/tests/math/sinh_variation.phpt @@ -51,6 +51,8 @@ float(INF) Notice: A non well formed numeric value encountered in %s on line %d float(INF) + +Deprecated: Passing null to argument of type float is deprecated in %s on line %d float(0) float(1.175201194) float(0) diff --git a/ext/standard/tests/math/sqrt_variation.phpt b/ext/standard/tests/math/sqrt_variation.phpt index 7369b98dfdac1..5cd6831a94136 100644 --- a/ext/standard/tests/math/sqrt_variation.phpt +++ b/ext/standard/tests/math/sqrt_variation.phpt @@ -54,6 +54,8 @@ float(31.622776601684) Notice: A non well formed numeric value encountered in %s on line %d float(31.622776601684) + +Deprecated: Passing null to argument of type float is deprecated in %s on line %d float(0) float(1) float(0) diff --git a/ext/standard/tests/math/srand_basic.phpt b/ext/standard/tests/math/srand_basic.phpt index a3788cdf45329..bf0577cc3c85b 100644 --- a/ext/standard/tests/math/srand_basic.phpt +++ b/ext/standard/tests/math/srand_basic.phpt @@ -21,7 +21,7 @@ var_dump(srand(false)); var_dump(srand(NULL)); ?> ===Done=== ---EXPECT-- +--EXPECTF-- *** Testing srand() : basic functionality *** NULL NULL @@ -30,5 +30,7 @@ NULL NULL NULL NULL + +Deprecated: Passing null to argument of type int is deprecated in %s on line %d NULL ===Done=== diff --git a/ext/standard/tests/math/tan_variation.phpt b/ext/standard/tests/math/tan_variation.phpt index 81546bbf6fa9b..2193eb556bb20 100644 --- a/ext/standard/tests/math/tan_variation.phpt +++ b/ext/standard/tests/math/tan_variation.phpt @@ -51,6 +51,8 @@ float(1.470324156) Notice: A non well formed numeric value encountered in %s on line %d float(1.470324156) + +Deprecated: Passing null to argument of type float is deprecated in %s on line %d float(0) float(1.557407725) float(0) diff --git a/ext/standard/tests/math/tanh_variation.phpt b/ext/standard/tests/math/tanh_variation.phpt index b1b477c150bc9..655e7d068265d 100644 --- a/ext/standard/tests/math/tanh_variation.phpt +++ b/ext/standard/tests/math/tanh_variation.phpt @@ -51,6 +51,8 @@ float(1) Notice: A non well formed numeric value encountered in %s on line %d float(1) + +Deprecated: Passing null to argument of type float is deprecated in %s on line %d float(0) float(0.761594156) float(0) diff --git a/ext/standard/tests/password/password_verify.phpt b/ext/standard/tests/password/password_verify.phpt index a196763c1362e..ab3f2fca86823 100644 --- a/ext/standard/tests/password/password_verify.phpt +++ b/ext/standard/tests/password/password_verify.phpt @@ -20,11 +20,13 @@ var_dump(password_verify("foo", "$1")); echo "OK!"; ?> ---EXPECT-- +--EXPECTF-- bool(false) bool(false) bool(false) bool(true) + +Deprecated: Passing null to argument of type string is deprecated in %s on line %d bool(false) bool(true) bool(false) diff --git a/ext/standard/tests/strings/basename_variation.phpt b/ext/standard/tests/strings/basename_variation.phpt index 0bcb18e6acfd9..9a4b7f82b1497 100644 --- a/ext/standard/tests/strings/basename_variation.phpt +++ b/ext/standard/tests/strings/basename_variation.phpt @@ -85,7 +85,7 @@ echo "*** Testing possible variations in path and suffix ***\n"; check_basename( $file_path_variations ); echo "Done\n"; ---EXPECT-- +--EXPECTF-- *** Testing possible variations in path and suffix *** --Iteration 1-- @@ -95,6 +95,8 @@ string(3) "bar" string(3) "bar" --Iteration 3-- + +Deprecated: Passing null to argument of type string is deprecated in %s on line %d string(3) "bar" --Iteration 4-- @@ -113,6 +115,8 @@ string(7) "bar.tar" string(7) "bar.tar" --Iteration 9-- + +Deprecated: Passing null to argument of type string is deprecated in %s on line %d string(7) "bar.tar" --Iteration 10-- @@ -158,6 +162,8 @@ string(7) "My Pics" string(10) "My Pics.gz" --Iteration 24-- + +Deprecated: Passing null to argument of type string is deprecated in %s on line %d string(10) "My Pics.gz" --Iteration 25-- @@ -215,6 +221,10 @@ string(1) " " string(1) " " --Iteration 43-- + +Deprecated: Passing null to argument of type string is deprecated in %s on line %d + +Deprecated: Passing null to argument of type string is deprecated in %s on line %d string(0) "" --Iteration 44-- @@ -230,5 +240,7 @@ string(0) "" string(0) "" --Iteration 48-- + +Deprecated: Passing null to argument of type string is deprecated in %s on line %d string(0) "" Done diff --git a/ext/standard/tests/strings/bug21338.phpt b/ext/standard/tests/strings/bug21338.phpt index c84576563ef82..1c14d850414f3 100644 --- a/ext/standard/tests/strings/bug21338.phpt +++ b/ext/standard/tests/strings/bug21338.phpt @@ -5,6 +5,7 @@ Bug #20934 (html_entity_decode() crash when "" is passed) var_dump(html_entity_decode(NULL)); var_dump(html_entity_decode("")); ?> ---EXPECT-- +--EXPECTF-- +Deprecated: Passing null to argument of type string is deprecated in %s on line %d string(0) "" string(0) "" diff --git a/ext/standard/tests/strings/bug51899.phpt b/ext/standard/tests/strings/bug51899.phpt index fb430cf30d5a2..9dba609f83d78 100644 --- a/ext/standard/tests/strings/bug51899.phpt +++ b/ext/standard/tests/strings/bug51899.phpt @@ -12,7 +12,7 @@ var_dump(parse_ini_string(NULL)); var_dump(parse_ini_string("\0")); ?> ---EXPECT-- +--EXPECTF-- array(1) { ["a"]=> string(0) "" @@ -31,6 +31,8 @@ array(1) { } array(0) { } + +Deprecated: Passing null to argument of type string is deprecated in %s on line %d array(0) { } array(0) { diff --git a/ext/standard/tests/strings/chop_variation5.phpt b/ext/standard/tests/strings/chop_variation5.phpt index 7d915c2c86616..6cd71c0cbb287 100644 --- a/ext/standard/tests/strings/chop_variation5.phpt +++ b/ext/standard/tests/strings/chop_variation5.phpt @@ -25,10 +25,12 @@ echo "*** Testing chop() : with miscellaneous arguments ***\n"; echo "Done\n"; ?> ---EXPECT-- +--EXPECTF-- *** Testing chop() : with miscellaneous arguments *** string(9) "chop test" string(12) "chop test " + +Deprecated: Passing null to argument of type string is deprecated in %s on line %d string(17) "chop test " string(17) "chop test " string(9) "chop test" diff --git a/ext/standard/tests/strings/chr_variation1.phpt b/ext/standard/tests/strings/chr_variation1.phpt index c962aa0e78b42..4b40d1276663b 100644 --- a/ext/standard/tests/strings/chr_variation1.phpt +++ b/ext/standard/tests/strings/chr_variation1.phpt @@ -67,7 +67,7 @@ fclose($file_handle); //closing the file handle ?> ===DONE=== ---EXPECT-- +--EXPECTF-- *** Testing chr() function: with unexpected inputs for 'ascii' argument *** -- Iteration 1 -- string(2) "00" @@ -92,11 +92,19 @@ string(2) "01" -- Iteration 11 -- string(2) "00" -- Iteration 12 -- + +Deprecated: Passing null to argument of type int is deprecated in %s on line %d string(2) "00" -- Iteration 13 -- + +Deprecated: Passing null to argument of type int is deprecated in %s on line %d string(2) "00" -- Iteration 14 -- + +Deprecated: Passing null to argument of type int is deprecated in %s on line %d string(2) "00" -- Iteration 15 -- + +Deprecated: Passing null to argument of type int is deprecated in %s on line %d string(2) "00" ===DONE=== diff --git a/ext/standard/tests/strings/htmlentities24.phpt b/ext/standard/tests/strings/htmlentities24.phpt index 5a023df7011ce..c62033de7fd7b 100644 --- a/ext/standard/tests/strings/htmlentities24.phpt +++ b/ext/standard/tests/strings/htmlentities24.phpt @@ -303,10 +303,16 @@ string(16) "6368722832353429" string(16) "6368722832353529" *** Testing htmlentities() with NULL as first,second and third argument *** + +Deprecated: Passing null to argument of type int is deprecated in %s on line %d string(42) "‚†™Ÿ€‚" string(0) "" string(0) "" string(0) "" + +Deprecated: Passing null to argument of type string is deprecated in %s on line %d + +Deprecated: Passing null to argument of type int is deprecated in %s on line %d string(0) "" *** Checking for proper memory allocation with long string *** diff --git a/ext/standard/tests/strings/htmlspecialchars.phpt b/ext/standard/tests/strings/htmlspecialchars.phpt index 8506c73e72ce1..f6e716eaa53d1 100644 --- a/ext/standard/tests/strings/htmlspecialchars.phpt +++ b/ext/standard/tests/strings/htmlspecialchars.phpt @@ -304,10 +304,16 @@ string(16) "6368722832353429" string(16) "6368722832353529" *** Testing htmlspecialchars() with NULL as first, second and third argument *** + +Deprecated: Passing null to argument of type int is deprecated in %s on line %d string(10) "<br>" string(10) "<br>" string(10) "<br>" string(10) "<br>" + +Deprecated: Passing null to argument of type string is deprecated in %s on line %d + +Deprecated: Passing null to argument of type int is deprecated in %s on line %d string(0) "" *** Checking a long string for proper memory allocation *** diff --git a/ext/standard/tests/strings/lcfirst.phpt b/ext/standard/tests/strings/lcfirst.phpt index 8178fa2eb51d7f6eb6ca205bb9681e8ad4b0c366..6bce8f59232a77a4205efc09701f83d433c47310 100644 GIT binary patch delta 91 zcmZ2r_{DI;Y(Xb3m(+ry)a1mH)D$a)fW+eB%)E4kywaQ;g_3-Q#G>@l+|;}hh5R&y mlFEWqh2oMTkbGvbLJC~lWJ7Va&FclPGBOz&Zf+BnVg&#vS|IcQ delta 20 ccmexjxWI73Y{AX%1z$2UsithcB`n1X0An}^IsgCw diff --git a/ext/standard/tests/strings/ltrim.phpt b/ext/standard/tests/strings/ltrim.phpt index 638c93557f124..a57561d6cef39 100644 --- a/ext/standard/tests/strings/ltrim.phpt +++ b/ext/standard/tests/strings/ltrim.phpt @@ -66,6 +66,8 @@ string(17) "ng heredoc string" *** Output for Normal Behaviour *** string(10) "ltrim test" string(13) " ltrim test" + +Deprecated: Passing null to argument of type string is deprecated in %s on line %d string(18) " ltrim test" string(18) " ltrim test" string(10) "ltrim test" @@ -78,6 +80,8 @@ string(10) "ltrim test" string(5) "12345" *** Output for NULL argument) *** + +Deprecated: Passing null to argument of type string is deprecated in %s on line %d string(0) "" Done diff --git a/ext/standard/tests/strings/md5_file.phpt b/ext/standard/tests/strings/md5_file.phpt index 45009669f4ac4f75038c23163d7c230fe878de30..72f83b5433b1b4b4a264a1beccad66d2899b7732 100644 GIT binary patch delta 103 zcmdlZHbH#DQH~&&)Pkba*#Ny)2ymW=U(wrQHl6-~4qV&?-)Vvaf{4|A< y%7Rpd;*uhed}gsi3S65)W}bp-u|j^HLQZC0s)B0D ---EXPECT-- +--EXPECTF-- string(4) "test" string(0) "" + +Deprecated: Passing null to argument of type string is deprecated in %s on line %d string(0) "" string(8) "
" diff --git a/ext/standard/tests/strings/number_format_basic.phpt b/ext/standard/tests/strings/number_format_basic.phpt index 79ec7b85ac3a7..e5ac9714d1ec7 100644 --- a/ext/standard/tests/strings/number_format_basic.phpt +++ b/ext/standard/tests/strings/number_format_basic.phpt @@ -48,7 +48,7 @@ for ($i = 0; $i < count($values); $i++) { } ?> ===DONE=== ---EXPECT-- +--EXPECTF-- *** Testing number_format() : basic functionality *** -- number_format tests.....default -- @@ -61,6 +61,8 @@ string(11) "402,653,183" string(11) "123,456,789" string(3) "123" string(3) "123" + +Deprecated: Passing null to argument of type float is deprecated in %s on line %d string(1) "0" string(1) "1" string(1) "0" @@ -75,6 +77,8 @@ string(14) "402,653,183.00" string(14) "123,456,789.00" string(6) "123.46" string(6) "123.46" + +Deprecated: Passing null to argument of type float is deprecated in %s on line %d string(4) "0.00" string(4) "1.00" string(4) "0.00" @@ -89,6 +93,8 @@ string(14) "402 653 183.00" string(14) "123 456 789.00" string(6) "123.46" string(6) "123.46" + +Deprecated: Passing null to argument of type float is deprecated in %s on line %d string(4) "0.00" string(4) "1.00" string(4) "0.00" @@ -103,6 +109,8 @@ string(14) "402 653 183,00" string(14) "123 456 789,00" string(6) "123,46" string(6) "123,46" + +Deprecated: Passing null to argument of type float is deprecated in %s on line %d string(4) "0,00" string(4) "1,00" string(4) "0,00" diff --git a/ext/standard/tests/strings/quoted_printable_encode_001.phpt b/ext/standard/tests/strings/quoted_printable_encode_001.phpt index 1ce7d791dca01..36a878a33eddc 100644 --- a/ext/standard/tests/strings/quoted_printable_encode_001.phpt +++ b/ext/standard/tests/strings/quoted_printable_encode_001.phpt @@ -28,6 +28,8 @@ NULL Warning: quoted_printable_encode() expects parameter 1 to be string, array given in %s on line %d NULL string(1) "1" + +Deprecated: Passing null to argument of type string is deprecated in %s on line %d string(0) "" string(0) "" Done diff --git a/ext/standard/tests/strings/rtrim.phpt b/ext/standard/tests/strings/rtrim.phpt index 5f57b0e850f4543d9b150db857b3fc822517b904..44b9a3898397685582b31f1f86fae8d4f78598ec 100644 GIT binary patch delta 96 zcmeAZek8m>iX)iICAFX^H94^)HN{FHAhEbOGcR2suQVq|p(I}+u_(PXH#M(BAwNx_ qq_QAYp}3?7B%fKVkOJ4HkeR2TTC9+tr;wAGm#UzevRRU&lo0@YP9bRk delta 12 TcmaDP+$X$2ieqygM+qYU9!dlU diff --git a/ext/standard/tests/strings/sha1_file.phpt b/ext/standard/tests/strings/sha1_file.phpt index 102dab75ff6f9..6ddfccd425d96 100644 --- a/ext/standard/tests/strings/sha1_file.phpt +++ b/ext/standard/tests/strings/sha1_file.phpt @@ -92,6 +92,8 @@ bool(false) -- NULL as filename -- +Deprecated: Passing null to argument of type string is deprecated in %s on line %d + Warning: sha1_file(): Filename cannot be empty in %s on line %d bool(false) diff --git a/ext/standard/tests/strings/str_getcsv_001.phpt b/ext/standard/tests/strings/str_getcsv_001.phpt index becff2163badc..1f2b81ac9a3c8 100644 --- a/ext/standard/tests/strings/str_getcsv_001.phpt +++ b/ext/standard/tests/strings/str_getcsv_001.phpt @@ -30,7 +30,7 @@ var_dump(str_getcsv('')); print "-----\n"; ?> ---EXPECT-- +--EXPECTF-- array(3) { [0]=> string(1) "f" @@ -103,6 +103,8 @@ array(1) { string(3) " " " } ----- + +Deprecated: Passing null to argument of type string is deprecated in %s on line %d array(1) { [0]=> NULL diff --git a/ext/standard/tests/strings/str_pad.phpt b/ext/standard/tests/strings/str_pad.phpt index b44a9517ab750c6d691cfe755042c84fadda4644..c34cb4404158fc80634632297944ea938c63cf2a 100644 GIT binary patch literal 12416 zcmeHN{chVv4Bx-;QxMv^+KrV&Zrm+xouVJ<8X(JpHpTi!07J1awg6i)B)MBR6xbW= zJ@*nDd3WO7$&wQ{$A{;*-*04j+Mk8PW(zLn@gR?qxZ(SU z$A`$8rD70eNa+Q;NPKyCbb!>yPiEs;WBVSQghL1c^`m$Md4ksik>+6(!$icRd^*9H6UDQ6-q!|t;IXU3 zM4$WGP7gXenqq|gO_X{crv2f3I%|@7xl9MN4HirbT906R8;0T{oKJEf0~+pI`6d4_ z6DuKVcm+}ge?7!Dyg7Z{KY9A1e{}Hjl<+^@JA?K5@P}772KMZy(^t|lH|Lm^NM~Et zh)i@*Az?hEaQiyBTn<=q!|38dq$1A2(O@{h>T(jCK@Y+-4L>v+8yf)Nv8dOkT*pZ| z4JX=i0|m;T!8mR1w6^F^r`uH*LFao-xxcF^yZ2jd*g(Mj@BH&9ho^6zA0BFxXo)yt zI?F#Sv2^_Q=%@|k6kS#MlBaW_B+ip$BEq;zDCjDYcs>RvA8b@ujlJn4|e zs&yU<&q0;I-1J6KmANhq%GV|1kh335<#J(^i$bJnlENT~hmo1%WK+TpGRkl! z%rb0EVGPqK-U9LKObl`{q=wU>?oxP!i7zgl0zf+5WhB-VJCVXFVA{n6?Al-&LDrcw z?A5G}_GMe%fN7fIp~d%o8cBvU=;}(sJ{Hd>6F?R&veIL$>5c-cTa%LTJiWGa+(^_L zX)FY?m}O)ULpG0bDve?aS1f3Ot93SSlQvk_p2S`tkesrg?Bi&E@b2W``RPlX?r8^C z&*Zd7bf?+bX<4H<^&9>1swMnQ{^v?CdDAcA*K#G8Y>B!Ol2H=#8fq2XrZUy1oSCs= z$}HU9!}YN)n_E*=`aj<|1XP%uIN;2=^qx!av4Trya!J05{=l)Tc7s84xIOi8xthq( zE|Ue8QoAu*!K!O(zg#_yDg^!^cE$C&QTuCOAC7ondi{S0%YNfCJ?^MC&SA zZ?yG3_?)|G>GpezeYjjYUb9B-iF8^4hG0qw1xwTV08Ixze2NL#Yx=o-nf3qd#U{ ztXsHbb9b>4<++~XLD>I`K!rogcT1t5%5ZWZi7F{hyq3w5pdD;kGHlM2I@2Y*l{)hn z*Rgq-{DNI70b{qS^t6g{!10;ONAp}y3S?HS(KYxBFJmjuj1=W4M|bCaR*iwG*LLLG zrMiv)C)>3fsE^ClMAmn?Os>;)1Xk1~Ox9mfm-PswMpsSLeV40=tnYG}T&L>@)ac@o zANtSbY9i~qTqf7)Is!Gi8|ve7HIemQE|cqY9f2C%vt0gjxthrOE|U@GUbp%YFJXqO_X@U#dbr#gEbz=DupWFB)UlBuk&E=dj8iX+(pNDfi y#VL;uFTAX|eGvI_ZH&jA@TD92VIMg+r^4j0gO6;4ng)EqW435da6lP97uVArxvf>=x$-D+KljrL{1ORD;5as{? diff --git a/ext/standard/tests/strings/str_repeat.phpt b/ext/standard/tests/strings/str_repeat.phpt index 306b7d381af16e3e61a4f36f2e0fac75ad8bcd0b..2eda8940177d33a48cbabb5c9c993aa79314a2b5 100644 GIT binary patch literal 18849 zcmeHPdvDuD4A0;C6olc}+k)v>2KcFc1_$lVZc>p}5$WSb!~QlH4X63T$6@ z`wrX4(<3^YlI_lq22p^-ip&d?5vqOK( z=6;(#ONz7vB?G-pAxkN>>^MTg)_jZ(#lcdzaER9qI79hHPm=-G`% zgCySPlXDG~kgx*yWzQ}F#T-Re%l2{W2+H=04*h-lG?Wy}LP6r1q8O$C`L%3=ialV+ zj$Z;gkRqg1r*y`-R<>)+66zzW&&FqF=&78-;e3)9X#9-QSmjfae@(a$V;Q>64oL4u zF`7v9k|$x}V}fRJ(igGlltOfC?6aPopF9*VXA&Fc!#C;dRc1u#6vYXr9UCe5;!sia z8L6q^%#B?oHSH^07;%&z29vR?FeA>NB$oH8Y9VN-h$b$~cVOQcyCZpZlLBXGf9O?PwI+R-`_JNo=i$MAyAvNALP*y_-( zLq}(Rxj1vfOjx@%&H)Q2pm#&ClA0W`KTaH5sxZEKi7VLYkLRbaFW=xImY+2oW+OX; zZ$d#Eem8?yEiKbI3R9yH9Lc^;!qT*-XoSI=N=pjiFsEl(V^J0-MmHCUGU#-ZLpmbm z4ZmLkS7m-8asD6@(&T{S(Fc@}&K_h8ac5j6ZV$yj1dgrH0%Z(J&1IWkDt zuxNrOJ~%dvEL*~p0U0y{4EnS;Hl$TgflX=EqqG*Se9X;7gFZJvCKp59nm|5nYAQrzQIJ5MX8$|Qz~lS{*~E2-)@dVw>QJb zurecovq4V>U}(djpu5D1IuA+Aj~ zk5Sm1WWsWRQn)#}ncy(xO{G97wIjM*ZM{B}Y9r|2Y~eA7$0>6^t!`_ zGM2$J3(pZ-j-Dwj-6rm>OE-^E=-^_nxY#S!9w(~IRO9Q)$%k_RjIg7#EJoqIq8U87 z7?r{EXfY~uRsmB5OcgLiPb1T#7Zv_CNL3l(y^G5rl}VTAX^y3Tc>$TQm9O{FB3Dsd z%{*~YT!=4j-p0qn!zb03-R_%9p9xUe_me+baKak^ikhmZsfwCvPEAFvAHF1n>s7P2 zr|`M344zDg%F*)}Fe?8Uy8rd63L{!K_Q}ONfBgB^-~arpf0Py>(Vz33;(M4GD?+5Q5Nhj1b3?HczFh$k;3%6S)2h9l@@6~=!~ CHTbyz delta 305 zcmZ2DnQ>PW;|6K&$pXBJllO6oOcLM&QIqp{_$PPsi%s@3kea-K(_ph9FC*Jze?$FZep8*WJQoAq$Woxi3261HY+Q=U`94# zlDZ67!%?*=#>ovzIhzfvIGK+RA}#`D*hE#da))Z$?%iwOP`wgBbvVXJ!Zh diff --git a/ext/standard/tests/strings/str_word_count.phpt b/ext/standard/tests/strings/str_word_count.phpt index f88646370bfb5..0e9ada9cdc510 100644 --- a/ext/standard/tests/strings/str_word_count.phpt +++ b/ext/standard/tests/strings/str_word_count.phpt @@ -94,15 +94,27 @@ Warning: str_word_count() expects parameter 2 to be int, string given in %s on l NULL string(55) "Hello friend, you're looking good today!" + +Deprecated: Passing null to argument of type int is deprecated in %s on line %d int(5) + +Deprecated: Passing null to argument of type int is deprecated in %s on line %d int(6) + +Deprecated: Passing null to argument of type int is deprecated in %s on line %d int(5) +Deprecated: Passing null to argument of type int is deprecated in %s on line %d + Warning: str_word_count() expects parameter 3 to be string, array given in %s on line %d NULL +Deprecated: Passing null to argument of type int is deprecated in %s on line %d + Warning: str_word_count() expects parameter 3 to be string, object given in %s on line %d NULL + +Deprecated: Passing null to argument of type int is deprecated in %s on line %d int(7) array(5) { [0]=> diff --git a/ext/standard/tests/strings/str_word_count1.phpt b/ext/standard/tests/strings/str_word_count1.phpt index e942a17385886..a08147e69811b 100644 --- a/ext/standard/tests/strings/str_word_count1.phpt +++ b/ext/standard/tests/strings/str_word_count1.phpt @@ -18,6 +18,8 @@ bool(false) Notice: Undefined variable: a in %s on line %d +Deprecated: Passing null to argument of type string is deprecated in %s on line %d + Warning: str_word_count(): Invalid format value -1 in %s on line %d bool(false) diff --git a/ext/standard/tests/strings/strcasecmp.phpt b/ext/standard/tests/strings/strcasecmp.phpt index 3086c2be92da675edcb0991aacbe90988150bfe9..d9063cc9decc9a85c9b71991014ecd515fe3d461 100644 GIT binary patch delta 30 mcmZ3ojB)8g#tpaGHY>27Ed!lXV#tlcvTlJoOYGD|Y^^NJNf(n{7`K>f+N1sa-gmXZ<@+rtxum#L(qpyZL7lami( zgy$FKq=4k1R=VWprN(Tw=NB*!;|fnK$^%+!r2sQuA+@3)HMyi%p&+p+F*mg&wMfB8 zp(I}+DHWsys8mM*=#9imh4jp_)I5dEJO$Nah5S5)oXosb1=SQTzfd2a&3XgtfOFn%U%qV>NVkB!ETfx(MFMFQZOhqFkD5*C}UiX0!11Z E0GSrV0{{R3 diff --git a/ext/standard/tests/strings/stripos_variation11.phpt b/ext/standard/tests/strings/stripos_variation11.phpt index b4b83a16415b1..5e50ea9d46c27 100644 --- a/ext/standard/tests/strings/stripos_variation11.phpt +++ b/ext/standard/tests/strings/stripos_variation11.phpt @@ -234,13 +234,21 @@ bool(false) Warning: stripos(): Offset not contained in string in %s on line %d bool(false) -- Iteration 22 -- + +Deprecated: Passing null to argument of type string is deprecated in %s on line %d bool(false) +Deprecated: Passing null to argument of type string is deprecated in %s on line %d + Warning: stripos(): Offset not contained in string in %s on line %d bool(false) -- Iteration 23 -- + +Deprecated: Passing null to argument of type string is deprecated in %s on line %d bool(false) +Deprecated: Passing null to argument of type string is deprecated in %s on line %d + Warning: stripos(): Offset not contained in string in %s on line %d bool(false) -- Iteration 24 -- @@ -251,13 +259,21 @@ NULL Warning: stripos() expects parameter 1 to be string, resource given in %s on line %d NULL -- Iteration 25 -- + +Deprecated: Passing null to argument of type string is deprecated in %s on line %d bool(false) +Deprecated: Passing null to argument of type string is deprecated in %s on line %d + Warning: stripos(): Offset not contained in string in %s on line %d bool(false) -- Iteration 26 -- + +Deprecated: Passing null to argument of type string is deprecated in %s on line %d bool(false) +Deprecated: Passing null to argument of type string is deprecated in %s on line %d + Warning: stripos(): Offset not contained in string in %s on line %d bool(false) *** Done *** diff --git a/ext/standard/tests/strings/stristr_error.phpt b/ext/standard/tests/strings/stristr_error.phpt index a0057574f9167..4e63090f38fb8 100644 --- a/ext/standard/tests/strings/stristr_error.phpt +++ b/ext/standard/tests/strings/stristr_error.phpt @@ -50,6 +50,8 @@ NULL -- Testing stristr() function with empty haystack -- +Deprecated: Passing null to argument of type string is deprecated in %s on line %d + Warning: stristr(): Empty needle in %s on line %d bool(false) diff --git a/ext/standard/tests/strings/strlen.phpt b/ext/standard/tests/strings/strlen.phpt index a546bdb8d29db5d705da7237e203b00309288531..971ad9057900c8d28aed2e9e848716b6a7f760e4 100644 GIT binary patch delta 87 zcmbPY^ulPvegP*gm(+ry)a1mH)D$a)fW+eB%)E4kywaQ;g_3-Q#G>@l+|;}hh5R&y ilFEWqh2oMTkbGvbLJC~lJ!lb;I+ZN4F3!vO%U1t7uz delta 16 YcmaE1G{tDceu2qrg(NrY2-7%9=uqSDUdM$qo!k|L1XP^^0u@Q)uY`&&-ie++uzVKvr0|Nk* Cl@@XU diff --git a/ext/standard/tests/strings/strrchr_variation11.phpt b/ext/standard/tests/strings/strrchr_variation11.phpt index 108ba2e0f2ba0..dda110a3aeeaa 100644 --- a/ext/standard/tests/strings/strrchr_variation11.phpt +++ b/ext/standard/tests/strings/strrchr_variation11.phpt @@ -92,39 +92,39 @@ echo "*** Done ***"; *** Testing strrchr() function: with unexpected inputs for haystack and needle *** -- Iteration 1 -- -Deprecated: strrchr(): Non-string needles will be interpreted as strings in %s on line %d +Deprecated: strrchr(): Non-string needles will be interpreted as strings in the future. Use an explicit chr() call to preserve the current behavior in %s on line %d bool(false) -- Iteration 2 -- -Deprecated: strrchr(): Non-string needles will be interpreted as strings in %s on line %d +Deprecated: strrchr(): Non-string needles will be interpreted as strings in the future. Use an explicit chr() call to preserve the current behavior in %s on line %d bool(false) -- Iteration 3 -- -Deprecated: strrchr(): Non-string needles will be interpreted as strings in %s on line %d +Deprecated: strrchr(): Non-string needles will be interpreted as strings in the future. Use an explicit chr() call to preserve the current behavior in %s on line %d bool(false) -- Iteration 4 -- -Deprecated: strrchr(): Non-string needles will be interpreted as strings in %s on line %d +Deprecated: strrchr(): Non-string needles will be interpreted as strings in the future. Use an explicit chr() call to preserve the current behavior in %s on line %d bool(false) -- Iteration 5 -- -Deprecated: strrchr(): Non-string needles will be interpreted as strings in %s on line %d +Deprecated: strrchr(): Non-string needles will be interpreted as strings in the future. Use an explicit chr() call to preserve the current behavior in %s on line %d bool(false) -- Iteration 6 -- -Deprecated: strrchr(): Non-string needles will be interpreted as strings in %s on line %d +Deprecated: strrchr(): Non-string needles will be interpreted as strings in the future. Use an explicit chr() call to preserve the current behavior in %s on line %d bool(false) -- Iteration 7 -- -Deprecated: strrchr(): Non-string needles will be interpreted as strings in %s on line %d +Deprecated: strrchr(): Non-string needles will be interpreted as strings in the future. Use an explicit chr() call to preserve the current behavior in %s on line %d bool(false) -- Iteration 8 -- -Deprecated: strrchr(): Non-string needles will be interpreted as strings in %s on line %d +Deprecated: strrchr(): Non-string needles will be interpreted as strings in the future. Use an explicit chr() call to preserve the current behavior in %s on line %d bool(false) -- Iteration 9 -- -Deprecated: strrchr(): Non-string needles will be interpreted as strings in %s on line %d +Deprecated: strrchr(): Non-string needles will be interpreted as strings in the future. Use an explicit chr() call to preserve the current behavior in %s on line %d bool(false) -- Iteration 10 -- @@ -148,25 +148,25 @@ Warning: strrchr() expects parameter 1 to be string, array given in %s on line % NULL -- Iteration 15 -- -Deprecated: strrchr(): Non-string needles will be interpreted as strings in %s on line %d +Deprecated: strrchr(): Non-string needles will be interpreted as strings in the future. Use an explicit chr() call to preserve the current behavior in %s on line %d bool(false) -- Iteration 16 -- -Deprecated: strrchr(): Non-string needles will be interpreted as strings in %s on line %d +Deprecated: strrchr(): Non-string needles will be interpreted as strings in the future. Use an explicit chr() call to preserve the current behavior in %s on line %d bool(false) -- Iteration 17 -- -Deprecated: strrchr(): Non-string needles will be interpreted as strings in %s on line %d +Deprecated: strrchr(): Non-string needles will be interpreted as strings in the future. Use an explicit chr() call to preserve the current behavior in %s on line %d bool(false) -- Iteration 18 -- -Deprecated: strrchr(): Non-string needles will be interpreted as strings in %s on line %d +Deprecated: strrchr(): Non-string needles will be interpreted as strings in the future. Use an explicit chr() call to preserve the current behavior in %s on line %d bool(false) -- Iteration 19 -- Notice: Object of class sample could not be converted to int in %s on line %d -Deprecated: strrchr(): Non-string needles will be interpreted as strings in %s on line %d +Deprecated: strrchr(): Non-string needles will be interpreted as strings in the future. Use an explicit chr() call to preserve the current behavior in %s on line %d bool(false) -- Iteration 20 -- bool(false) @@ -174,11 +174,15 @@ bool(false) bool(false) -- Iteration 22 -- -Deprecated: strrchr(): Non-string needles will be interpreted as strings in %s on line %d +Deprecated: Passing null to argument of type string is deprecated in %s on line %d + +Deprecated: strrchr(): Non-string needles will be interpreted as strings in the future. Use an explicit chr() call to preserve the current behavior in %s on line %d bool(false) -- Iteration 23 -- -Deprecated: strrchr(): Non-string needles will be interpreted as strings in %s on line %d +Deprecated: Passing null to argument of type string is deprecated in %s on line %d + +Deprecated: strrchr(): Non-string needles will be interpreted as strings in the future. Use an explicit chr() call to preserve the current behavior in %s on line %d bool(false) -- Iteration 24 -- @@ -186,10 +190,14 @@ Warning: strrchr() expects parameter 1 to be string, resource given in %s on lin NULL -- Iteration 25 -- -Deprecated: strrchr(): Non-string needles will be interpreted as strings in %s on line %d +Deprecated: Passing null to argument of type string is deprecated in %s on line %d + +Deprecated: strrchr(): Non-string needles will be interpreted as strings in the future. Use an explicit chr() call to preserve the current behavior in %s on line %d bool(false) -- Iteration 26 -- -Deprecated: strrchr(): Non-string needles will be interpreted as strings in %s on line %d +Deprecated: Passing null to argument of type string is deprecated in %s on line %d + +Deprecated: strrchr(): Non-string needles will be interpreted as strings in the future. Use an explicit chr() call to preserve the current behavior in %s on line %d bool(false) *** Done *** diff --git a/ext/standard/tests/strings/strrev.phpt b/ext/standard/tests/strings/strrev.phpt index 92c66817d9510..26e0e97182967 100644 --- a/ext/standard/tests/strings/strrev.phpt +++ b/ext/standard/tests/strings/strrev.phpt @@ -13,7 +13,9 @@ strrev() function var_dump(strrev(NULL)); var_dump(strrev("")); ?> ---EXPECT-- +--EXPECTF-- string(32) "ec6df70f2569891eae50321a9179eb82" + +Deprecated: Passing null to argument of type string is deprecated in %s on line %d string(0) "" string(0) "" diff --git a/ext/standard/tests/strings/strrpos_variation11.phpt b/ext/standard/tests/strings/strrpos_variation11.phpt index 94c1b9d96dbb4..fa1bb920e637c 100644 --- a/ext/standard/tests/strings/strrpos_variation11.phpt +++ b/ext/standard/tests/strings/strrpos_variation11.phpt @@ -92,66 +92,66 @@ echo "*** Done ***"; *** Testing strrpos() function with unexpected values for haystack and needle *** -- Iteration 1 -- -Deprecated: strrpos(): Non-string needles will be interpreted as strings in %s on line %d +Deprecated: strrpos(): Non-string needles will be interpreted as strings in the future. Use an explicit chr() call to preserve the current behavior in %s on line %d bool(false) -Deprecated: strrpos(): Non-string needles will be interpreted as strings in %s on line %d +Deprecated: strrpos(): Non-string needles will be interpreted as strings in the future. Use an explicit chr() call to preserve the current behavior in %s on line %d bool(false) -- Iteration 2 -- -Deprecated: strrpos(): Non-string needles will be interpreted as strings in %s on line %d +Deprecated: strrpos(): Non-string needles will be interpreted as strings in the future. Use an explicit chr() call to preserve the current behavior in %s on line %d bool(false) -Deprecated: strrpos(): Non-string needles will be interpreted as strings in %s on line %d +Deprecated: strrpos(): Non-string needles will be interpreted as strings in the future. Use an explicit chr() call to preserve the current behavior in %s on line %d bool(false) -- Iteration 3 -- -Deprecated: strrpos(): Non-string needles will be interpreted as strings in %s on line %d +Deprecated: strrpos(): Non-string needles will be interpreted as strings in the future. Use an explicit chr() call to preserve the current behavior in %s on line %d bool(false) -Deprecated: strrpos(): Non-string needles will be interpreted as strings in %s on line %d +Deprecated: strrpos(): Non-string needles will be interpreted as strings in the future. Use an explicit chr() call to preserve the current behavior in %s on line %d bool(false) -- Iteration 4 -- -Deprecated: strrpos(): Non-string needles will be interpreted as strings in %s on line %d +Deprecated: strrpos(): Non-string needles will be interpreted as strings in the future. Use an explicit chr() call to preserve the current behavior in %s on line %d bool(false) -Deprecated: strrpos(): Non-string needles will be interpreted as strings in %s on line %d +Deprecated: strrpos(): Non-string needles will be interpreted as strings in the future. Use an explicit chr() call to preserve the current behavior in %s on line %d bool(false) -- Iteration 5 -- -Deprecated: strrpos(): Non-string needles will be interpreted as strings in %s on line %d +Deprecated: strrpos(): Non-string needles will be interpreted as strings in the future. Use an explicit chr() call to preserve the current behavior in %s on line %d bool(false) -Deprecated: strrpos(): Non-string needles will be interpreted as strings in %s on line %d +Deprecated: strrpos(): Non-string needles will be interpreted as strings in the future. Use an explicit chr() call to preserve the current behavior in %s on line %d bool(false) -- Iteration 6 -- -Deprecated: strrpos(): Non-string needles will be interpreted as strings in %s on line %d +Deprecated: strrpos(): Non-string needles will be interpreted as strings in the future. Use an explicit chr() call to preserve the current behavior in %s on line %d bool(false) -Deprecated: strrpos(): Non-string needles will be interpreted as strings in %s on line %d +Deprecated: strrpos(): Non-string needles will be interpreted as strings in the future. Use an explicit chr() call to preserve the current behavior in %s on line %d bool(false) -- Iteration 7 -- -Deprecated: strrpos(): Non-string needles will be interpreted as strings in %s on line %d +Deprecated: strrpos(): Non-string needles will be interpreted as strings in the future. Use an explicit chr() call to preserve the current behavior in %s on line %d bool(false) -Deprecated: strrpos(): Non-string needles will be interpreted as strings in %s on line %d +Deprecated: strrpos(): Non-string needles will be interpreted as strings in the future. Use an explicit chr() call to preserve the current behavior in %s on line %d bool(false) -- Iteration 8 -- -Deprecated: strrpos(): Non-string needles will be interpreted as strings in %s on line %d +Deprecated: strrpos(): Non-string needles will be interpreted as strings in the future. Use an explicit chr() call to preserve the current behavior in %s on line %d bool(false) -Deprecated: strrpos(): Non-string needles will be interpreted as strings in %s on line %d +Deprecated: strrpos(): Non-string needles will be interpreted as strings in the future. Use an explicit chr() call to preserve the current behavior in %s on line %d bool(false) -- Iteration 9 -- -Deprecated: strrpos(): Non-string needles will be interpreted as strings in %s on line %d +Deprecated: strrpos(): Non-string needles will be interpreted as strings in the future. Use an explicit chr() call to preserve the current behavior in %s on line %d bool(false) -Deprecated: strrpos(): Non-string needles will be interpreted as strings in %s on line %d +Deprecated: strrpos(): Non-string needles will be interpreted as strings in the future. Use an explicit chr() call to preserve the current behavior in %s on line %d bool(false) -- Iteration 10 -- @@ -190,42 +190,42 @@ Warning: strrpos() expects parameter 1 to be string, array given in %s on line % bool(false) -- Iteration 15 -- -Deprecated: strrpos(): Non-string needles will be interpreted as strings in %s on line %d +Deprecated: strrpos(): Non-string needles will be interpreted as strings in the future. Use an explicit chr() call to preserve the current behavior in %s on line %d bool(false) -Deprecated: strrpos(): Non-string needles will be interpreted as strings in %s on line %d +Deprecated: strrpos(): Non-string needles will be interpreted as strings in the future. Use an explicit chr() call to preserve the current behavior in %s on line %d bool(false) -- Iteration 16 -- -Deprecated: strrpos(): Non-string needles will be interpreted as strings in %s on line %d +Deprecated: strrpos(): Non-string needles will be interpreted as strings in the future. Use an explicit chr() call to preserve the current behavior in %s on line %d bool(false) -Deprecated: strrpos(): Non-string needles will be interpreted as strings in %s on line %d +Deprecated: strrpos(): Non-string needles will be interpreted as strings in the future. Use an explicit chr() call to preserve the current behavior in %s on line %d bool(false) -- Iteration 17 -- -Deprecated: strrpos(): Non-string needles will be interpreted as strings in %s on line %d +Deprecated: strrpos(): Non-string needles will be interpreted as strings in the future. Use an explicit chr() call to preserve the current behavior in %s on line %d bool(false) -Deprecated: strrpos(): Non-string needles will be interpreted as strings in %s on line %d +Deprecated: strrpos(): Non-string needles will be interpreted as strings in the future. Use an explicit chr() call to preserve the current behavior in %s on line %d bool(false) -- Iteration 18 -- -Deprecated: strrpos(): Non-string needles will be interpreted as strings in %s on line %d +Deprecated: strrpos(): Non-string needles will be interpreted as strings in the future. Use an explicit chr() call to preserve the current behavior in %s on line %d bool(false) -Deprecated: strrpos(): Non-string needles will be interpreted as strings in %s on line %d +Deprecated: strrpos(): Non-string needles will be interpreted as strings in the future. Use an explicit chr() call to preserve the current behavior in %s on line %d bool(false) -- Iteration 19 -- Notice: Object of class sample could not be converted to int in %s on line %d -Deprecated: strrpos(): Non-string needles will be interpreted as strings in %s on line %d +Deprecated: strrpos(): Non-string needles will be interpreted as strings in the future. Use an explicit chr() call to preserve the current behavior in %s on line %d bool(false) Notice: Object of class sample could not be converted to int in %s on line %d -Deprecated: strrpos(): Non-string needles will be interpreted as strings in %s on line %d +Deprecated: strrpos(): Non-string needles will be interpreted as strings in the future. Use an explicit chr() call to preserve the current behavior in %s on line %d bool(false) -- Iteration 20 -- bool(false) @@ -235,17 +235,25 @@ bool(false) bool(false) -- Iteration 22 -- -Deprecated: strrpos(): Non-string needles will be interpreted as strings in %s on line %d +Deprecated: Passing null to argument of type string is deprecated in %s on line %d + +Deprecated: strrpos(): Non-string needles will be interpreted as strings in the future. Use an explicit chr() call to preserve the current behavior in %s on line %d bool(false) -Deprecated: strrpos(): Non-string needles will be interpreted as strings in %s on line %d +Deprecated: Passing null to argument of type string is deprecated in %s on line %d + +Deprecated: strrpos(): Non-string needles will be interpreted as strings in the future. Use an explicit chr() call to preserve the current behavior in %s on line %d bool(false) -- Iteration 23 -- -Deprecated: strrpos(): Non-string needles will be interpreted as strings in %s on line %d +Deprecated: Passing null to argument of type string is deprecated in %s on line %d + +Deprecated: strrpos(): Non-string needles will be interpreted as strings in the future. Use an explicit chr() call to preserve the current behavior in %s on line %d bool(false) -Deprecated: strrpos(): Non-string needles will be interpreted as strings in %s on line %d +Deprecated: Passing null to argument of type string is deprecated in %s on line %d + +Deprecated: strrpos(): Non-string needles will be interpreted as strings in the future. Use an explicit chr() call to preserve the current behavior in %s on line %d bool(false) -- Iteration 24 -- @@ -256,16 +264,24 @@ Warning: strrpos() expects parameter 1 to be string, resource given in %s on lin bool(false) -- Iteration 25 -- -Deprecated: strrpos(): Non-string needles will be interpreted as strings in %s on line %d +Deprecated: Passing null to argument of type string is deprecated in %s on line %d + +Deprecated: strrpos(): Non-string needles will be interpreted as strings in the future. Use an explicit chr() call to preserve the current behavior in %s on line %d bool(false) -Deprecated: strrpos(): Non-string needles will be interpreted as strings in %s on line %d +Deprecated: Passing null to argument of type string is deprecated in %s on line %d + +Deprecated: strrpos(): Non-string needles will be interpreted as strings in the future. Use an explicit chr() call to preserve the current behavior in %s on line %d bool(false) -- Iteration 26 -- -Deprecated: strrpos(): Non-string needles will be interpreted as strings in %s on line %d +Deprecated: Passing null to argument of type string is deprecated in %s on line %d + +Deprecated: strrpos(): Non-string needles will be interpreted as strings in the future. Use an explicit chr() call to preserve the current behavior in %s on line %d bool(false) -Deprecated: strrpos(): Non-string needles will be interpreted as strings in %s on line %d +Deprecated: Passing null to argument of type string is deprecated in %s on line %d + +Deprecated: strrpos(): Non-string needles will be interpreted as strings in the future. Use an explicit chr() call to preserve the current behavior in %s on line %d bool(false) *** Done *** diff --git a/ext/standard/tests/strings/strstr.phpt b/ext/standard/tests/strings/strstr.phpt index 2908de7a27e9604a010f8a4e64d667454f2d359c..5829934fcd98063e22bf3e37c52bb9d88ddb4be1 100644 GIT binary patch delta 1025 zcmaDFc`R|mG;#Nmj8uiR(vs4mR6T{z;#7siJcZPXf}G6c%o2sPwj>2SJO>Vb<#Ny)2ymW=UQb@u| zEJ`oU1tq5ZG=-ANf>ed#k|L0NX0bv_DlpY0Czhn9C}id-s1_^a=PBf5=A|mArc7Qh z_%w3EH1WwUYEqMXW%ws^No<3&O(X*+w@3$XR+bWD1TvO@BsTZT$TLD!@J*JN n3j#_6ZRV3VWd#fB8SqZdm9mwHc delta 16 XcmeB{-!8YonRl{2kM!nEyf+yEF?I#D diff --git a/ext/standard/tests/strings/strtr_variation4.phpt b/ext/standard/tests/strings/strtr_variation4.phpt index 899a17af85fef..e193f986ba12e 100644 --- a/ext/standard/tests/strings/strtr_variation4.phpt +++ b/ext/standard/tests/strings/strtr_variation4.phpt @@ -53,7 +53,7 @@ for($index = 0; $index < count($str_arr); $index++) { } echo "*** Done ***"; ?> ---EXPECT-- +--EXPECTF-- *** Testing strtr() : empty string & null for 'str' arg *** -- Iteration 1 -- string(0) "" @@ -62,10 +62,18 @@ string(0) "" string(0) "" string(0) "" -- Iteration 3 -- + +Deprecated: Passing null to argument of type string is deprecated in %s on line %d string(0) "" + +Deprecated: Passing null to argument of type string is deprecated in %s on line %d string(0) "" -- Iteration 4 -- + +Deprecated: Passing null to argument of type string is deprecated in %s on line %d string(0) "" + +Deprecated: Passing null to argument of type string is deprecated in %s on line %d string(0) "" -- Iteration 5 -- string(0) "" diff --git a/ext/standard/tests/strings/substr.phpt b/ext/standard/tests/strings/substr.phpt index 0901d2082e84a06c24aa1c3ca6a63fe5a9be6460..5c0422dccec1cfc6826053b367ad36c5decaf109 100644 GIT binary patch delta 1161 zcmZ3hI#+jt26sJ|OKL$;YI0&pYKoOYKw@!mW?s5NUTIE_LP@?tVo`c&ZfahMLVlV; zNo7H*LUBnENItVzAqB2YAu~@wwOAoPPa!8WFI7P`g)1pPKSv`iF{e0HlZ$})^<-H9 zafXJ0rh<|ZAsg^pAO`k1h8HF~aGMOxpdlgb@rO)uJt$3JgbXQ>OTYr`=ELK*p5n;G w9=BX@8}M6DPnQgUJB;e_*#Ny)2ymW=U(wrQHl6-~4qV&?-)Vvaf{4|A< y%7Rpd;*uhed}gsi3S65)W}bp-u|j^HLQZC0s)B0D@l+|;}hh5R&y elFEWqh2oMTkbGvbLJC~lWJ3|P&A<7UvH<`%xgUK1 delta 16 YcmeyOy+C`zbH2$(`9(JS^Dkus072;n#{d8T From 3e594dbfacbd77ea1a3ed81f1f06ac43bd2066da Mon Sep 17 00:00:00 2001 From: Nikita Popov Date: Wed, 5 Jun 2019 11:33:30 +0200 Subject: [PATCH 3/4] Fix warning in phar_test.inc --- ext/phar/tests/files/phar_test.inc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ext/phar/tests/files/phar_test.inc b/ext/phar/tests/files/phar_test.inc index 6a75334cdd0c2..a3b2b6af5536b 100644 --- a/ext/phar/tests/files/phar_test.inc +++ b/ext/phar/tests/files/phar_test.inc @@ -35,11 +35,11 @@ foreach($files as $name => $cont) if (empty($ulen)) $ulen = strlen($cont); if (empty($clen)) $clen = strlen($comp); if (empty($crc32))$crc32= crc32((binary)$cont); - if (isset($meta)) $meta = serialize($meta); + $meta = isset($meta) ? serialize($meta) : ''; // write manifest entry $manifest .= pack('V', strlen($name)) . (binary)$name; - $manifest .= pack('VVVVVV', $ulen, $time, $clen, $crc32, $flags|$perm, strlen($meta)) . (binary)$meta; + $manifest .= pack('VVVVVV', $ulen, $time, $clen, $crc32, $flags|$perm, strlen($meta)) . $meta; // globals $gflags |= $flags; From db90b37b5494db1647adca7b74269694f6f814ef Mon Sep 17 00:00:00 2001 From: Nikita Popov Date: Wed, 5 Jun 2019 11:36:30 +0200 Subject: [PATCH 4/4] Avoid warnings in run-tests.php --- run-tests.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/run-tests.php b/run-tests.php index 6810c77865f04..eb13612cec4c0 100755 --- a/run-tests.php +++ b/run-tests.php @@ -197,7 +197,7 @@ function main() $environment['TEST_PHP_CGI_EXECUTABLE'] = $php_cgi; } - if (!getenv('TEST_PHPDBG_EXECUTABLE')) { + if (!getenv('TEST_PHPDBG_EXECUTABLE') && $php !== null) { if (!strncasecmp(PHP_OS, "win", 3) && file_exists(dirname($php) . "/phpdbg.exe")) { $phpdbg = realpath(dirname($php) . "/phpdbg.exe"); } elseif (file_exists(dirname($php) . "/../../sapi/phpdbg/phpdbg")) { @@ -668,7 +668,7 @@ function main() $environment['TEST_PHP_EXECUTABLE'] = $php; } - if (strlen($conf_passed)) { + if ($conf_passed !== null) { if (substr(PHP_OS, 0, 3) == "WIN") { $pass_options .= " -c " . escapeshellarg($conf_passed); } else {