From a4cb8c536fc896f8366ab87980659800a72f461c Mon Sep 17 00:00:00 2001 From: Steph Fox Date: Tue, 27 May 2008 09:34:55 +0000 Subject: [PATCH] - killed off UEXPECT --- ext/standard/tests/file/005_basic.phpt | 16 +- ext/standard/tests/file/005_error.phpt | 70 +- .../tests/file/005_variation-win32.phpt | 67 - ext/standard/tests/file/005_variation.phpt | 77 - ext/standard/tests/file/006_basic.phpt | 9 +- ext/standard/tests/file/006_error.phpt | 40 - ext/standard/tests/file/006_variation1.phpt | 2566 +---------------- ext/standard/tests/file/006_variation2.phpt | 98 +- ext/standard/tests/file/007_basic.phpt | 322 --- ext/standard/tests/file/007_error.phpt | 104 - ext/standard/tests/file/007_variation1.phpt | 12 - ext/standard/tests/file/007_variation10.phpt | 16 +- .../tests/file/007_variation11-win32.phpt | 15 - ext/standard/tests/file/007_variation11.phpt | 15 - .../tests/file/007_variation12-win32.phpt | 17 - ext/standard/tests/file/007_variation12.phpt | 17 - .../tests/file/007_variation13-win32.phpt | 12 - ext/standard/tests/file/007_variation13.phpt | 12 - ext/standard/tests/file/007_variation14.phpt | 15 - ext/standard/tests/file/007_variation15.phpt | 14 - ext/standard/tests/file/007_variation16.phpt | 16 - ext/standard/tests/file/007_variation17.phpt | 12 - ext/standard/tests/file/007_variation18.phpt | 14 - ext/standard/tests/file/007_variation19.phpt | 15 - ext/standard/tests/file/007_variation2.phpt | 14 - ext/standard/tests/file/007_variation20.phpt | 17 - ext/standard/tests/file/007_variation21.phpt | 12 - ext/standard/tests/file/007_variation22.phpt | 15 - ext/standard/tests/file/007_variation23.phpt | 14 - ext/standard/tests/file/007_variation24.phpt | 16 - ext/standard/tests/file/007_variation3.phpt | 15 - ext/standard/tests/file/007_variation4.phpt | 17 - ext/standard/tests/file/007_variation5.phpt | 12 - ext/standard/tests/file/007_variation6.phpt | 15 - ext/standard/tests/file/007_variation7.phpt | 14 - ext/standard/tests/file/007_variation8.phpt | 16 - ext/standard/tests/file/007_variation9.phpt | 12 - ext/standard/tests/file/bug12556.phpt | 37 - ext/standard/tests/file/bug35740.phpt | 2 +- ext/standard/tests/file/bug35781.phpt | 2 +- ext/standard/tests/file/bug37158.phpt | 6 +- ext/standard/tests/file/bug38086.phpt | 2 +- ext/standard/tests/file/bug38450.phpt | 13 +- ext/standard/tests/file/bug38450_1.phpt | 13 +- ext/standard/tests/file/bug38450_2.phpt | 2 +- ext/standard/tests/file/bug38450_3.phpt | 2 +- ext/standard/tests/file/bug39551.phpt | 4 +- ext/standard/tests/file/bug39673.phpt | 2 +- ext/standard/tests/file/bug40374.phpt | 5 +- ext/standard/tests/file/bug40501.phpt | 2 +- ext/standard/tests/file/bug41655_1.phpt | 2 +- ext/standard/tests/file/bug41815.phpt | 2 +- ext/standard/tests/file/bug42229.phpt | 5 - ext/standard/tests/file/bug44805.phpt | 18 +- ext/standard/tests/file/chown.phpt | 3 - .../tests/file/clearstatcache_error.phpt | 6 - ext/standard/tests/file/copy_basic.phpt | 14 - ext/standard/tests/file/copy_error.phpt | 16 - ext/standard/tests/file/copy_variation1.phpt | 68 - ext/standard/tests/file/copy_variation10.phpt | 8 +- ext/standard/tests/file/copy_variation11.phpt | 18 - .../tests/file/copy_variation12-win32.phpt | 10 +- ext/standard/tests/file/copy_variation12.phpt | 11 - ext/standard/tests/file/copy_variation13.phpt | 17 +- ext/standard/tests/file/copy_variation14.phpt | 12 - ext/standard/tests/file/copy_variation15.phpt | 7 - .../tests/file/copy_variation16-win32.phpt | 61 - ext/standard/tests/file/copy_variation16.phpt | 61 - ext/standard/tests/file/copy_variation17.phpt | 22 - ext/standard/tests/file/copy_variation18.phpt | 7 +- .../tests/file/copy_variation2-win32.phpt | 127 - ext/standard/tests/file/copy_variation2.phpt | 145 - .../tests/file/copy_variation3-win32.phpt | 31 - ext/standard/tests/file/copy_variation3.phpt | 35 +- .../tests/file/copy_variation4-win32.phpt | Bin 6477 -> 4277 bytes ext/standard/tests/file/copy_variation4.phpt | Bin 6946 -> 4481 bytes .../tests/file/copy_variation5-win32.phpt | 30 - ext/standard/tests/file/copy_variation5.phpt | 26 - .../tests/file/copy_variation6-win32.phpt | 60 - ext/standard/tests/file/copy_variation6.phpt | 61 - ext/standard/tests/file/copy_variation7.phpt | 19 - ext/standard/tests/file/copy_variation8.phpt | 101 +- ext/standard/tests/file/copy_variation9.phpt | 19 +- ext/standard/tests/file/disk.phpt | 2 +- .../tests/file/disk_free_space_basic.phpt | 17 - .../file/disk_free_space_error-win32.phpt | 33 - .../tests/file/disk_free_space_error.phpt | 25 - .../tests/file/disk_free_space_variation.phpt | 58 - .../tests/file/disk_total_space_basic.phpt | 10 - .../file/disk_total_space_error-win32.phpt | 19 - .../tests/file/disk_total_space_error.phpt | 15 - .../file/disk_total_space_variation.phpt | 47 - ext/standard/tests/file/fflush_basic.phpt | 12 - ext/standard/tests/file/fflush_error.phpt | 38 - .../tests/file/fflush_variation1-win32.phpt | 468 +-- .../tests/file/fflush_variation1.phpt | 468 +-- .../tests/file/fflush_variation2.phpt | 378 +-- .../tests/file/fflush_variation3.phpt | 318 +- .../tests/file/fflush_variation4.phpt | 13 +- ext/standard/tests/file/fgetc_basic.phpt | 480 --- ext/standard/tests/file/fgetc_error.phpt | 38 +- ext/standard/tests/file/fgetc_variation1.phpt | 48 +- ext/standard/tests/file/fgetc_variation2.phpt | 13 - ext/standard/tests/file/fgetc_variation3.phpt | 80 +- ext/standard/tests/file/fgetc_variation4.phpt | 240 +- ext/standard/tests/file/fgetcsv.phpt | 6 +- ext/standard/tests/file/fgetcsv_error.phpt | 55 - .../tests/file/fgetcsv_variation1.phpt | 1324 --------- .../tests/file/fgetcsv_variation10.phpt | 1204 -------- .../tests/file/fgetcsv_variation11.phpt | 1746 +---------- .../tests/file/fgetcsv_variation12.phpt | 868 ------ .../tests/file/fgetcsv_variation13.phpt | 124 - .../tests/file/fgetcsv_variation14.phpt | 169 -- .../tests/file/fgetcsv_variation15.phpt | 859 ------ .../tests/file/fgetcsv_variation16.phpt | 859 ------ .../tests/file/fgetcsv_variation17.phpt | 1474 ---------- .../tests/file/fgetcsv_variation18.phpt | 1206 -------- .../tests/file/fgetcsv_variation19.phpt | 1506 ---------- .../tests/file/fgetcsv_variation2.phpt | 1324 --------- .../tests/file/fgetcsv_variation20.phpt | 124 - .../tests/file/fgetcsv_variation21.phpt | 124 - .../tests/file/fgetcsv_variation22.phpt | 529 ---- .../tests/file/fgetcsv_variation24.phpt | 580 ---- .../tests/file/fgetcsv_variation25.phpt | 844 ------ .../tests/file/fgetcsv_variation26.phpt | 364 --- .../tests/file/fgetcsv_variation27.phpt | 844 ------ .../tests/file/fgetcsv_variation28.phpt | 844 ------ .../tests/file/fgetcsv_variation29.phpt | 529 ---- .../tests/file/fgetcsv_variation3.phpt | 844 ------ .../tests/file/fgetcsv_variation30.phpt | 529 ---- .../tests/file/fgetcsv_variation31.phpt | 529 ---- .../tests/file/fgetcsv_variation4.phpt | 844 ------ .../tests/file/fgetcsv_variation5.phpt | 844 ------ .../tests/file/fgetcsv_variation6.phpt | 2254 --------------- .../tests/file/fgetcsv_variation7.phpt | 1204 -------- .../tests/file/fgetcsv_variation8.phpt | 966 +------ .../tests/file/fgetcsv_variation9.phpt | 964 ------- ext/standard/tests/file/fgets_basic.phpt | 271 +- ext/standard/tests/file/fgets_error.phpt | 50 - ext/standard/tests/file/fgets_variation1.phpt | 68 +- ext/standard/tests/file/fgets_variation2.phpt | 21 - ext/standard/tests/file/fgets_variation3.phpt | 439 +-- .../tests/file/fgets_variation4-win32.phpt | 509 +--- ext/standard/tests/file/fgets_variation4.phpt | 511 +--- ext/standard/tests/file/fgets_variation5.phpt | 250 +- .../tests/file/fgets_variation6-win32.phpt | 311 +- ext/standard/tests/file/fgets_variation6.phpt | 311 +- ext/standard/tests/file/fgetss.phpt | 2 +- ext/standard/tests/file/fgetss1.phpt | 10 +- ext/standard/tests/file/fgetss_basic1.phpt | 71 +- .../tests/file/fgetss_basic2-win32.phpt | 140 +- ext/standard/tests/file/fgetss_basic2.phpt | 142 +- ext/standard/tests/file/fgetss_error.phpt | 53 - .../tests/file/fgetss_variation1-win32.phpt | 2 +- .../tests/file/fgetss_variation1.phpt | 95 +- .../tests/file/fgetss_variation2.phpt | 371 +-- .../tests/file/fgetss_variation3-win32.phpt | 491 +--- .../tests/file/fgetss_variation3.phpt | 493 +--- .../tests/file/fgetss_variation4.phpt | 95 +- .../tests/file/fgetss_variation5-win32.phpt | 2 +- .../tests/file/fgetss_variation5.phpt | 2 +- ext/standard/tests/file/file_basic.phpt | 49 +- ext/standard/tests/file/file_error.phpt | 18 - ..._get_contents_file_put_contents_basic.phpt | 12 +- ..._get_contents_file_put_contents_error.phpt | 27 - ...contents_file_put_contents_variation1.phpt | 73 - ...contents_file_put_contents_variation2.phpt | 9 - .../tests/file/file_put_contents.phpt | 20 +- ext/standard/tests/file/file_variation.phpt | 96 +- ext/standard/tests/file/filegroup_basic.phpt | 15 - ext/standard/tests/file/filegroup_error.phpt | 20 - ext/standard/tests/file/fileinode_basic.phpt | 8 - ext/standard/tests/file/fileinode_error.phpt | 18 - .../tests/file/fileinode_variation.phpt | 24 - ext/standard/tests/file/fileowner_basic.phpt | 10 - ext/standard/tests/file/fileowner_error.phpt | 20 - ext/standard/tests/file/filesize_basic.phpt | 9 +- ext/standard/tests/file/filesize_error.phpt | 18 +- .../tests/file/filesize_variation1-win32.phpt | 16 +- .../tests/file/filesize_variation1.phpt | 16 +- .../tests/file/filesize_variation2-win32.phpt | 17 - .../tests/file/filesize_variation2.phpt | 17 - .../tests/file/filesize_variation3-win32.phpt | 30 +- .../tests/file/filesize_variation3.phpt | 28 - .../tests/file/filesize_variation4-win32.phpt | 24 - .../tests/file/filesize_variation4.phpt | 24 - ext/standard/tests/file/filestat.phpt | 2 +- ext/standard/tests/file/filetype_basic.phpt | 7 +- ext/standard/tests/file/filetype_error.phpt | 13 - .../tests/file/filetype_variation.phpt | 17 +- ext/standard/tests/file/flock.phpt | 35 +- ext/standard/tests/file/flock_basic.phpt | 14 +- ext/standard/tests/file/flock_error.phpt | 57 +- ext/standard/tests/file/flock_variation.phpt | 307 +- ext/standard/tests/file/fnmatch_basic.phpt | 18 +- ext/standard/tests/file/fnmatch_error.phpt | 21 - .../tests/file/fnmatch_variation.phpt | 305 +- ext/standard/tests/file/fopencookie.phpt | 4 + ext/standard/tests/file/fpassthru_basic.phpt | 64 - ext/standard/tests/file/fpassthru_error.phpt | 15 - .../tests/file/fpassthru_variation.phpt | 41 - ext/standard/tests/file/fputcsv_error.phpt | 55 - .../tests/file/fputcsv_variation1.phpt | 760 ----- .../tests/file/fputcsv_variation10.phpt | 268 -- .../tests/file/fputcsv_variation11.phpt | 760 ----- .../tests/file/fputcsv_variation12.phpt | 760 ----- .../tests/file/fputcsv_variation13.phpt | 976 ------- .../tests/file/fputcsv_variation14.phpt | 274 -- .../tests/file/fputcsv_variation2.phpt | 868 ------ .../tests/file/fputcsv_variation3.phpt | 868 ------ .../tests/file/fputcsv_variation4.phpt | 868 ------ .../tests/file/fputcsv_variation5.phpt | 760 ----- .../tests/file/fputcsv_variation6.phpt | 760 ----- .../tests/file/fputcsv_variation7.phpt | 760 ----- .../tests/file/fputcsv_variation8.phpt | 760 ----- .../tests/file/fputcsv_variation9.phpt | 1192 -------- ext/standard/tests/file/fread_basic.phpt | 541 +--- ext/standard/tests/file/fread_error.phpt | 55 - ext/standard/tests/file/fread_variation1.phpt | 555 +--- ext/standard/tests/file/fread_variation2.phpt | 553 +--- .../tests/file/fread_variation3-win32.phpt | 391 +-- ext/standard/tests/file/fread_variation3.phpt | 391 +-- .../tests/file/fread_variation4-win32.phpt | 4 +- ext/standard/tests/file/fread_variation4.phpt | 2 +- ext/standard/tests/file/fscanf.phpt | 48 +- ext/standard/tests/file/fscanf_error.phpt | 37 - .../tests/file/fscanf_variation1.phpt | 12 +- .../tests/file/fscanf_variation10.phpt | 142 - .../tests/file/fscanf_variation11.phpt | 632 ---- .../tests/file/fscanf_variation12.phpt | 864 ------ .../tests/file/fscanf_variation13.phpt | 178 -- .../tests/file/fscanf_variation14.phpt | 969 ------- .../tests/file/fscanf_variation15.phpt | 779 ----- .../tests/file/fscanf_variation16.phpt | 142 - .../tests/file/fscanf_variation17.phpt | 632 ---- .../tests/file/fscanf_variation18.phpt | 926 ------ .../tests/file/fscanf_variation19.phpt | 178 -- .../tests/file/fscanf_variation2.phpt | 926 ------ .../tests/file/fscanf_variation20.phpt | 926 ------ .../tests/file/fscanf_variation21.phpt | 779 ----- .../tests/file/fscanf_variation22.phpt | 142 - .../tests/file/fscanf_variation23.phpt | 632 ---- .../tests/file/fscanf_variation24.phpt | 908 ------ .../tests/file/fscanf_variation25.phpt | 222 -- .../tests/file/fscanf_variation26.phpt | 289 -- .../tests/file/fscanf_variation27.phpt | 926 ------ .../tests/file/fscanf_variation29.phpt | 142 - .../tests/file/fscanf_variation3.phpt | 779 ----- .../tests/file/fscanf_variation30.phpt | 632 ---- .../tests/file/fscanf_variation31.phpt | 864 ------ .../tests/file/fscanf_variation32.phpt | 178 -- .../tests/file/fscanf_variation33.phpt | 926 ------ .../tests/file/fscanf_variation34.phpt | 779 ----- .../tests/file/fscanf_variation35.phpt | 142 - .../tests/file/fscanf_variation36.phpt | 632 ---- .../tests/file/fscanf_variation37.phpt | 864 ------ .../tests/file/fscanf_variation38.phpt | 178 -- .../tests/file/fscanf_variation39.phpt | 926 ------ .../tests/file/fscanf_variation4.phpt | 142 - .../tests/file/fscanf_variation40.phpt | 779 ----- .../tests/file/fscanf_variation41.phpt | 142 - .../tests/file/fscanf_variation42.phpt | 632 ---- .../tests/file/fscanf_variation43.phpt | 864 ------ .../tests/file/fscanf_variation44.phpt | 178 -- .../tests/file/fscanf_variation45.phpt | 926 ------ .../tests/file/fscanf_variation46.phpt | 779 ----- .../tests/file/fscanf_variation47.phpt | 142 - .../tests/file/fscanf_variation49.phpt | 864 ------ .../tests/file/fscanf_variation5.phpt | 632 ---- .../tests/file/fscanf_variation50.phpt | 178 -- .../tests/file/fscanf_variation51.phpt | 86 - .../tests/file/fscanf_variation52.phpt | 113 - .../tests/file/fscanf_variation53.phpt | 149 - .../tests/file/fscanf_variation54.phpt | 35 - .../tests/file/fscanf_variation55.phpt | 1599 +--------- .../tests/file/fscanf_variation6.phpt | 864 ------ .../tests/file/fscanf_variation7.phpt | 178 -- .../tests/file/fscanf_variation8.phpt | 1514 ---------- .../tests/file/fscanf_variation9.phpt | 926 ------ ext/standard/tests/file/fseek_dir_basic.phpt | 56 +- .../tests/file/fseek_ftell_rewind_basic1.phpt | 394 +-- .../file/fseek_ftell_rewind_basic2-win32.phpt | 393 +-- .../tests/file/fseek_ftell_rewind_basic2.phpt | 393 +-- .../tests/file/fseek_ftell_rewind_error1.phpt | 45 - .../tests/file/fseek_ftell_rewind_error2.phpt | 42 - .../tests/file/fseek_ftell_rewind_error3.phpt | 42 - .../file/fseek_ftell_rewind_variation1.phpt | 369 +-- .../fseek_ftell_rewind_variation2-win32.phpt | 369 +-- .../file/fseek_ftell_rewind_variation2.phpt | 369 +-- .../file/fseek_ftell_rewind_variation3.phpt | 418 +-- .../fseek_ftell_rewind_variation4-win32.phpt | 417 +-- .../file/fseek_ftell_rewind_variation4.phpt | 417 +-- .../file/fseek_ftell_rewind_variation5.phpt | 415 +-- .../fseek_ftell_rewind_variation6-win32.phpt | 417 +-- .../file/fseek_ftell_rewind_variation6.phpt | 417 +-- .../file/fseek_ftell_rewind_variation7.phpt | 417 +-- .../fseek_ftell_rewind_variation8-win32.phpt | 417 +-- .../file/fseek_ftell_rewind_variation8.phpt | 417 +-- ext/standard/tests/file/fstat.phpt | 61 +- ext/standard/tests/file/ftruncate.phpt | Bin 1077 -> 1076 bytes ext/standard/tests/file/ftruncate_error.phpt | 52 - .../file/ftruncate_variation1-win32.phpt | 393 +-- .../tests/file/ftruncate_variation1.phpt | 393 +-- .../file/ftruncate_variation2-win32.phpt | 393 +-- .../tests/file/ftruncate_variation2.phpt | 393 +-- .../file/ftruncate_variation3-win32.phpt | 393 +-- .../tests/file/ftruncate_variation3.phpt | 393 +-- .../file/ftruncate_variation4-win32.phpt | 393 +-- .../tests/file/ftruncate_variation4.phpt | 393 +-- .../file/ftruncate_variation5-win32.phpt | 393 +-- .../tests/file/ftruncate_variation5.phpt | 393 +-- .../file/ftruncate_variation6-win32.phpt | 408 +-- .../tests/file/ftruncate_variation6.phpt | 408 +-- .../file/ftruncate_variation7-win32.phpt | 393 +-- .../tests/file/ftruncate_variation7.phpt | 393 +-- ext/standard/tests/file/fwrite.phpt | 2 +- .../tests/file/fwrite_basic-win32.phpt | 351 +-- ext/standard/tests/file/fwrite_basic.phpt | 349 +-- ext/standard/tests/file/fwrite_error.phpt | 49 - .../tests/file/fwrite_variation1-win32.phpt | 157 +- .../tests/file/fwrite_variation1.phpt | 159 +- .../tests/file/fwrite_variation2-win32.phpt | 217 +- .../tests/file/fwrite_variation2.phpt | 219 +- .../tests/file/fwrite_variation3-win32.phpt | 301 +- .../tests/file/fwrite_variation3.phpt | 303 +- .../tests/file/fwrite_variation4-win32.phpt | 205 +- .../tests/file/fwrite_variation4.phpt | 205 +- ext/standard/tests/file/get_current_user.phpt | 7 +- ext/standard/tests/file/glob_basic.phpt | 33 - ext/standard/tests/file/glob_error.phpt | 18 - .../tests/file/glob_variation-win32.phpt | 373 --- ext/standard/tests/file/glob_variation.phpt | 373 --- ext/standard/tests/file/glob_variation2.phpt | 21 +- ext/standard/tests/file/htmlentities19.phpt | 285 -- ext/standard/tests/file/htmlspecialchars.phpt | 285 -- ext/standard/tests/file/include_streams.phpt | 3 +- ext/standard/tests/file/is_dir_basic.phpt | 12 +- ext/standard/tests/file/is_dir_error.phpt | 9 - .../tests/file/is_dir_variation1.phpt | 10 +- .../tests/file/is_dir_variation2.phpt | 21 +- .../tests/file/is_dir_variation3.phpt | 13 - .../tests/file/is_dir_variation4.phpt | 35 +- .../tests/file/is_executable_basic-win32.phpt | 1029 +------ .../tests/file/is_executable_basic.phpt | 1029 +------ .../tests/file/is_executable_error.phpt | 12 - .../tests/file/is_executable_variation1.phpt | 25 +- .../tests/file/is_executable_variation2.phpt | 30 +- .../tests/file/is_executable_variation3.phpt | 15 - ext/standard/tests/file/is_file_basic.phpt | 13 +- ext/standard/tests/file/is_file_error.phpt | 13 - .../tests/file/is_file_variation1.phpt | 12 - .../tests/file/is_file_variation2.phpt | 8 +- .../tests/file/is_file_variation3.phpt | 14 - .../tests/file/is_file_variation4.phpt | 2 +- .../tests/file/is_readable_basic-win32.phpt | 1029 +------ .../tests/file/is_readable_basic.phpt | 1029 +------ .../tests/file/is_readable_error.phpt | 12 - .../tests/file/is_readable_variation1.phpt | 27 +- .../tests/file/is_readable_variation2.phpt | 30 +- .../tests/file/is_readable_variation3.phpt | 15 - .../tests/file/is_writable_basic.phpt | 1541 +--------- .../tests/file/is_writable_error.phpt | 21 - .../tests/file/is_writable_variation1.phpt | 36 - .../tests/file/is_writable_variation2.phpt | 41 +- .../tests/file/is_writable_variation3.phpt | 25 - ext/standard/tests/file/lstat_stat_basic.phpt | 230 -- ext/standard/tests/file/lstat_stat_error.phpt | 41 - .../tests/file/lstat_stat_variation1.phpt | 10 +- .../tests/file/lstat_stat_variation10.phpt | 10 +- .../tests/file/lstat_stat_variation11.phpt | 10 +- .../tests/file/lstat_stat_variation12.phpt | 10 +- .../tests/file/lstat_stat_variation13.phpt | 9 +- .../tests/file/lstat_stat_variation14.phpt | 10 +- .../tests/file/lstat_stat_variation15.phpt | 10 +- .../tests/file/lstat_stat_variation16.phpt | 10 +- .../tests/file/lstat_stat_variation17.phpt | 10 +- .../tests/file/lstat_stat_variation18.phpt | 116 - .../tests/file/lstat_stat_variation19.phpt | 224 -- .../tests/file/lstat_stat_variation2.phpt | 10 +- .../tests/file/lstat_stat_variation20.phpt | 224 -- .../tests/file/lstat_stat_variation21.phpt | 10 +- .../tests/file/lstat_stat_variation3.phpt | 10 +- .../tests/file/lstat_stat_variation4.phpt | 10 +- .../tests/file/lstat_stat_variation5.phpt | 10 +- .../tests/file/lstat_stat_variation6.phpt | 10 +- .../tests/file/lstat_stat_variation7.phpt | 9 +- .../tests/file/lstat_stat_variation8.phpt | 9 +- .../tests/file/lstat_stat_variation9.phpt | 9 +- ext/standard/tests/file/mkdir-001.phpt | 2 +- ext/standard/tests/file/mkdir-002.phpt | 2 +- ext/standard/tests/file/mkdir-003.phpt | 2 +- ext/standard/tests/file/mkdir-004.phpt | 2 +- ext/standard/tests/file/mkdir-005.phpt | 2 +- .../tests/file/mkdir_rmdir_error.phpt | 32 - .../tests/file/mkdir_rmdir_variation1.phpt | 1541 +--------- .../tests/file/mkdir_rmdir_variation2.phpt | 20 - ext/standard/tests/file/parse_ini_file.phpt | 2 +- ext/standard/tests/file/pathinfo_basic.phpt | 334 --- ext/standard/tests/file/pathinfo_error.phpt | 9 - .../tests/file/pathinfo_variaton.phpt | 350 --- .../tests/file/popen_pclose_basic-win32.phpt | 16 +- .../tests/file/popen_pclose_basic.phpt | 31 +- .../tests/file/popen_pclose_error-sunos.phpt | 21 - .../tests/file/popen_pclose_error-win32.phpt | 22 - .../tests/file/popen_pclose_error.phpt | 22 - .../tests/file/readfile_basic-win32.phpt | 481 --- ext/standard/tests/file/readfile_basic.phpt | 481 --- ext/standard/tests/file/readfile_error.phpt | 28 +- .../tests/file/readfile_variation1.phpt | 10 - .../tests/file/readfile_variation2.phpt | 23 +- .../tests/file/readfile_variation3.phpt | 18 - .../tests/file/readlink_realpath_basic1.phpt | 43 - .../tests/file/readlink_realpath_basic2.phpt | 27 - .../tests/file/readlink_realpath_error.phpt | 34 - .../file/readlink_realpath_variation1.phpt | 25 - .../file/readlink_realpath_variation2.phpt | 35 - .../file/readlink_realpath_variation3.phpt | 35 - .../tests/file/realpath_basic-win32.phpt | 26 - ext/standard/tests/file/realpath_basic3.phpt | 28 +- .../tests/file/realpath_variation-win32.phpt | 25 - ext/standard/tests/file/rename_basic.phpt | 3 +- ext/standard/tests/file/rename_error.phpt | 12 - .../tests/file/rename_variation-win32.phpt | 1 - .../tests/file/rename_variation1-win32.phpt | 3 +- .../tests/file/rename_variation1.phpt | 2 +- .../tests/file/rename_variation2-win32.phpt | 3 +- .../tests/file/rename_variation2.phpt | 2 +- .../tests/file/rename_variation3-win32.phpt | 1 - .../tests/file/rename_variation3.phpt | 2 +- .../tests/file/rename_variation4.phpt | 2 +- .../tests/file/rename_variation6.phpt | 8 +- .../tests/file/rename_variation7.phpt | 7 +- .../tests/file/rename_variation8.phpt | 1 - .../tests/file/rename_variation9.phpt | 3 +- ext/standard/tests/file/stat_basic-win32.phpt | 122 - ext/standard/tests/file/stat_error-win32.phpt | 25 - .../tests/file/stat_variation1-win32.phpt | 17 +- .../tests/file/stat_variation2-win32.phpt | 10 - .../tests/file/stat_variation3-win32.phpt | 15 +- .../tests/file/stat_variation4-win32.phpt | 18 +- .../tests/file/stat_variation5-win32.phpt | 11 +- .../tests/file/stat_variation6-win32.phpt | 18 +- .../tests/file/stat_variation7-win32.phpt | 226 -- .../tests/file/stat_variation8-win32.phpt | 11 +- ext/standard/tests/file/statpage.phpt | 2 +- ext/standard/tests/file/stream_001.phpt | 2 +- ext/standard/tests/file/stream_002.phpt | 33 +- .../tests/file/stream_copy_to_stream.phpt | 2 +- .../tests/file/stream_rfc2397_001.phpt | 2 +- .../tests/file/stream_rfc2397_002.phpt | 160 - .../tests/file/stream_rfc2397_003.phpt | 2 +- .../tests/file/stream_rfc2397_004.phpt | 4 +- .../tests/file/stream_rfc2397_005.phpt | 4 +- .../tests/file/stream_rfc2397_007.phpt | 2 +- .../tests/file/stream_supports_lock.phpt | 2 +- ext/standard/tests/file/symlink.phpt | 34 +- .../symlink_link_linkinfo_is_link_basic1.phpt | 23 - .../symlink_link_linkinfo_is_link_basic2.phpt | 19 - .../symlink_link_linkinfo_is_link_error1.phpt | 44 - .../symlink_link_linkinfo_is_link_error2.phpt | 39 - ...link_link_linkinfo_is_link_variation1.phpt | 25 - ...link_link_linkinfo_is_link_variation2.phpt | 10 - ...link_link_linkinfo_is_link_variation3.phpt | 33 +- ...link_link_linkinfo_is_link_variation4.phpt | 29 +- ...link_link_linkinfo_is_link_variation5.phpt | 9 - ...link_link_linkinfo_is_link_variation6.phpt | 22 - ...link_link_linkinfo_is_link_variation7.phpt | 19 - ...link_link_linkinfo_is_link_variation8.phpt | 13 - ...link_link_linkinfo_is_link_variation9.phpt | 22 - ext/standard/tests/file/tempnam_error.phpt | 24 - .../tests/file/tempnam_variation1-win32.phpt | 33 - .../tests/file/tempnam_variation1.phpt | 43 - .../tests/file/tempnam_variation2-win32.phpt | 36 - .../tests/file/tempnam_variation2.phpt | 36 - .../tests/file/tempnam_variation3-win32.phpt | 33 - .../tests/file/tempnam_variation3.phpt | 36 - .../tests/file/tempnam_variation4.phpt | 1027 ------- .../tests/file/tempnam_variation5.phpt | 10 - .../tests/file/tempnam_variation6.phpt | 10 - .../tests/file/tempnam_variation7-win32.phpt | 33 - .../tests/file/tempnam_variation7.phpt | 36 - ext/standard/tests/file/touch.phpt | 2 +- ext/standard/tests/file/umask_basic.phpt | 2051 ------------- ext/standard/tests/file/umask_error.phpt | 6 - ext/standard/tests/file/umask_variation1.phpt | 704 +---- ext/standard/tests/file/umask_variation2.phpt | 842 +----- ext/standard/tests/file/unlink_basic.phpt | 9 - .../tests/file/unlink_error-win32.phpt | 44 - ext/standard/tests/file/unlink_error.phpt | 46 +- .../tests/file/unlink_variation1-win32.phpt | 16 - .../tests/file/unlink_variation1.phpt | 2 +- .../tests/file/unlink_variation2-win32.phpt | 8 - .../tests/file/unlink_variation2.phpt | 7 +- .../tests/file/unlink_variation3.phpt | 15 +- .../tests/file/unlink_variation4.phpt | 8 - .../tests/file/unlink_variation5.phpt | 2053 +------------ ext/standard/tests/file/userdirstream.phpt | 13 - ext/standard/tests/file/userwrapper.phpt | 1 - 498 files changed, 281 insertions(+), 118274 deletions(-) diff --git a/ext/standard/tests/file/005_basic.phpt b/ext/standard/tests/file/005_basic.phpt index 6673284e35..c1826bbd53 100644 --- a/ext/standard/tests/file/005_basic.phpt +++ b/ext/standard/tests/file/005_basic.phpt @@ -39,21 +39,7 @@ echo "\n*** Done ***\n"; unlink(dirname(__FILE__)."/005_basic.tmp"); unlink(dirname(__FILE__)."/005_basic"); ?> ---EXPECTF-- -*** Testing the basic functionality with file *** -%d:%s:%s:%d:%d:%d -%d:%s:%s:%d:%d:%d -%d:%s:%s:%d:%d:%d -%d:%s:%s:%d:%d:%d -*** Testing the basic functionality with dir *** -%d:%s:%s:%d:%d:%d -%d:%s:%s:%d:%d:%d -%d:%s:%s:%d:%d:%d -%d:%s:%s:%d:%d:%d - -*** Done *** - ---UEXPECTF-- +--EXPECTF-- *** Testing the basic functionality with file *** %d:%s:%s:%d:%d:%d %d:%s:%s:%d:%d:%d diff --git a/ext/standard/tests/file/005_error.phpt b/ext/standard/tests/file/005_error.phpt index d41d957cb2..54e12e8a7a 100644 --- a/ext/standard/tests/file/005_error.phpt +++ b/ext/standard/tests/file/005_error.phpt @@ -56,75 +56,7 @@ var_dump( touch(__FILE__, 10, 100, 123) ); echo "\nDone"; ?> ---EXPECTF-- -*** Testing error conditions *** - --- Testing with Non-existing files -- -Warning: fileatime(): stat failed for /no/such/file/or/dir in %s on line %d -bool(false) - -Warning: filemtime(): stat failed for /no/such/file/or/dir in %s on line %d -bool(false) - -Warning: filectime(): stat failed for /no/such/file/or/dir in %s on line %d -bool(false) - -Warning: touch(): Unable to create file /no/such/file/or/dir because No such file or directory in %s on line %d -bool(false) - -Warning: fileatime() expects exactly 1 parameter, 2 given in %s on line %d -NULL - -Warning: filemtime() expects exactly 1 parameter, 2 given in %s on line %d -NULL - -Warning: filectime() expects exactly 1 parameter, 2 given in %s on line %d -NULL - -Warning: touch() expects at most 3 parameters, 4 given in %s on line %d -NULL - --- Testing No.of arguments less than expected -- -Warning: fileatime() expects exactly 1 parameter, 0 given in %s on line %d -NULL - -Warning: filemtime() expects exactly 1 parameter, 0 given in %s on line %d -NULL - -Warning: filectime() expects exactly 1 parameter, 0 given in %s on line %d -NULL - -Warning: touch() expects at least 1 parameter, 0 given in %s on line %d -NULL - --- Testing No.of arguments greater than expected -- -Warning: fileatime() expects exactly 1 parameter, 2 given in %s on line %d -NULL - -Warning: filemtime() expects exactly 1 parameter, 2 given in %s on line %d -NULL - -Warning: filectime() expects exactly 1 parameter, 2 given in %s on line %d -NULL - -Warning: touch() expects at most 3 parameters, 4 given in %s on line %d -NULL - -Warning: fileatime() expects exactly 1 parameter, 2 given in %s on line %d -NULL - -Warning: filemtime() expects exactly 1 parameter, 2 given in %s on line %d -NULL - -Warning: filectime() expects exactly 1 parameter, 2 given in %s on line %d -NULL - -Warning: touch() expects at most 3 parameters, 4 given in %s on line %d -NULL - -Done - ---UEXPECTF-- +--EXPECTF-- *** Testing error conditions *** -- Testing with Non-existing files -- diff --git a/ext/standard/tests/file/005_variation-win32.phpt b/ext/standard/tests/file/005_variation-win32.phpt index 381ee0a75e..2609070fc5 100644 --- a/ext/standard/tests/file/005_variation-win32.phpt +++ b/ext/standard/tests/file/005_variation-win32.phpt @@ -219,70 +219,3 @@ bool(true) -- File modification time is => %d:%s:%s:%d:%d:%d -- inode change time is => %d:%s:%s:%d:%d:%d Done ---UEXPECTF-- -*** Testing fileattime(), filemtime(), filectime() & touch() : usage variations *** --- File access time is => %d:%s:%s:%d:%d:%d --- File modification time is => %d:%s:%s:%d:%d:%d --- inode change time is => %d:%s:%s:%d:%d:%d --- File access time is => %d:%s:%s:%d:%d:%d --- File modification time is => %d:%s:%s:%d:%d:%d --- inode change time is => %d:%s:%s:%d:%d:%d --- File access time is => %d:%s:%s:%d:%d:%d --- File modification time is => %d:%s:%s:%d:%d:%d --- inode change time is => %d:%s:%s:%d:%d:%d - --- Checking different times, just after creating the file -- --- File access time is => %d:%s:%s:%d:%d:%d --- File modification time is => %d:%s:%s:%d:%d:%d --- inode change time is => %d:%s:%s:%d:%d:%d - --- Checking different times, after changing the file permission -- --- File access time is => %d:%s:%s:%d:%d:%d --- File modification time is => %d:%s:%s:%d:%d:%d --- inode change time is => %d:%s:%s:%d:%d:%d - --- Checking different times, after writing into the file -- --- File access time is => %d:%s:%s:%d:%d:%d --- File modification time is => %d:%s:%s:%d:%d:%d --- inode change time is => %d:%s:%s:%d:%d:%d - --- Checking different times, after reading from the file -- --- File access time is => %d:%s:%s:%d:%d:%d --- File modification time is => %d:%s:%s:%d:%d:%d --- inode change time is => %d:%s:%s:%d:%d:%d - --- Checking different times, after making a copy of the file -- --- File access time is => %d:%s:%s:%d:%d:%d --- File modification time is => %d:%s:%s:%d:%d:%d --- inode change time is => %d:%s:%s:%d:%d:%d - --- Checking different times, after performing is_file() operation on the file -- --- File access time is => %d:%s:%s:%d:%d:%d --- File modification time is => %d:%s:%s:%d:%d:%d --- inode change time is => %d:%s:%s:%d:%d:%d - -*** Testing touch() function with different time values *** -bool(true) --- File access time is => %d:%s:%s:%d:%d:%d --- File modification time is => %d:%s:%s:%d:%d:%d --- inode change time is => %d:%s:%s:%d:%d:%d -bool(true) --- File access time is => %d:%s:%s:%d:%d:%d --- File modification time is => %d:%s:%s:%d:%d:%d --- inode change time is => %d:%s:%s:%d:%d:%d -bool(true) --- File access time is => %d:%s:%s:%d:%d:%d --- File modification time is => %d:%s:%s:%d:%d:%d --- inode change time is => %d:%s:%s:%d:%d:%d -bool(true) --- File access time is => %d:%s:%s:%d:%d:%d --- File modification time is => %d:%s:%s:%d:%d:%d --- inode change time is => %d:%s:%s:%d:%d:%d -bool(true) --- File access time is => %d:%s:%s:%d:%d:%d --- File modification time is => %d:%s:%s:%d:%d:%d --- inode change time is => %d:%s:%s:%d:%d:%d --- File access time is => %d:%s:%s:%d:%d:%d --- File modification time is => %d:%s:%s:%d:%d:%d --- inode change time is => %d:%s:%s:%d:%d:%d -Done diff --git a/ext/standard/tests/file/005_variation.phpt b/ext/standard/tests/file/005_variation.phpt index f84e9c7019..8949677e50 100644 --- a/ext/standard/tests/file/005_variation.phpt +++ b/ext/standard/tests/file/005_variation.phpt @@ -241,80 +241,3 @@ bool(true) -- File modification time is => %d:%s:%s:%d:%d:%d -- inode change time is => %d:%s:%s:%d:%d:%d Done ---UEXPECTF-- -*** Testing fileattime(), filemtime(), filectime() & touch() : usage variations *** --- File access time is => %d:%s:%s:%d:%d:%d --- File modification time is => %d:%s:%s:%d:%d:%d --- inode change time is => %d:%s:%s:%d:%d:%d --- File access time is => %d:%s:%s:%d:%d:%d --- File modification time is => %d:%s:%s:%d:%d:%d --- inode change time is => %d:%s:%s:%d:%d:%d --- File access time is => %d:%s:%s:%d:%d:%d --- File modification time is => %d:%s:%s:%d:%d:%d --- inode change time is => %d:%s:%s:%d:%d:%d - --- Checking different times, just after creating the file -- --- File access time is => %d:%s:%s:%d:%d:%d --- File modification time is => %d:%s:%s:%d:%d:%d --- inode change time is => %d:%s:%s:%d:%d:%d - --- Checking different times, after changing the file permission -- --- File access time is => %d:%s:%s:%d:%d:%d --- File modification time is => %d:%s:%s:%d:%d:%d --- inode change time is => %d:%s:%s:%d:%d:%d - --- Checking different times, after writing into the file -- --- File access time is => %d:%s:%s:%d:%d:%d --- File modification time is => %d:%s:%s:%d:%d:%d --- inode change time is => %d:%s:%s:%d:%d:%d - --- Checking different times, after reading from the file -- --- File access time is => %d:%s:%s:%d:%d:%d --- File modification time is => %d:%s:%s:%d:%d:%d --- inode change time is => %d:%s:%s:%d:%d:%d - --- Checking different times, after creating a softlink to the file -- --- File access time is => %d:%s:%s:%d:%d:%d --- File modification time is => %d:%s:%s:%d:%d:%d --- inode change time is => %d:%s:%s:%d:%d:%d - --- Checking different times, after creating a hardlink to the file -- --- File access time is => %d:%s:%s:%d:%d:%d --- File modification time is => %d:%s:%s:%d:%d:%d --- inode change time is => %d:%s:%s:%d:%d:%d - --- Checking different times, after making a copy of the file -- --- File access time is => %d:%s:%s:%d:%d:%d --- File modification time is => %d:%s:%s:%d:%d:%d --- inode change time is => %d:%s:%s:%d:%d:%d - --- Checking different times, after performing is_file() operation on the file -- --- File access time is => %d:%s:%s:%d:%d:%d --- File modification time is => %d:%s:%s:%d:%d:%d --- inode change time is => %d:%s:%s:%d:%d:%d - -*** Testing touch() function with different time values *** -bool(true) --- File access time is => %d:%s:%s:%d:%d:%d --- File modification time is => %d:%s:%s:%d:%d:%d --- inode change time is => %d:%s:%s:%d:%d:%d -bool(true) --- File access time is => %d:%s:%s:%d:%d:%d --- File modification time is => %d:%s:%s:%d:%d:%d --- inode change time is => %d:%s:%s:%d:%d:%d -bool(true) --- File access time is => %d:%s:%s:%d:%d:%d --- File modification time is => %d:%s:%s:%d:%d:%d --- inode change time is => %d:%s:%s:%d:%d:%d -bool(true) --- File access time is => %d:%s:%s:%d:%d:%d --- File modification time is => %d:%s:%s:%d:%d:%d --- inode change time is => %d:%s:%s:%d:%d:%d -bool(true) --- File access time is => %d:%s:%s:%d:%d:%d --- File modification time is => %d:%s:%s:%d:%d:%d --- inode change time is => %d:%s:%s:%d:%d:%d --- File access time is => %d:%s:%s:%d:%d:%d --- File modification time is => %d:%s:%s:%d:%d:%d --- inode change time is => %d:%s:%s:%d:%d:%d -Done diff --git a/ext/standard/tests/file/006_basic.phpt b/ext/standard/tests/file/006_basic.phpt index 008a301713..3183897781 100644 --- a/ext/standard/tests/file/006_basic.phpt +++ b/ext/standard/tests/file/006_basic.phpt @@ -49,14 +49,7 @@ echo "Done"; unlink(dirname(__FILE__)."/perm.tmp"); rmdir(dirname(__FILE__)."/perm"); ?> ---EXPECTF-- -*** Testing fileperms(), chmod() with files and dirs *** -bool(true) -100755 -bool(true) -40777 -Done ---UEXPECTF-- +--EXPECT-- *** Testing fileperms(), chmod() with files and dirs *** bool(true) 100755 diff --git a/ext/standard/tests/file/006_error.phpt b/ext/standard/tests/file/006_error.phpt index 65609e9f10..bce98ecd3d 100644 --- a/ext/standard/tests/file/006_error.phpt +++ b/ext/standard/tests/file/006_error.phpt @@ -68,46 +68,6 @@ unlink( dirname(__FILE__)."/006_error.tmp"); --EXPECTF-- *** Testing error conditions for fileperms(), chmod() *** -Warning: chmod(): %s in %s on line %d -bool(false) -100%d44 - -Warning: chmod(): %s in %s on line %d -bool(false) -40755 - -Warning: chmod(): No such file or directory in %s on line %d -bool(false) - -Warning: fileperms(): stat failed for /no/such/file/dir in %s on line %d -bool(false) - - -Warning: chmod() expects exactly 2 parameters, 1 given in %s on line %d -NULL - -Warning: chmod() expects exactly 2 parameters, 1 given in %s on line %d -NULL - -Warning: chmod() expects exactly 2 parameters, 0 given in %s on line %d -NULL - -Warning: fileperms() expects exactly 1 parameter, 0 given in %s on line %d -NULL - -Warning: chmod() expects exactly 2 parameters, 3 given in %s on line %d -NULL - -Warning: fileperms() expects exactly 1 parameter, 2 given in %s on line %d -NULL - -Warning: fileperms() expects exactly 1 parameter, 2 given in %s on line %d -NULL - -*** Done *** ---UEXPECTF-- -*** Testing error conditions for fileperms(), chmod() *** - Warning: chmod(): %s in %s on line %d bool(false) 100644 diff --git a/ext/standard/tests/file/006_variation1.phpt b/ext/standard/tests/file/006_variation1.phpt index f1cf038c5a..ff178c47f3 100644 --- a/ext/standard/tests/file/006_variation1.phpt +++ b/ext/standard/tests/file/006_variation1.phpt @@ -61,2571 +61,7 @@ chmod(dirname(__FILE__)."/006_variation1", 0777); unlink(dirname(__FILE__)."/006_variation1.tmp"); rmdir(dirname(__FILE__)."/006_variation1"); ?> ---EXPECTF-- -*** Testing fileperms() & chmod() : usage variations *** --- Testing all permission from octal 0000 to octal 0777 on file and dir -- --- Iteration 1 -- -bool(true) -100000 -bool(true) -40000 --- Iteration 2 -- -bool(true) -100001 -bool(true) -40001 --- Iteration 3 -- -bool(true) -100002 -bool(true) -40002 --- Iteration 4 -- -bool(true) -100003 -bool(true) -40003 --- Iteration 5 -- -bool(true) -100004 -bool(true) -40004 --- Iteration 6 -- -bool(true) -100005 -bool(true) -40005 --- Iteration 7 -- -bool(true) -100006 -bool(true) -40006 --- Iteration 8 -- -bool(true) -100007 -bool(true) -40007 --- Iteration 9 -- -bool(true) -100010 -bool(true) -40010 --- Iteration 10 -- -bool(true) -100011 -bool(true) -40011 --- Iteration 11 -- -bool(true) -100012 -bool(true) -40012 --- Iteration 12 -- -bool(true) -100013 -bool(true) -40013 --- Iteration 13 -- -bool(true) -100014 -bool(true) -40014 --- Iteration 14 -- -bool(true) -100015 -bool(true) -40015 --- Iteration 15 -- -bool(true) -100016 -bool(true) -40016 --- Iteration 16 -- -bool(true) -100017 -bool(true) -40017 --- Iteration 17 -- -bool(true) -100020 -bool(true) -40020 --- Iteration 18 -- -bool(true) -100021 -bool(true) -40021 --- Iteration 19 -- -bool(true) -100022 -bool(true) -40022 --- Iteration 20 -- -bool(true) -100023 -bool(true) -40023 --- Iteration 21 -- -bool(true) -100024 -bool(true) -40024 --- Iteration 22 -- -bool(true) -100025 -bool(true) -40025 --- Iteration 23 -- -bool(true) -100026 -bool(true) -40026 --- Iteration 24 -- -bool(true) -100027 -bool(true) -40027 --- Iteration 25 -- -bool(true) -100030 -bool(true) -40030 --- Iteration 26 -- -bool(true) -100031 -bool(true) -40031 --- Iteration 27 -- -bool(true) -100032 -bool(true) -40032 --- Iteration 28 -- -bool(true) -100033 -bool(true) -40033 --- Iteration 29 -- -bool(true) -100034 -bool(true) -40034 --- Iteration 30 -- -bool(true) -100035 -bool(true) -40035 --- Iteration 31 -- -bool(true) -100036 -bool(true) -40036 --- Iteration 32 -- -bool(true) -100037 -bool(true) -40037 --- Iteration 33 -- -bool(true) -100040 -bool(true) -40040 --- Iteration 34 -- -bool(true) -100041 -bool(true) -40041 --- Iteration 35 -- -bool(true) -100042 -bool(true) -40042 --- Iteration 36 -- -bool(true) -100043 -bool(true) -40043 --- Iteration 37 -- -bool(true) -100044 -bool(true) -40044 --- Iteration 38 -- -bool(true) -100045 -bool(true) -40045 --- Iteration 39 -- -bool(true) -100046 -bool(true) -40046 --- Iteration 40 -- -bool(true) -100047 -bool(true) -40047 --- Iteration 41 -- -bool(true) -100050 -bool(true) -40050 --- Iteration 42 -- -bool(true) -100051 -bool(true) -40051 --- Iteration 43 -- -bool(true) -100052 -bool(true) -40052 --- Iteration 44 -- -bool(true) -100053 -bool(true) -40053 --- Iteration 45 -- -bool(true) -100054 -bool(true) -40054 --- Iteration 46 -- -bool(true) -100055 -bool(true) -40055 --- Iteration 47 -- -bool(true) -100056 -bool(true) -40056 --- Iteration 48 -- -bool(true) -100057 -bool(true) -40057 --- Iteration 49 -- -bool(true) -100060 -bool(true) -40060 --- Iteration 50 -- -bool(true) -100061 -bool(true) -40061 --- Iteration 51 -- -bool(true) -100062 -bool(true) -40062 --- Iteration 52 -- -bool(true) -100063 -bool(true) -40063 --- Iteration 53 -- -bool(true) -100064 -bool(true) -40064 --- Iteration 54 -- -bool(true) -100065 -bool(true) -40065 --- Iteration 55 -- -bool(true) -100066 -bool(true) -40066 --- Iteration 56 -- -bool(true) -100067 -bool(true) -40067 --- Iteration 57 -- -bool(true) -100070 -bool(true) -40070 --- Iteration 58 -- -bool(true) -100071 -bool(true) -40071 --- Iteration 59 -- -bool(true) -100072 -bool(true) -40072 --- Iteration 60 -- -bool(true) -100073 -bool(true) -40073 --- Iteration 61 -- -bool(true) -100074 -bool(true) -40074 --- Iteration 62 -- -bool(true) -100075 -bool(true) -40075 --- Iteration 63 -- -bool(true) -100076 -bool(true) -40076 --- Iteration 64 -- -bool(true) -100077 -bool(true) -40077 --- Iteration 65 -- -bool(true) -100100 -bool(true) -40100 --- Iteration 66 -- -bool(true) -100101 -bool(true) -40101 --- Iteration 67 -- -bool(true) -100102 -bool(true) -40102 --- Iteration 68 -- -bool(true) -100103 -bool(true) -40103 --- Iteration 69 -- -bool(true) -100104 -bool(true) -40104 --- Iteration 70 -- -bool(true) -100105 -bool(true) -40105 --- Iteration 71 -- -bool(true) -100106 -bool(true) -40106 --- Iteration 72 -- -bool(true) -100107 -bool(true) -40107 --- Iteration 73 -- -bool(true) -100110 -bool(true) -40110 --- Iteration 74 -- -bool(true) -100111 -bool(true) -40111 --- Iteration 75 -- -bool(true) -100112 -bool(true) -40112 --- Iteration 76 -- -bool(true) -100113 -bool(true) -40113 --- Iteration 77 -- -bool(true) -100114 -bool(true) -40114 --- Iteration 78 -- -bool(true) -100115 -bool(true) -40115 --- Iteration 79 -- -bool(true) -100116 -bool(true) -40116 --- Iteration 80 -- -bool(true) -100117 -bool(true) -40117 --- Iteration 81 -- -bool(true) -100120 -bool(true) -40120 --- Iteration 82 -- -bool(true) -100121 -bool(true) -40121 --- Iteration 83 -- -bool(true) -100122 -bool(true) -40122 --- Iteration 84 -- -bool(true) -100123 -bool(true) -40123 --- Iteration 85 -- -bool(true) -100124 -bool(true) -40124 --- Iteration 86 -- -bool(true) -100125 -bool(true) -40125 --- Iteration 87 -- -bool(true) -100126 -bool(true) -40126 --- Iteration 88 -- -bool(true) -100127 -bool(true) -40127 --- Iteration 89 -- -bool(true) -100130 -bool(true) -40130 --- Iteration 90 -- -bool(true) -100131 -bool(true) -40131 --- Iteration 91 -- -bool(true) -100132 -bool(true) -40132 --- Iteration 92 -- -bool(true) -100133 -bool(true) -40133 --- Iteration 93 -- -bool(true) -100134 -bool(true) -40134 --- Iteration 94 -- -bool(true) -100135 -bool(true) -40135 --- Iteration 95 -- -bool(true) -100136 -bool(true) -40136 --- Iteration 96 -- -bool(true) -100137 -bool(true) -40137 --- Iteration 97 -- -bool(true) -100140 -bool(true) -40140 --- Iteration 98 -- -bool(true) -100141 -bool(true) -40141 --- Iteration 99 -- -bool(true) -100142 -bool(true) -40142 --- Iteration 100 -- -bool(true) -100143 -bool(true) -40143 --- Iteration 101 -- -bool(true) -100144 -bool(true) -40144 --- Iteration 102 -- -bool(true) -100145 -bool(true) -40145 --- Iteration 103 -- -bool(true) -100146 -bool(true) -40146 --- Iteration 104 -- -bool(true) -100147 -bool(true) -40147 --- Iteration 105 -- -bool(true) -100150 -bool(true) -40150 --- Iteration 106 -- -bool(true) -100151 -bool(true) -40151 --- Iteration 107 -- -bool(true) -100152 -bool(true) -40152 --- Iteration 108 -- -bool(true) -100153 -bool(true) -40153 --- Iteration 109 -- -bool(true) -100154 -bool(true) -40154 --- Iteration 110 -- -bool(true) -100155 -bool(true) -40155 --- Iteration 111 -- -bool(true) -100156 -bool(true) -40156 --- Iteration 112 -- -bool(true) -100157 -bool(true) -40157 --- Iteration 113 -- -bool(true) -100160 -bool(true) -40160 --- Iteration 114 -- -bool(true) -100161 -bool(true) -40161 --- Iteration 115 -- -bool(true) -100162 -bool(true) -40162 --- Iteration 116 -- -bool(true) -100163 -bool(true) -40163 --- Iteration 117 -- -bool(true) -100164 -bool(true) -40164 --- Iteration 118 -- -bool(true) -100165 -bool(true) -40165 --- Iteration 119 -- -bool(true) -100166 -bool(true) -40166 --- Iteration 120 -- -bool(true) -100167 -bool(true) -40167 --- Iteration 121 -- -bool(true) -100170 -bool(true) -40170 --- Iteration 122 -- -bool(true) -100171 -bool(true) -40171 --- Iteration 123 -- -bool(true) -100172 -bool(true) -40172 --- Iteration 124 -- -bool(true) -100173 -bool(true) -40173 --- Iteration 125 -- -bool(true) -100174 -bool(true) -40174 --- Iteration 126 -- -bool(true) -100175 -bool(true) -40175 --- Iteration 127 -- -bool(true) -100176 -bool(true) -40176 --- Iteration 128 -- -bool(true) -100177 -bool(true) -40177 --- Iteration 129 -- -bool(true) -100200 -bool(true) -40200 --- Iteration 130 -- -bool(true) -100201 -bool(true) -40201 --- Iteration 131 -- -bool(true) -100202 -bool(true) -40202 --- Iteration 132 -- -bool(true) -100203 -bool(true) -40203 --- Iteration 133 -- -bool(true) -100204 -bool(true) -40204 --- Iteration 134 -- -bool(true) -100205 -bool(true) -40205 --- Iteration 135 -- -bool(true) -100206 -bool(true) -40206 --- Iteration 136 -- -bool(true) -100207 -bool(true) -40207 --- Iteration 137 -- -bool(true) -100210 -bool(true) -40210 --- Iteration 138 -- -bool(true) -100211 -bool(true) -40211 --- Iteration 139 -- -bool(true) -100212 -bool(true) -40212 --- Iteration 140 -- -bool(true) -100213 -bool(true) -40213 --- Iteration 141 -- -bool(true) -100214 -bool(true) -40214 --- Iteration 142 -- -bool(true) -100215 -bool(true) -40215 --- Iteration 143 -- -bool(true) -100216 -bool(true) -40216 --- Iteration 144 -- -bool(true) -100217 -bool(true) -40217 --- Iteration 145 -- -bool(true) -100220 -bool(true) -40220 --- Iteration 146 -- -bool(true) -100221 -bool(true) -40221 --- Iteration 147 -- -bool(true) -100222 -bool(true) -40222 --- Iteration 148 -- -bool(true) -100223 -bool(true) -40223 --- Iteration 149 -- -bool(true) -100224 -bool(true) -40224 --- Iteration 150 -- -bool(true) -100225 -bool(true) -40225 --- Iteration 151 -- -bool(true) -100226 -bool(true) -40226 --- Iteration 152 -- -bool(true) -100227 -bool(true) -40227 --- Iteration 153 -- -bool(true) -100230 -bool(true) -40230 --- Iteration 154 -- -bool(true) -100231 -bool(true) -40231 --- Iteration 155 -- -bool(true) -100232 -bool(true) -40232 --- Iteration 156 -- -bool(true) -100233 -bool(true) -40233 --- Iteration 157 -- -bool(true) -100234 -bool(true) -40234 --- Iteration 158 -- -bool(true) -100235 -bool(true) -40235 --- Iteration 159 -- -bool(true) -100236 -bool(true) -40236 --- Iteration 160 -- -bool(true) -100237 -bool(true) -40237 --- Iteration 161 -- -bool(true) -100240 -bool(true) -40240 --- Iteration 162 -- -bool(true) -100241 -bool(true) -40241 --- Iteration 163 -- -bool(true) -100242 -bool(true) -40242 --- Iteration 164 -- -bool(true) -100243 -bool(true) -40243 --- Iteration 165 -- -bool(true) -100244 -bool(true) -40244 --- Iteration 166 -- -bool(true) -100245 -bool(true) -40245 --- Iteration 167 -- -bool(true) -100246 -bool(true) -40246 --- Iteration 168 -- -bool(true) -100247 -bool(true) -40247 --- Iteration 169 -- -bool(true) -100250 -bool(true) -40250 --- Iteration 170 -- -bool(true) -100251 -bool(true) -40251 --- Iteration 171 -- -bool(true) -100252 -bool(true) -40252 --- Iteration 172 -- -bool(true) -100253 -bool(true) -40253 --- Iteration 173 -- -bool(true) -100254 -bool(true) -40254 --- Iteration 174 -- -bool(true) -100255 -bool(true) -40255 --- Iteration 175 -- -bool(true) -100256 -bool(true) -40256 --- Iteration 176 -- -bool(true) -100257 -bool(true) -40257 --- Iteration 177 -- -bool(true) -100260 -bool(true) -40260 --- Iteration 178 -- -bool(true) -100261 -bool(true) -40261 --- Iteration 179 -- -bool(true) -100262 -bool(true) -40262 --- Iteration 180 -- -bool(true) -100263 -bool(true) -40263 --- Iteration 181 -- -bool(true) -100264 -bool(true) -40264 --- Iteration 182 -- -bool(true) -100265 -bool(true) -40265 --- Iteration 183 -- -bool(true) -100266 -bool(true) -40266 --- Iteration 184 -- -bool(true) -100267 -bool(true) -40267 --- Iteration 185 -- -bool(true) -100270 -bool(true) -40270 --- Iteration 186 -- -bool(true) -100271 -bool(true) -40271 --- Iteration 187 -- -bool(true) -100272 -bool(true) -40272 --- Iteration 188 -- -bool(true) -100273 -bool(true) -40273 --- Iteration 189 -- -bool(true) -100274 -bool(true) -40274 --- Iteration 190 -- -bool(true) -100275 -bool(true) -40275 --- Iteration 191 -- -bool(true) -100276 -bool(true) -40276 --- Iteration 192 -- -bool(true) -100277 -bool(true) -40277 --- Iteration 193 -- -bool(true) -100300 -bool(true) -40300 --- Iteration 194 -- -bool(true) -100301 -bool(true) -40301 --- Iteration 195 -- -bool(true) -100302 -bool(true) -40302 --- Iteration 196 -- -bool(true) -100303 -bool(true) -40303 --- Iteration 197 -- -bool(true) -100304 -bool(true) -40304 --- Iteration 198 -- -bool(true) -100305 -bool(true) -40305 --- Iteration 199 -- -bool(true) -100306 -bool(true) -40306 --- Iteration 200 -- -bool(true) -100307 -bool(true) -40307 --- Iteration 201 -- -bool(true) -100310 -bool(true) -40310 --- Iteration 202 -- -bool(true) -100311 -bool(true) -40311 --- Iteration 203 -- -bool(true) -100312 -bool(true) -40312 --- Iteration 204 -- -bool(true) -100313 -bool(true) -40313 --- Iteration 205 -- -bool(true) -100314 -bool(true) -40314 --- Iteration 206 -- -bool(true) -100315 -bool(true) -40315 --- Iteration 207 -- -bool(true) -100316 -bool(true) -40316 --- Iteration 208 -- -bool(true) -100317 -bool(true) -40317 --- Iteration 209 -- -bool(true) -100320 -bool(true) -40320 --- Iteration 210 -- -bool(true) -100321 -bool(true) -40321 --- Iteration 211 -- -bool(true) -100322 -bool(true) -40322 --- Iteration 212 -- -bool(true) -100323 -bool(true) -40323 --- Iteration 213 -- -bool(true) -100324 -bool(true) -40324 --- Iteration 214 -- -bool(true) -100325 -bool(true) -40325 --- Iteration 215 -- -bool(true) -100326 -bool(true) -40326 --- Iteration 216 -- -bool(true) -100327 -bool(true) -40327 --- Iteration 217 -- -bool(true) -100330 -bool(true) -40330 --- Iteration 218 -- -bool(true) -100331 -bool(true) -40331 --- Iteration 219 -- -bool(true) -100332 -bool(true) -40332 --- Iteration 220 -- -bool(true) -100333 -bool(true) -40333 --- Iteration 221 -- -bool(true) -100334 -bool(true) -40334 --- Iteration 222 -- -bool(true) -100335 -bool(true) -40335 --- Iteration 223 -- -bool(true) -100336 -bool(true) -40336 --- Iteration 224 -- -bool(true) -100337 -bool(true) -40337 --- Iteration 225 -- -bool(true) -100340 -bool(true) -40340 --- Iteration 226 -- -bool(true) -100341 -bool(true) -40341 --- Iteration 227 -- -bool(true) -100342 -bool(true) -40342 --- Iteration 228 -- -bool(true) -100343 -bool(true) -40343 --- Iteration 229 -- -bool(true) -100344 -bool(true) -40344 --- Iteration 230 -- -bool(true) -100345 -bool(true) -40345 --- Iteration 231 -- -bool(true) -100346 -bool(true) -40346 --- Iteration 232 -- -bool(true) -100347 -bool(true) -40347 --- Iteration 233 -- -bool(true) -100350 -bool(true) -40350 --- Iteration 234 -- -bool(true) -100351 -bool(true) -40351 --- Iteration 235 -- -bool(true) -100352 -bool(true) -40352 --- Iteration 236 -- -bool(true) -100353 -bool(true) -40353 --- Iteration 237 -- -bool(true) -100354 -bool(true) -40354 --- Iteration 238 -- -bool(true) -100355 -bool(true) -40355 --- Iteration 239 -- -bool(true) -100356 -bool(true) -40356 --- Iteration 240 -- -bool(true) -100357 -bool(true) -40357 --- Iteration 241 -- -bool(true) -100360 -bool(true) -40360 --- Iteration 242 -- -bool(true) -100361 -bool(true) -40361 --- Iteration 243 -- -bool(true) -100362 -bool(true) -40362 --- Iteration 244 -- -bool(true) -100363 -bool(true) -40363 --- Iteration 245 -- -bool(true) -100364 -bool(true) -40364 --- Iteration 246 -- -bool(true) -100365 -bool(true) -40365 --- Iteration 247 -- -bool(true) -100366 -bool(true) -40366 --- Iteration 248 -- -bool(true) -100367 -bool(true) -40367 --- Iteration 249 -- -bool(true) -100370 -bool(true) -40370 --- Iteration 250 -- -bool(true) -100371 -bool(true) -40371 --- Iteration 251 -- -bool(true) -100372 -bool(true) -40372 --- Iteration 252 -- -bool(true) -100373 -bool(true) -40373 --- Iteration 253 -- -bool(true) -100374 -bool(true) -40374 --- Iteration 254 -- -bool(true) -100375 -bool(true) -40375 --- Iteration 255 -- -bool(true) -100376 -bool(true) -40376 --- Iteration 256 -- -bool(true) -100377 -bool(true) -40377 --- Iteration 257 -- -bool(true) -100400 -bool(true) -40400 --- Iteration 258 -- -bool(true) -100401 -bool(true) -40401 --- Iteration 259 -- -bool(true) -100402 -bool(true) -40402 --- Iteration 260 -- -bool(true) -100403 -bool(true) -40403 --- Iteration 261 -- -bool(true) -100404 -bool(true) -40404 --- Iteration 262 -- -bool(true) -100405 -bool(true) -40405 --- Iteration 263 -- -bool(true) -100406 -bool(true) -40406 --- Iteration 264 -- -bool(true) -100407 -bool(true) -40407 --- Iteration 265 -- -bool(true) -100410 -bool(true) -40410 --- Iteration 266 -- -bool(true) -100411 -bool(true) -40411 --- Iteration 267 -- -bool(true) -100412 -bool(true) -40412 --- Iteration 268 -- -bool(true) -100413 -bool(true) -40413 --- Iteration 269 -- -bool(true) -100414 -bool(true) -40414 --- Iteration 270 -- -bool(true) -100415 -bool(true) -40415 --- Iteration 271 -- -bool(true) -100416 -bool(true) -40416 --- Iteration 272 -- -bool(true) -100417 -bool(true) -40417 --- Iteration 273 -- -bool(true) -100420 -bool(true) -40420 --- Iteration 274 -- -bool(true) -100421 -bool(true) -40421 --- Iteration 275 -- -bool(true) -100422 -bool(true) -40422 --- Iteration 276 -- -bool(true) -100423 -bool(true) -40423 --- Iteration 277 -- -bool(true) -100424 -bool(true) -40424 --- Iteration 278 -- -bool(true) -100425 -bool(true) -40425 --- Iteration 279 -- -bool(true) -100426 -bool(true) -40426 --- Iteration 280 -- -bool(true) -100427 -bool(true) -40427 --- Iteration 281 -- -bool(true) -100430 -bool(true) -40430 --- Iteration 282 -- -bool(true) -100431 -bool(true) -40431 --- Iteration 283 -- -bool(true) -100432 -bool(true) -40432 --- Iteration 284 -- -bool(true) -100433 -bool(true) -40433 --- Iteration 285 -- -bool(true) -100434 -bool(true) -40434 --- Iteration 286 -- -bool(true) -100435 -bool(true) -40435 --- Iteration 287 -- -bool(true) -100436 -bool(true) -40436 --- Iteration 288 -- -bool(true) -100437 -bool(true) -40437 --- Iteration 289 -- -bool(true) -100440 -bool(true) -40440 --- Iteration 290 -- -bool(true) -100441 -bool(true) -40441 --- Iteration 291 -- -bool(true) -100442 -bool(true) -40442 --- Iteration 292 -- -bool(true) -100443 -bool(true) -40443 --- Iteration 293 -- -bool(true) -100444 -bool(true) -40444 --- Iteration 294 -- -bool(true) -100445 -bool(true) -40445 --- Iteration 295 -- -bool(true) -100446 -bool(true) -40446 --- Iteration 296 -- -bool(true) -100447 -bool(true) -40447 --- Iteration 297 -- -bool(true) -100450 -bool(true) -40450 --- Iteration 298 -- -bool(true) -100451 -bool(true) -40451 --- Iteration 299 -- -bool(true) -100452 -bool(true) -40452 --- Iteration 300 -- -bool(true) -100453 -bool(true) -40453 --- Iteration 301 -- -bool(true) -100454 -bool(true) -40454 --- Iteration 302 -- -bool(true) -100455 -bool(true) -40455 --- Iteration 303 -- -bool(true) -100456 -bool(true) -40456 --- Iteration 304 -- -bool(true) -100457 -bool(true) -40457 --- Iteration 305 -- -bool(true) -100460 -bool(true) -40460 --- Iteration 306 -- -bool(true) -100461 -bool(true) -40461 --- Iteration 307 -- -bool(true) -100462 -bool(true) -40462 --- Iteration 308 -- -bool(true) -100463 -bool(true) -40463 --- Iteration 309 -- -bool(true) -100464 -bool(true) -40464 --- Iteration 310 -- -bool(true) -100465 -bool(true) -40465 --- Iteration 311 -- -bool(true) -100466 -bool(true) -40466 --- Iteration 312 -- -bool(true) -100467 -bool(true) -40467 --- Iteration 313 -- -bool(true) -100470 -bool(true) -40470 --- Iteration 314 -- -bool(true) -100471 -bool(true) -40471 --- Iteration 315 -- -bool(true) -100472 -bool(true) -40472 --- Iteration 316 -- -bool(true) -100473 -bool(true) -40473 --- Iteration 317 -- -bool(true) -100474 -bool(true) -40474 --- Iteration 318 -- -bool(true) -100475 -bool(true) -40475 --- Iteration 319 -- -bool(true) -100476 -bool(true) -40476 --- Iteration 320 -- -bool(true) -100477 -bool(true) -40477 --- Iteration 321 -- -bool(true) -100500 -bool(true) -40500 --- Iteration 322 -- -bool(true) -100501 -bool(true) -40501 --- Iteration 323 -- -bool(true) -100502 -bool(true) -40502 --- Iteration 324 -- -bool(true) -100503 -bool(true) -40503 --- Iteration 325 -- -bool(true) -100504 -bool(true) -40504 --- Iteration 326 -- -bool(true) -100505 -bool(true) -40505 --- Iteration 327 -- -bool(true) -100506 -bool(true) -40506 --- Iteration 328 -- -bool(true) -100507 -bool(true) -40507 --- Iteration 329 -- -bool(true) -100510 -bool(true) -40510 --- Iteration 330 -- -bool(true) -100511 -bool(true) -40511 --- Iteration 331 -- -bool(true) -100512 -bool(true) -40512 --- Iteration 332 -- -bool(true) -100513 -bool(true) -40513 --- Iteration 333 -- -bool(true) -100514 -bool(true) -40514 --- Iteration 334 -- -bool(true) -100515 -bool(true) -40515 --- Iteration 335 -- -bool(true) -100516 -bool(true) -40516 --- Iteration 336 -- -bool(true) -100517 -bool(true) -40517 --- Iteration 337 -- -bool(true) -100520 -bool(true) -40520 --- Iteration 338 -- -bool(true) -100521 -bool(true) -40521 --- Iteration 339 -- -bool(true) -100522 -bool(true) -40522 --- Iteration 340 -- -bool(true) -100523 -bool(true) -40523 --- Iteration 341 -- -bool(true) -100524 -bool(true) -40524 --- Iteration 342 -- -bool(true) -100525 -bool(true) -40525 --- Iteration 343 -- -bool(true) -100526 -bool(true) -40526 --- Iteration 344 -- -bool(true) -100527 -bool(true) -40527 --- Iteration 345 -- -bool(true) -100530 -bool(true) -40530 --- Iteration 346 -- -bool(true) -100531 -bool(true) -40531 --- Iteration 347 -- -bool(true) -100532 -bool(true) -40532 --- Iteration 348 -- -bool(true) -100533 -bool(true) -40533 --- Iteration 349 -- -bool(true) -100534 -bool(true) -40534 --- Iteration 350 -- -bool(true) -100535 -bool(true) -40535 --- Iteration 351 -- -bool(true) -100536 -bool(true) -40536 --- Iteration 352 -- -bool(true) -100537 -bool(true) -40537 --- Iteration 353 -- -bool(true) -100540 -bool(true) -40540 --- Iteration 354 -- -bool(true) -100541 -bool(true) -40541 --- Iteration 355 -- -bool(true) -100542 -bool(true) -40542 --- Iteration 356 -- -bool(true) -100543 -bool(true) -40543 --- Iteration 357 -- -bool(true) -100544 -bool(true) -40544 --- Iteration 358 -- -bool(true) -100545 -bool(true) -40545 --- Iteration 359 -- -bool(true) -100546 -bool(true) -40546 --- Iteration 360 -- -bool(true) -100547 -bool(true) -40547 --- Iteration 361 -- -bool(true) -100550 -bool(true) -40550 --- Iteration 362 -- -bool(true) -100551 -bool(true) -40551 --- Iteration 363 -- -bool(true) -100552 -bool(true) -40552 --- Iteration 364 -- -bool(true) -100553 -bool(true) -40553 --- Iteration 365 -- -bool(true) -100554 -bool(true) -40554 --- Iteration 366 -- -bool(true) -100555 -bool(true) -40555 --- Iteration 367 -- -bool(true) -100556 -bool(true) -40556 --- Iteration 368 -- -bool(true) -100557 -bool(true) -40557 --- Iteration 369 -- -bool(true) -100560 -bool(true) -40560 --- Iteration 370 -- -bool(true) -100561 -bool(true) -40561 --- Iteration 371 -- -bool(true) -100562 -bool(true) -40562 --- Iteration 372 -- -bool(true) -100563 -bool(true) -40563 --- Iteration 373 -- -bool(true) -100564 -bool(true) -40564 --- Iteration 374 -- -bool(true) -100565 -bool(true) -40565 --- Iteration 375 -- -bool(true) -100566 -bool(true) -40566 --- Iteration 376 -- -bool(true) -100567 -bool(true) -40567 --- Iteration 377 -- -bool(true) -100570 -bool(true) -40570 --- Iteration 378 -- -bool(true) -100571 -bool(true) -40571 --- Iteration 379 -- -bool(true) -100572 -bool(true) -40572 --- Iteration 380 -- -bool(true) -100573 -bool(true) -40573 --- Iteration 381 -- -bool(true) -100574 -bool(true) -40574 --- Iteration 382 -- -bool(true) -100575 -bool(true) -40575 --- Iteration 383 -- -bool(true) -100576 -bool(true) -40576 --- Iteration 384 -- -bool(true) -100577 -bool(true) -40577 --- Iteration 385 -- -bool(true) -100600 -bool(true) -40600 --- Iteration 386 -- -bool(true) -100601 -bool(true) -40601 --- Iteration 387 -- -bool(true) -100602 -bool(true) -40602 --- Iteration 388 -- -bool(true) -100603 -bool(true) -40603 --- Iteration 389 -- -bool(true) -100604 -bool(true) -40604 --- Iteration 390 -- -bool(true) -100605 -bool(true) -40605 --- Iteration 391 -- -bool(true) -100606 -bool(true) -40606 --- Iteration 392 -- -bool(true) -100607 -bool(true) -40607 --- Iteration 393 -- -bool(true) -100610 -bool(true) -40610 --- Iteration 394 -- -bool(true) -100611 -bool(true) -40611 --- Iteration 395 -- -bool(true) -100612 -bool(true) -40612 --- Iteration 396 -- -bool(true) -100613 -bool(true) -40613 --- Iteration 397 -- -bool(true) -100614 -bool(true) -40614 --- Iteration 398 -- -bool(true) -100615 -bool(true) -40615 --- Iteration 399 -- -bool(true) -100616 -bool(true) -40616 --- Iteration 400 -- -bool(true) -100617 -bool(true) -40617 --- Iteration 401 -- -bool(true) -100620 -bool(true) -40620 --- Iteration 402 -- -bool(true) -100621 -bool(true) -40621 --- Iteration 403 -- -bool(true) -100622 -bool(true) -40622 --- Iteration 404 -- -bool(true) -100623 -bool(true) -40623 --- Iteration 405 -- -bool(true) -100624 -bool(true) -40624 --- Iteration 406 -- -bool(true) -100625 -bool(true) -40625 --- Iteration 407 -- -bool(true) -100626 -bool(true) -40626 --- Iteration 408 -- -bool(true) -100627 -bool(true) -40627 --- Iteration 409 -- -bool(true) -100630 -bool(true) -40630 --- Iteration 410 -- -bool(true) -100631 -bool(true) -40631 --- Iteration 411 -- -bool(true) -100632 -bool(true) -40632 --- Iteration 412 -- -bool(true) -100633 -bool(true) -40633 --- Iteration 413 -- -bool(true) -100634 -bool(true) -40634 --- Iteration 414 -- -bool(true) -100635 -bool(true) -40635 --- Iteration 415 -- -bool(true) -100636 -bool(true) -40636 --- Iteration 416 -- -bool(true) -100637 -bool(true) -40637 --- Iteration 417 -- -bool(true) -100640 -bool(true) -40640 --- Iteration 418 -- -bool(true) -100641 -bool(true) -40641 --- Iteration 419 -- -bool(true) -100642 -bool(true) -40642 --- Iteration 420 -- -bool(true) -100643 -bool(true) -40643 --- Iteration 421 -- -bool(true) -100644 -bool(true) -40644 --- Iteration 422 -- -bool(true) -100645 -bool(true) -40645 --- Iteration 423 -- -bool(true) -100646 -bool(true) -40646 --- Iteration 424 -- -bool(true) -100647 -bool(true) -40647 --- Iteration 425 -- -bool(true) -100650 -bool(true) -40650 --- Iteration 426 -- -bool(true) -100651 -bool(true) -40651 --- Iteration 427 -- -bool(true) -100652 -bool(true) -40652 --- Iteration 428 -- -bool(true) -100653 -bool(true) -40653 --- Iteration 429 -- -bool(true) -100654 -bool(true) -40654 --- Iteration 430 -- -bool(true) -100655 -bool(true) -40655 --- Iteration 431 -- -bool(true) -100656 -bool(true) -40656 --- Iteration 432 -- -bool(true) -100657 -bool(true) -40657 --- Iteration 433 -- -bool(true) -100660 -bool(true) -40660 --- Iteration 434 -- -bool(true) -100661 -bool(true) -40661 --- Iteration 435 -- -bool(true) -100662 -bool(true) -40662 --- Iteration 436 -- -bool(true) -100663 -bool(true) -40663 --- Iteration 437 -- -bool(true) -100664 -bool(true) -40664 --- Iteration 438 -- -bool(true) -100665 -bool(true) -40665 --- Iteration 439 -- -bool(true) -100666 -bool(true) -40666 --- Iteration 440 -- -bool(true) -100667 -bool(true) -40667 --- Iteration 441 -- -bool(true) -100670 -bool(true) -40670 --- Iteration 442 -- -bool(true) -100671 -bool(true) -40671 --- Iteration 443 -- -bool(true) -100672 -bool(true) -40672 --- Iteration 444 -- -bool(true) -100673 -bool(true) -40673 --- Iteration 445 -- -bool(true) -100674 -bool(true) -40674 --- Iteration 446 -- -bool(true) -100675 -bool(true) -40675 --- Iteration 447 -- -bool(true) -100676 -bool(true) -40676 --- Iteration 448 -- -bool(true) -100677 -bool(true) -40677 --- Iteration 449 -- -bool(true) -100700 -bool(true) -40700 --- Iteration 450 -- -bool(true) -100701 -bool(true) -40701 --- Iteration 451 -- -bool(true) -100702 -bool(true) -40702 --- Iteration 452 -- -bool(true) -100703 -bool(true) -40703 --- Iteration 453 -- -bool(true) -100704 -bool(true) -40704 --- Iteration 454 -- -bool(true) -100705 -bool(true) -40705 --- Iteration 455 -- -bool(true) -100706 -bool(true) -40706 --- Iteration 456 -- -bool(true) -100707 -bool(true) -40707 --- Iteration 457 -- -bool(true) -100710 -bool(true) -40710 --- Iteration 458 -- -bool(true) -100711 -bool(true) -40711 --- Iteration 459 -- -bool(true) -100712 -bool(true) -40712 --- Iteration 460 -- -bool(true) -100713 -bool(true) -40713 --- Iteration 461 -- -bool(true) -100714 -bool(true) -40714 --- Iteration 462 -- -bool(true) -100715 -bool(true) -40715 --- Iteration 463 -- -bool(true) -100716 -bool(true) -40716 --- Iteration 464 -- -bool(true) -100717 -bool(true) -40717 --- Iteration 465 -- -bool(true) -100720 -bool(true) -40720 --- Iteration 466 -- -bool(true) -100721 -bool(true) -40721 --- Iteration 467 -- -bool(true) -100722 -bool(true) -40722 --- Iteration 468 -- -bool(true) -100723 -bool(true) -40723 --- Iteration 469 -- -bool(true) -100724 -bool(true) -40724 --- Iteration 470 -- -bool(true) -100725 -bool(true) -40725 --- Iteration 471 -- -bool(true) -100726 -bool(true) -40726 --- Iteration 472 -- -bool(true) -100727 -bool(true) -40727 --- Iteration 473 -- -bool(true) -100730 -bool(true) -40730 --- Iteration 474 -- -bool(true) -100731 -bool(true) -40731 --- Iteration 475 -- -bool(true) -100732 -bool(true) -40732 --- Iteration 476 -- -bool(true) -100733 -bool(true) -40733 --- Iteration 477 -- -bool(true) -100734 -bool(true) -40734 --- Iteration 478 -- -bool(true) -100735 -bool(true) -40735 --- Iteration 479 -- -bool(true) -100736 -bool(true) -40736 --- Iteration 480 -- -bool(true) -100737 -bool(true) -40737 --- Iteration 481 -- -bool(true) -100740 -bool(true) -40740 --- Iteration 482 -- -bool(true) -100741 -bool(true) -40741 --- Iteration 483 -- -bool(true) -100742 -bool(true) -40742 --- Iteration 484 -- -bool(true) -100743 -bool(true) -40743 --- Iteration 485 -- -bool(true) -100744 -bool(true) -40744 --- Iteration 486 -- -bool(true) -100745 -bool(true) -40745 --- Iteration 487 -- -bool(true) -100746 -bool(true) -40746 --- Iteration 488 -- -bool(true) -100747 -bool(true) -40747 --- Iteration 489 -- -bool(true) -100750 -bool(true) -40750 --- Iteration 490 -- -bool(true) -100751 -bool(true) -40751 --- Iteration 491 -- -bool(true) -100752 -bool(true) -40752 --- Iteration 492 -- -bool(true) -100753 -bool(true) -40753 --- Iteration 493 -- -bool(true) -100754 -bool(true) -40754 --- Iteration 494 -- -bool(true) -100755 -bool(true) -40755 --- Iteration 495 -- -bool(true) -100756 -bool(true) -40756 --- Iteration 496 -- -bool(true) -100757 -bool(true) -40757 --- Iteration 497 -- -bool(true) -100760 -bool(true) -40760 --- Iteration 498 -- -bool(true) -100761 -bool(true) -40761 --- Iteration 499 -- -bool(true) -100762 -bool(true) -40762 --- Iteration 500 -- -bool(true) -100763 -bool(true) -40763 --- Iteration 501 -- -bool(true) -100764 -bool(true) -40764 --- Iteration 502 -- -bool(true) -100765 -bool(true) -40765 --- Iteration 503 -- -bool(true) -100766 -bool(true) -40766 --- Iteration 504 -- -bool(true) -100767 -bool(true) -40767 --- Iteration 505 -- -bool(true) -100770 -bool(true) -40770 --- Iteration 506 -- -bool(true) -100771 -bool(true) -40771 --- Iteration 507 -- -bool(true) -100772 -bool(true) -40772 --- Iteration 508 -- -bool(true) -100773 -bool(true) -40773 --- Iteration 509 -- -bool(true) -100774 -bool(true) -40774 --- Iteration 510 -- -bool(true) -100775 -bool(true) -40775 --- Iteration 511 -- -bool(true) -100776 -bool(true) -40776 --- Iteration 512 -- -bool(true) -100777 -bool(true) -40777 -*** Done *** ---UEXPECTF-- +--EXPECT-- *** Testing fileperms() & chmod() : usage variations *** -- Testing all permission from octal 0000 to octal 0777 on file and dir -- -- Iteration 1 -- diff --git a/ext/standard/tests/file/006_variation2.phpt b/ext/standard/tests/file/006_variation2.phpt index dbd6435fbc..33f31f527d 100644 --- a/ext/standard/tests/file/006_variation2.phpt +++ b/ext/standard/tests/file/006_variation2.phpt @@ -88,103 +88,7 @@ chmod(dirname(__FILE__)."/006_variation2", 0777); unlink(dirname(__FILE__)."/006_variation2.tmp"); rmdir(dirname(__FILE__)."/006_variation2"); ?> ---EXPECTF-- -*** Testing fileperms() & chmod() : usage variations *** - -*** Testing fileperms(), chmod() with miscellaneous permissions *** --- Iteration 1 -- -bool(true) -107777 -bool(true) -47777 --- Iteration 2 -- -bool(true) -100000 -bool(true) -40000 --- Iteration 3 -- -bool(true) -101000 -bool(true) -41000 --- Iteration 4 -- -bool(true) -101111 -bool(true) -41111 --- Iteration 5 -- -bool(true) -107001 -bool(true) -47001 --- Iteration 6 -- -bool(true) -100001 -bool(true) -40001 --- Iteration 7 -- -bool(true) -101411 -bool(true) -41411 --- Iteration 8 -- -bool(true) -107141 -bool(true) -47141 --- Iteration 9 -- -bool(true) -100637 -bool(true) -40637 --- Iteration 10 -- -bool(true) -103567 -bool(true) -43567 --- Iteration 11 -- -bool(true) -103567 -bool(true) -43567 --- Iteration 12 -- - -Warning: chmod() expects parameter 2 to be long, string given in %s on line %d -NULL -103567 - -Warning: chmod() expects parameter 2 to be long, string given in %s on line %d -NULL -43567 --- Iteration 13 -- - -Warning: chmod() expects parameter 2 to be long, string given in %s on line %d -NULL -103567 - -Warning: chmod() expects parameter 2 to be long, string given in %s on line %d -NULL -43567 --- Iteration 14 -- - -Warning: chmod() expects parameter 2 to be long, string given in %s on line %d -NULL -103567 - -Warning: chmod() expects parameter 2 to be long, string given in %s on line %d -NULL -43567 --- Iteration 15 -- - -Warning: chmod() expects parameter 2 to be long, string given in %s on line %d -NULL -103567 - -Warning: chmod() expects parameter 2 to be long, string given in %s on line %d -NULL -43567 -*** Done *** ---UEXPECTF-- +--EXPECTF-- *** Testing fileperms() & chmod() : usage variations *** *** Testing fileperms(), chmod() with miscellaneous permissions *** diff --git a/ext/standard/tests/file/007_basic.phpt b/ext/standard/tests/file/007_basic.phpt index a1a89f046c..eafadf7c55 100644 --- a/ext/standard/tests/file/007_basic.phpt +++ b/ext/standard/tests/file/007_basic.phpt @@ -410,325 +410,3 @@ bool(false) resource(%d) of type (Unknown) *** Done *** ---UEXPECTF-- -*** Testing basic operations of fopen() and fclose() functions *** - --- Iteration with mode 'w' -- -resource(%d) of type (stream) -int(0) -bool(false) -bool(true) -resource(%d) of type (Unknown) - -Warning: ftell(): %d is not a valid stream resource in %s on line %d -bool(false) - -Warning: feof(): %d is not a valid stream resource in %s on line %d -bool(false) - --- Iteration with mode 'wb' -- -resource(%d) of type (stream) -int(0) -bool(false) -bool(true) -resource(%d) of type (Unknown) - -Warning: ftell(): %d is not a valid stream resource in %s on line %d -bool(false) - -Warning: feof(): %d is not a valid stream resource in %s on line %d -bool(false) - --- Iteration with mode 'wt' -- -resource(%d) of type (stream) -int(0) -bool(false) -bool(true) -resource(%d) of type (Unknown) - -Warning: ftell(): %d is not a valid stream resource in %s on line %d -bool(false) - -Warning: feof(): %d is not a valid stream resource in %s on line %d -bool(false) - --- Iteration with mode 'w+' -- -resource(%d) of type (stream) -int(0) -bool(false) -bool(true) -resource(%d) of type (Unknown) - -Warning: ftell(): %d is not a valid stream resource in %s on line %d -bool(false) - -Warning: feof(): %d is not a valid stream resource in %s on line %d -bool(false) - --- Iteration with mode 'w+b' -- -resource(%d) of type (stream) -int(0) -bool(false) -bool(true) -resource(%d) of type (Unknown) - -Warning: ftell(): %d is not a valid stream resource in %s on line %d -bool(false) - -Warning: feof(): %d is not a valid stream resource in %s on line %d -bool(false) - --- Iteration with mode 'w+t' -- -resource(%d) of type (stream) -int(0) -bool(false) -bool(true) -resource(%d) of type (Unknown) - -Warning: ftell(): %d is not a valid stream resource in %s on line %d -bool(false) - -Warning: feof(): %d is not a valid stream resource in %s on line %d -bool(false) - --- Iteration with mode 'r' -- -resource(%d) of type (stream) -int(0) -bool(false) -bool(true) -resource(%d) of type (Unknown) - -Warning: ftell(): %d is not a valid stream resource in %s on line %d -bool(false) - -Warning: feof(): %d is not a valid stream resource in %s on line %d -bool(false) - --- Iteration with mode 'rb' -- -resource(%d) of type (stream) -int(0) -bool(false) -bool(true) -resource(%d) of type (Unknown) - -Warning: ftell(): %d is not a valid stream resource in %s on line %d -bool(false) - -Warning: feof(): %d is not a valid stream resource in %s on line %d -bool(false) - --- Iteration with mode 'rt' -- -resource(%d) of type (stream) -int(0) -bool(false) -bool(true) -resource(%d) of type (Unknown) - -Warning: ftell(): %d is not a valid stream resource in %s on line %d -bool(false) - -Warning: feof(): %d is not a valid stream resource in %s on line %d -bool(false) - --- Iteration with mode 'r+' -- -resource(%d) of type (stream) -int(0) -bool(false) -bool(true) -resource(%d) of type (Unknown) - -Warning: ftell(): %d is not a valid stream resource in %s on line %d -bool(false) - -Warning: feof(): %d is not a valid stream resource in %s on line %d -bool(false) - --- Iteration with mode 'r+b' -- -resource(%d) of type (stream) -int(0) -bool(false) -bool(true) -resource(%d) of type (Unknown) - -Warning: ftell(): %d is not a valid stream resource in %s on line %d -bool(false) - -Warning: feof(): %d is not a valid stream resource in %s on line %d -bool(false) - --- Iteration with mode 'r+t' -- -resource(%d) of type (stream) -int(0) -bool(false) -bool(true) -resource(%d) of type (Unknown) - -Warning: ftell(): %d is not a valid stream resource in %s on line %d -bool(false) - -Warning: feof(): %d is not a valid stream resource in %s on line %d -bool(false) - --- Iteration with mode 'a' -- -resource(%d) of type (stream) -int(0) -bool(false) -bool(true) -resource(%d) of type (Unknown) - -Warning: ftell(): %d is not a valid stream resource in %s on line %d -bool(false) - -Warning: feof(): %d is not a valid stream resource in %s on line %d -bool(false) - --- Iteration with mode 'ab' -- -resource(%d) of type (stream) -int(0) -bool(false) -bool(true) -resource(%d) of type (Unknown) - -Warning: ftell(): %d is not a valid stream resource in %s on line %d -bool(false) - -Warning: feof(): %d is not a valid stream resource in %s on line %d -bool(false) - --- Iteration with mode 'at' -- -resource(%d) of type (stream) -int(0) -bool(false) -bool(true) -resource(%d) of type (Unknown) - -Warning: ftell(): %d is not a valid stream resource in %s on line %d -bool(false) - -Warning: feof(): %d is not a valid stream resource in %s on line %d -bool(false) - --- Iteration with mode 'a+' -- -resource(%d) of type (stream) -int(0) -bool(false) -bool(true) -resource(%d) of type (Unknown) - -Warning: ftell(): %d is not a valid stream resource in %s on line %d -bool(false) - -Warning: feof(): %d is not a valid stream resource in %s on line %d -bool(false) - --- Iteration with mode 'a+t' -- -resource(%d) of type (stream) -int(0) -bool(false) -bool(true) -resource(%d) of type (Unknown) - -Warning: ftell(): %d is not a valid stream resource in %s on line %d -bool(false) - -Warning: feof(): %d is not a valid stream resource in %s on line %d -bool(false) - --- Iteration with mode 'a+b' -- -resource(%d) of type (stream) -int(0) -bool(false) -bool(true) -resource(%d) of type (Unknown) - -Warning: ftell(): %d is not a valid stream resource in %s on line %d -bool(false) - -Warning: feof(): %d is not a valid stream resource in %s on line %d -bool(false) - --- Iteration with mode 'x' -- -resource(%d) of type (stream) -int(0) -bool(false) -bool(true) -resource(%d) of type (Unknown) - -Warning: ftell(): %d is not a valid stream resource in %s on line %d -bool(false) - -Warning: feof(): %d is not a valid stream resource in %s on line %d -bool(false) -resource(%d) of type (Unknown) - --- Iteration with mode 'xb' -- -resource(%d) of type (stream) -int(0) -bool(false) -bool(true) -resource(%d) of type (Unknown) - -Warning: ftell(): %d is not a valid stream resource in %s on line %d -bool(false) - -Warning: feof(): %d is not a valid stream resource in %s on line %d -bool(false) -resource(%d) of type (Unknown) - --- Iteration with mode 'xt' -- -resource(%d) of type (stream) -int(0) -bool(false) -bool(true) -resource(%d) of type (Unknown) - -Warning: ftell(): %d is not a valid stream resource in %s on line %d -bool(false) - -Warning: feof(): %d is not a valid stream resource in %s on line %d -bool(false) -resource(%d) of type (Unknown) - --- Iteration with mode 'x+' -- -resource(%d) of type (stream) -int(0) -bool(false) -bool(true) -resource(%d) of type (Unknown) - -Warning: ftell(): %d is not a valid stream resource in %s on line %d -bool(false) - -Warning: feof(): %d is not a valid stream resource in %s on line %d -bool(false) -resource(%d) of type (Unknown) - --- Iteration with mode 'x+b' -- -resource(%d) of type (stream) -int(0) -bool(false) -bool(true) -resource(%d) of type (Unknown) - -Warning: ftell(): %d is not a valid stream resource in %s on line %d -bool(false) - -Warning: feof(): %d is not a valid stream resource in %s on line %d -bool(false) -resource(%d) of type (Unknown) - --- Iteration with mode 'x+t' -- -resource(%d) of type (stream) -int(0) -bool(false) -bool(true) -resource(%d) of type (Unknown) - -Warning: ftell(): %d is not a valid stream resource in %s on line %d -bool(false) - -Warning: feof(): %d is not a valid stream resource in %s on line %d -bool(false) -resource(%d) of type (Unknown) - -*** Done *** diff --git a/ext/standard/tests/file/007_error.phpt b/ext/standard/tests/file/007_error.phpt index 73bdfc93bf..8b0d07af8f 100644 --- a/ext/standard/tests/file/007_error.phpt +++ b/ext/standard/tests/file/007_error.phpt @@ -169,107 +169,3 @@ bool(false) Warning: feof(): supplied argument is not a valid stream resource in %s on line %d bool(false) ---UEXPECTF-- -*** Testing error conditions for fopen(), fclsoe() & feof() *** - -Warning: fopen() expects at least 2 parameters, 1 given in %s on line %d -bool(false) - -Warning: fopen() expects at least 2 parameters, 0 given in %s on line %d -bool(false) - -Warning: fclose(): 5 is not a valid stream resource in %s on line %d -bool(false) - -Warning: fclose(): supplied argument is not a valid stream resource in %s on line %d -bool(false) - -Warning: Wrong parameter count for fclose() in %s on line %d -NULL - -Warning: feof(): 5 is not a valid stream resource in %s on line %d -bool(false) - -Warning: feof(): supplied argument is not a valid stream resource in %s on line %d -bool(false) - -Warning: Wrong parameter count for feof() in %s on line %d -NULL - -Warning: fopen() expects at most 4 parameters, 5 given in %s on line %d -bool(false) - -Warning: Wrong parameter count for fclose() in %s on line %d -NULL - -Warning: Wrong parameter count for feof() in %s on line %d -NULL --- Testing fopen(), fclose() & feof() with invalid arguments -- --- Iteration 1 -- - -Warning: fopen(string): failed to open stream: No such file or directory in %s on line %d -bool(false) - -Warning: fclose(): supplied argument is not a valid stream resource in %s on line %d -bool(false) - -Warning: feof(): supplied argument is not a valid stream resource in %s on line %d -bool(false) --- Iteration 2 -- - -Warning: fopen(10): failed to open stream: No such file or directory in %s on line %d -bool(false) - -Warning: fclose(): supplied argument is not a valid stream resource in %s on line %d -bool(false) - -Warning: feof(): supplied argument is not a valid stream resource in %s on line %d -bool(false) --- Iteration 3 -- - -Warning: fopen(10.5): failed to open stream: No such file or directory in %s on line %d -bool(false) - -Warning: fclose(): supplied argument is not a valid stream resource in %s on line %d -bool(false) - -Warning: feof(): supplied argument is not a valid stream resource in %s on line %d -bool(false) --- Iteration 4 -- - -Warning: fopen(1): failed to open stream: No such file or directory in %s on line %d -bool(false) - -Warning: fclose(): supplied argument is not a valid stream resource in %s on line %d -bool(false) - -Warning: feof(): supplied argument is not a valid stream resource in %s on line %d -bool(false) --- Iteration 5 -- - -Notice: Array to string conversion in %s on line %d - -Warning: fopen(Array): failed to open stream: No such file or directory in %s on line %d -bool(false) - -Warning: fclose(): supplied argument is not a valid stream resource in %s on line %d -bool(false) - -Warning: feof(): supplied argument is not a valid stream resource in %s on line %d -bool(false) --- Iteration 6 -- -bool(false) - -Warning: fclose(): supplied argument is not a valid stream resource in %s on line %d -bool(false) - -Warning: feof(): supplied argument is not a valid stream resource in %s on line %d -bool(false) --- Iteration 7 -- -bool(false) - -Warning: fclose(): supplied argument is not a valid stream resource in %s on line %d -bool(false) - -Warning: feof(): supplied argument is not a valid stream resource in %s on line %d -bool(false) diff --git a/ext/standard/tests/file/007_variation1.phpt b/ext/standard/tests/file/007_variation1.phpt index 685ce64e90..0cb883d19c 100644 --- a/ext/standard/tests/file/007_variation1.phpt +++ b/ext/standard/tests/file/007_variation1.phpt @@ -43,18 +43,6 @@ unlink(dirname(__FILE__)."/007_variation1.tmp"); --EXPECTF-- *** Test fopen() & fclose() functions: with 'r' mode *** resource(%d) of type (stream) -string(6) "stream" -int(0) -string(20) "line -line of text -li" -int(0) -bool(true) -string(7) "Unknown" -*** Done *** ---UEXPECTF-- -*** Test fopen() & fclose() functions: with 'r' mode *** -resource(%d) of type (stream) unicode(6) "stream" int(0) string(20) "line diff --git a/ext/standard/tests/file/007_variation10.phpt b/ext/standard/tests/file/007_variation10.phpt index aafa8afc17..f428576261 100644 --- a/ext/standard/tests/file/007_variation10.phpt +++ b/ext/standard/tests/file/007_variation10.phpt @@ -45,20 +45,6 @@ unlink(dirname(__FILE__)."/007_variation10.tmp"); --EXPECTF-- *** Test fopen() & fclose() functions: with 'r+t' mode *** resource(%d) of type (stream) -string(6) "stream" -int(0) -string(20) "line -line of text -li" -int(20) -int(37) -int(57) -bool(true) -string(7) "Unknown" -*** Done *** ---UEXPECTF-- -*** Test fopen() & fclose() functions: with 'r+t' mode *** -resource(%d) of type (stream) unicode(6) "stream" int(0) unicode(20) "line @@ -69,4 +55,4 @@ int(37) int(57) bool(true) unicode(7) "Unknown" -*** Done *** \ No newline at end of file +*** Done *** diff --git a/ext/standard/tests/file/007_variation11-win32.phpt b/ext/standard/tests/file/007_variation11-win32.phpt index a1426f3691..6df6593757 100644 --- a/ext/standard/tests/file/007_variation11-win32.phpt +++ b/ext/standard/tests/file/007_variation11-win32.phpt @@ -62,21 +62,6 @@ unlink(dirname(__FILE__)."/007_variation11.tmp"); --EXPECTF-- *** Test fopen() & fclose() functions: with 'wt' mode *** resource(%d) of type (stream) -string(6) "stream" -int(0) -int(37) -int(37) -bool(false) -int(0) -bool(true) -string(7) "Unknown" -int(39) -int(0) -bool(true) -*** Done *** ---UEXPECTF-- -*** Test fopen() & fclose() functions: with 'wt' mode *** -resource(%d) of type (stream) unicode(6) "stream" int(0) int(37) diff --git a/ext/standard/tests/file/007_variation11.phpt b/ext/standard/tests/file/007_variation11.phpt index 4414d63283..cdb8090c02 100644 --- a/ext/standard/tests/file/007_variation11.phpt +++ b/ext/standard/tests/file/007_variation11.phpt @@ -62,21 +62,6 @@ unlink(dirname(__FILE__)."/007_variation11.tmp"); --EXPECTF-- *** Test fopen() & fclose() functions: with 'wt' mode *** resource(%d) of type (stream) -string(6) "stream" -int(0) -int(37) -int(37) -bool(false) -int(0) -bool(true) -string(7) "Unknown" -int(37) -int(0) -bool(true) -*** Done *** ---UEXPECTF-- -*** Test fopen() & fclose() functions: with 'wt' mode *** -resource(%d) of type (stream) unicode(6) "stream" int(0) int(37) diff --git a/ext/standard/tests/file/007_variation12-win32.phpt b/ext/standard/tests/file/007_variation12-win32.phpt index 47602d8373..87bbb1b6b7 100644 --- a/ext/standard/tests/file/007_variation12-win32.phpt +++ b/ext/standard/tests/file/007_variation12-win32.phpt @@ -62,23 +62,6 @@ unlink(dirname(__FILE__)."/007_variation12.tmp"); --EXPECTF-- *** Test fopen() & fclose() functions: with 'w+t' mode *** resource(%d) of type (stream) -string(6) "stream" -int(0) -int(37) -int(37) -string(37) "abcdefghij -mnopqrst uvwxyz -0123456789" -int(37) -bool(true) -string(7) "Unknown" -int(39) -int(0) -bool(true) -*** Done *** ---UEXPECTF-- -*** Test fopen() & fclose() functions: with 'w+t' mode *** -resource(%d) of type (stream) unicode(6) "stream" int(0) int(37) diff --git a/ext/standard/tests/file/007_variation12.phpt b/ext/standard/tests/file/007_variation12.phpt index e3c63137ff..7594a479fd 100644 --- a/ext/standard/tests/file/007_variation12.phpt +++ b/ext/standard/tests/file/007_variation12.phpt @@ -62,23 +62,6 @@ unlink(dirname(__FILE__)."/007_variation12.tmp"); --EXPECTF-- *** Test fopen() & fclose() functions: with 'w+t' mode *** resource(%d) of type (stream) -string(6) "stream" -int(0) -int(37) -int(37) -string(37) "abcdefghij -mnopqrst uvwxyz -0123456789" -int(37) -bool(true) -string(7) "Unknown" -int(37) -int(0) -bool(true) -*** Done *** ---UEXPECTF-- -*** Test fopen() & fclose() functions: with 'w+t' mode *** -resource(%d) of type (stream) unicode(6) "stream" int(0) int(37) diff --git a/ext/standard/tests/file/007_variation13-win32.phpt b/ext/standard/tests/file/007_variation13-win32.phpt index 8353bae0a2..def5bc0212 100644 --- a/ext/standard/tests/file/007_variation13-win32.phpt +++ b/ext/standard/tests/file/007_variation13-win32.phpt @@ -54,18 +54,6 @@ unlink(dirname(__FILE__)."/007_variation13.tmp"); --EXPECTF-- *** Test fopen() & fclose() functions: with 'at' mode *** resource(%d) of type (stream) -string(6) "stream" -int(37) -bool(false) -int(0) -bool(true) -string(7) "Unknown" -int(59) -bool(true) -*** Done *** ---UEXPECTF-- -*** Test fopen() & fclose() functions: with 'at' mode *** -resource(%d) of type (stream) unicode(6) "stream" int(37) bool(false) diff --git a/ext/standard/tests/file/007_variation13.phpt b/ext/standard/tests/file/007_variation13.phpt index 5fc147fc1b..827e015784 100644 --- a/ext/standard/tests/file/007_variation13.phpt +++ b/ext/standard/tests/file/007_variation13.phpt @@ -54,18 +54,6 @@ unlink(dirname(__FILE__)."/007_variation13.tmp"); --EXPECTF-- *** Test fopen() & fclose() functions: with 'at' mode *** resource(%d) of type (stream) -string(6) "stream" -int(37) -bool(false) -int(0) -bool(true) -string(7) "Unknown" -int(57) -bool(true) -*** Done *** ---UEXPECTF-- -*** Test fopen() & fclose() functions: with 'at' mode *** -resource(%d) of type (stream) unicode(6) "stream" int(37) bool(false) diff --git a/ext/standard/tests/file/007_variation14.phpt b/ext/standard/tests/file/007_variation14.phpt index 281861d238..187b122ceb 100644 --- a/ext/standard/tests/file/007_variation14.phpt +++ b/ext/standard/tests/file/007_variation14.phpt @@ -48,21 +48,6 @@ unlink(dirname(__FILE__)."/007_variation14.tmp"); --EXPECTF-- *** Test fopen() & fclose() functions: with 'a+t' mode *** resource(%d) of type (stream) -string(6) "stream" -int(37) -string(57) "line -line of text -liabcdefghij -mnopqrst uvwxyz -0123456789" -int(57) -bool(true) -string(7) "Unknown" -bool(true) -*** Done *** ---UEXPECTF-- -*** Test fopen() & fclose() functions: with 'a+t' mode *** -resource(%d) of type (stream) unicode(6) "stream" int(37) unicode(57) "line diff --git a/ext/standard/tests/file/007_variation15.phpt b/ext/standard/tests/file/007_variation15.phpt index 33d5623213..785ad924ea 100644 --- a/ext/standard/tests/file/007_variation15.phpt +++ b/ext/standard/tests/file/007_variation15.phpt @@ -45,20 +45,6 @@ unlink(dirname(__FILE__)."/007_variation15.tmp"); --EXPECTF-- *** Test fopen() & fclose() functions: with 'xt' mode *** resource(%d) of type (stream) -string(6) "stream" -int(0) -int(37) -int(37) -bool(false) -int(0) -bool(true) -string(7) "Unknown" - -Warning: fopen(%s): failed to open stream: File exists in %s on line %d -*** Done *** ---UEXPECTF-- -*** Test fopen() & fclose() functions: with 'xt' mode *** -resource(%d) of type (stream) unicode(6) "stream" int(0) diff --git a/ext/standard/tests/file/007_variation16.phpt b/ext/standard/tests/file/007_variation16.phpt index ed4a3fb08c..db18ac4fb5 100644 --- a/ext/standard/tests/file/007_variation16.phpt +++ b/ext/standard/tests/file/007_variation16.phpt @@ -45,22 +45,6 @@ unlink(dirname(__FILE__)."/007_variation16.tmp"); --EXPECTF-- *** Test fopen() & fclose() functions: with 'x+t' mode *** resource(%d) of type (stream) -string(6) "stream" -int(0) -int(37) -int(37) -string(37) "abcdefghij -mnopqrst uvwxyz -0123456789" -int(37) -bool(true) -string(7) "Unknown" - -Warning: fopen(%s): failed to open stream: File exists in %s on line %d -*** Done *** ---UEXPECTF-- -*** Test fopen() & fclose() functions: with 'x+t' mode *** -resource(%d) of type (stream) unicode(6) "stream" int(0) int(37) diff --git a/ext/standard/tests/file/007_variation17.phpt b/ext/standard/tests/file/007_variation17.phpt index db088f80b0..87f041bda3 100644 --- a/ext/standard/tests/file/007_variation17.phpt +++ b/ext/standard/tests/file/007_variation17.phpt @@ -43,18 +43,6 @@ unlink(dirname(__FILE__)."/007_variation17.tmp"); --EXPECTF-- *** Test fopen() & fclose() functions: with 'rb' mode *** resource(%d) of type (stream) -string(6) "stream" -int(0) -string(20) "line -line of text -li" -int(0) -bool(true) -string(7) "Unknown" -*** Done *** ---UEXPECTF-- -*** Test fopen() & fclose() functions: with 'rb' mode *** -resource(%d) of type (stream) unicode(6) "stream" int(0) string(20) "line diff --git a/ext/standard/tests/file/007_variation18.phpt b/ext/standard/tests/file/007_variation18.phpt index 71c0273a7c..7562c42aa4 100644 --- a/ext/standard/tests/file/007_variation18.phpt +++ b/ext/standard/tests/file/007_variation18.phpt @@ -45,20 +45,6 @@ unlink(dirname(__FILE__)."/007_variation18.tmp"); --EXPECTF-- *** Test fopen() & fclose() functions: with 'r+b' mode *** resource(%d) of type (stream) -string(6) "stream" -int(0) -string(20) "line -line of text -li" -int(20) -int(37) -int(57) -bool(true) -string(7) "Unknown" -*** Done *** ---UEXPECTF-- -*** Test fopen() & fclose() functions: with 'r+b' mode *** -resource(%d) of type (stream) unicode(6) "stream" int(0) string(20) "line diff --git a/ext/standard/tests/file/007_variation19.phpt b/ext/standard/tests/file/007_variation19.phpt index b4e9c9919a..941db60cf6 100644 --- a/ext/standard/tests/file/007_variation19.phpt +++ b/ext/standard/tests/file/007_variation19.phpt @@ -57,21 +57,6 @@ unlink(dirname(__FILE__)."/007_variation19.tmp"); --EXPECTF-- *** Test fopen() & fclose() functions: with 'wb' mode *** resource(%d) of type (stream) -string(6) "stream" -int(0) -int(37) -int(37) -bool(false) -int(0) -bool(true) -string(7) "Unknown" -int(37) -int(0) -bool(true) -*** Done *** ---UEXPECTF-- -*** Test fopen() & fclose() functions: with 'wb' mode *** -resource(%d) of type (stream) unicode(6) "stream" int(0) diff --git a/ext/standard/tests/file/007_variation2.phpt b/ext/standard/tests/file/007_variation2.phpt index a48d09c080..1f633ccc6d 100644 --- a/ext/standard/tests/file/007_variation2.phpt +++ b/ext/standard/tests/file/007_variation2.phpt @@ -45,20 +45,6 @@ unlink(dirname(__FILE__)."/007_variation2.tmp"); --EXPECTF-- *** Test fopen() & fclose() functions: with 'r+' mode *** resource(%d) of type (stream) -string(6) "stream" -int(0) -string(20) "line -line of text -li" -int(20) -int(37) -int(57) -bool(true) -string(7) "Unknown" -*** Done *** ---UEXPECTF-- -*** Test fopen() & fclose() functions: with 'r+' mode *** -resource(%d) of type (stream) unicode(6) "stream" int(0) string(20) "line diff --git a/ext/standard/tests/file/007_variation20.phpt b/ext/standard/tests/file/007_variation20.phpt index d736381229..186a62e2f8 100644 --- a/ext/standard/tests/file/007_variation20.phpt +++ b/ext/standard/tests/file/007_variation20.phpt @@ -57,23 +57,6 @@ unlink(dirname(__FILE__)."/007_variation20.tmp"); --EXPECTF-- *** Test fopen() & fclose() functions: with 'w+b' mode *** resource(%d) of type (stream) -string(6) "stream" -int(0) -int(37) -int(37) -string(37) "abcdefghij -mnopqrst uvwxyz -0123456789" -int(37) -bool(true) -string(7) "Unknown" -int(37) -int(0) -bool(true) -*** Done *** ---UEXPECTF-- -*** Test fopen() & fclose() functions: with 'w+b' mode *** -resource(%d) of type (stream) unicode(6) "stream" int(0) diff --git a/ext/standard/tests/file/007_variation21.phpt b/ext/standard/tests/file/007_variation21.phpt index 0cc6b0e9c9..aafcbcbcf6 100644 --- a/ext/standard/tests/file/007_variation21.phpt +++ b/ext/standard/tests/file/007_variation21.phpt @@ -49,18 +49,6 @@ unlink(dirname(__FILE__)."/007_variation21.tmp"); --EXPECTF-- *** Test fopen() & fclose() functions: with 'ab' mode *** resource(%d) of type (stream) -string(6) "stream" -int(37) -bool(false) -int(0) -bool(true) -string(7) "Unknown" -int(57) -bool(true) -*** Done *** ---UEXPECTF-- -*** Test fopen() & fclose() functions: with 'ab' mode *** -resource(%d) of type (stream) unicode(6) "stream" Notice: fwrite(): 37 character unicode buffer downcoded for binary stream runtime_encoding in %s on line %d diff --git a/ext/standard/tests/file/007_variation22.phpt b/ext/standard/tests/file/007_variation22.phpt index 9c7fd9b4ca..cd3e590486 100644 --- a/ext/standard/tests/file/007_variation22.phpt +++ b/ext/standard/tests/file/007_variation22.phpt @@ -48,21 +48,6 @@ unlink(dirname(__FILE__)."/007_variation22.tmp"); --EXPECTF-- *** Test fopen() & fclose() functions: with 'a+b' mode *** resource(%d) of type (stream) -string(6) "stream" -int(37) -string(57) "line -line of text -liabcdefghij -mnopqrst uvwxyz -0123456789" -int(57) -bool(true) -string(7) "Unknown" -bool(true) -*** Done *** ---UEXPECTF-- -*** Test fopen() & fclose() functions: with 'a+b' mode *** -resource(%d) of type (stream) unicode(6) "stream" Notice: fwrite(): 37 character unicode buffer downcoded for binary stream runtime_encoding in %s on line %d diff --git a/ext/standard/tests/file/007_variation23.phpt b/ext/standard/tests/file/007_variation23.phpt index cf5f96f09e..0cf4b30e91 100644 --- a/ext/standard/tests/file/007_variation23.phpt +++ b/ext/standard/tests/file/007_variation23.phpt @@ -45,20 +45,6 @@ unlink(dirname(__FILE__)."/007_variation23.tmp"); --EXPECTF-- *** Test fopen() & fclose() functions: with 'xb' mode *** resource(%d) of type (stream) -string(6) "stream" -int(0) -int(37) -int(37) -bool(false) -int(0) -bool(true) -string(7) "Unknown" - -Warning: fopen(%s): failed to open stream: File exists in %s on line %d -*** Done *** ---UEXPECTF-- -*** Test fopen() & fclose() functions: with 'xb' mode *** -resource(%d) of type (stream) unicode(6) "stream" int(0) diff --git a/ext/standard/tests/file/007_variation24.phpt b/ext/standard/tests/file/007_variation24.phpt index 18fbc4c935..6312a4df53 100644 --- a/ext/standard/tests/file/007_variation24.phpt +++ b/ext/standard/tests/file/007_variation24.phpt @@ -45,22 +45,6 @@ unlink(dirname(__FILE__)."/007_variation24.tmp"); --EXPECTF-- *** Test fopen() & fclose() functions: with 'x+b' mode *** resource(%d) of type (stream) -string(6) "stream" -int(0) -int(37) -int(37) -string(37) "abcdefghij -mnopqrst uvwxyz -0123456789" -int(37) -bool(true) -string(7) "Unknown" - -Warning: fopen(%s): failed to open stream: File exists in %s on line %d -*** Done *** ---UEXPECTF-- -*** Test fopen() & fclose() functions: with 'x+b' mode *** -resource(%d) of type (stream) unicode(6) "stream" int(0) diff --git a/ext/standard/tests/file/007_variation3.phpt b/ext/standard/tests/file/007_variation3.phpt index c262af81e2..b0caf6ff12 100644 --- a/ext/standard/tests/file/007_variation3.phpt +++ b/ext/standard/tests/file/007_variation3.phpt @@ -57,21 +57,6 @@ unlink(dirname(__FILE__)."/007_variation3.tmp"); --EXPECTF-- *** Test fopen() & fclose() functions: with 'w' mode *** resource(%d) of type (stream) -string(6) "stream" -int(0) -int(37) -int(37) -bool(false) -int(0) -bool(true) -string(7) "Unknown" -int(37) -int(0) -bool(true) -*** Done *** ---UEXPECTF-- -*** Test fopen() & fclose() functions: with 'w' mode *** -resource(%d) of type (stream) unicode(6) "stream" int(0) diff --git a/ext/standard/tests/file/007_variation4.phpt b/ext/standard/tests/file/007_variation4.phpt index cd8db8b90c..cb782961e2 100644 --- a/ext/standard/tests/file/007_variation4.phpt +++ b/ext/standard/tests/file/007_variation4.phpt @@ -57,23 +57,6 @@ unlink(dirname(__FILE__)."/007_variation4.tmp"); --EXPECTF-- *** Test fopen() & fclose() functions: with 'w+' mode *** resource(%d) of type (stream) -string(6) "stream" -int(0) -int(37) -int(37) -string(37) "abcdefghij -mnopqrst uvwxyz -0123456789" -int(37) -bool(true) -string(7) "Unknown" -int(37) -int(0) -bool(true) -*** Done *** ---UEXPECTF-- -*** Test fopen() & fclose() functions: with 'w+' mode *** -resource(%d) of type (stream) unicode(6) "stream" int(0) diff --git a/ext/standard/tests/file/007_variation5.phpt b/ext/standard/tests/file/007_variation5.phpt index 9e55c06b92..a3be605c59 100644 --- a/ext/standard/tests/file/007_variation5.phpt +++ b/ext/standard/tests/file/007_variation5.phpt @@ -49,18 +49,6 @@ unlink(dirname(__FILE__)."/007_variation5.tmp"); --EXPECTF-- *** Test fopen() & fclose() functions: with 'a' mode *** resource(%d) of type (stream) -string(6) "stream" -int(37) -bool(false) -int(0) -bool(true) -string(7) "Unknown" -int(57) -bool(true) -*** Done *** ---UEXPECTF-- -*** Test fopen() & fclose() functions: with 'a' mode *** -resource(%d) of type (stream) unicode(6) "stream" Notice: fwrite(): 37 character unicode buffer downcoded for binary stream runtime_encoding in %s on line %d diff --git a/ext/standard/tests/file/007_variation6.phpt b/ext/standard/tests/file/007_variation6.phpt index 498b23966b..4b4ee9d537 100644 --- a/ext/standard/tests/file/007_variation6.phpt +++ b/ext/standard/tests/file/007_variation6.phpt @@ -48,21 +48,6 @@ unlink(dirname(__FILE__)."/007_variation6.tmp"); --EXPECTF-- *** Test fopen() & fclose() functions: with 'a+' mode *** resource(%d) of type (stream) -string(6) "stream" -int(37) -string(57) "line -line of text -liabcdefghij -mnopqrst uvwxyz -0123456789" -int(57) -bool(true) -string(7) "Unknown" -bool(true) -*** Done *** ---UEXPECTF-- -*** Test fopen() & fclose() functions: with 'a+' mode *** -resource(%d) of type (stream) unicode(6) "stream" Notice: fwrite(): 37 character unicode buffer downcoded for binary stream runtime_encoding in %s on line %d diff --git a/ext/standard/tests/file/007_variation7.phpt b/ext/standard/tests/file/007_variation7.phpt index bdb81b2396..ef8eb7466e 100644 --- a/ext/standard/tests/file/007_variation7.phpt +++ b/ext/standard/tests/file/007_variation7.phpt @@ -45,20 +45,6 @@ unlink(dirname(__FILE__)."/007_variation7.tmp"); --EXPECTF-- *** Test fopen() & fclose() functions: with 'x' mode *** resource(%d) of type (stream) -string(6) "stream" -int(0) -int(37) -int(37) -bool(false) -int(0) -bool(true) -string(7) "Unknown" - -Warning: fopen(%s): failed to open stream: File exists in %s on line %s -*** Done *** ---UEXPECTF-- -*** Test fopen() & fclose() functions: with 'x' mode *** -resource(%d) of type (stream) unicode(6) "stream" int(0) diff --git a/ext/standard/tests/file/007_variation8.phpt b/ext/standard/tests/file/007_variation8.phpt index 7fc9805837..5834af473d 100644 --- a/ext/standard/tests/file/007_variation8.phpt +++ b/ext/standard/tests/file/007_variation8.phpt @@ -45,22 +45,6 @@ unlink(dirname(__FILE__)."/007_variation8.tmp"); --EXPECTF-- *** Test fopen() & fclose() functions: with 'x+' mode *** resource(%d) of type (stream) -string(6) "stream" -int(0) -int(37) -int(37) -string(37) "abcdefghij -mnopqrst uvwxyz -0123456789" -int(37) -bool(true) -string(7) "Unknown" - -Warning: fopen(%s): failed to open stream: File exists in %s on line %d -*** Done *** ---UEXPECTF-- -*** Test fopen() & fclose() functions: with 'x+' mode *** -resource(%d) of type (stream) unicode(6) "stream" int(0) diff --git a/ext/standard/tests/file/007_variation9.phpt b/ext/standard/tests/file/007_variation9.phpt index 0b2529e01c..6bca39c804 100644 --- a/ext/standard/tests/file/007_variation9.phpt +++ b/ext/standard/tests/file/007_variation9.phpt @@ -43,18 +43,6 @@ unlink(dirname(__FILE__)."/007_variation9.tmp"); --EXPECTF-- *** Test fopen() & fclose() functions: with 'rt' mode *** resource(%d) of type (stream) -string(6) "stream" -int(0) -string(20) "line -line of text -li" -int(0) -bool(true) -string(7) "Unknown" -*** Done *** ---UEXPECTF-- -*** Test fopen() & fclose() functions: with 'rt' mode *** -resource(%d) of type (stream) unicode(6) "stream" int(0) unicode(20) "line diff --git a/ext/standard/tests/file/bug12556.phpt b/ext/standard/tests/file/bug12556.phpt index 6b9a91bbe0..a247dade94 100644 --- a/ext/standard/tests/file/bug12556.phpt +++ b/ext/standard/tests/file/bug12556.phpt @@ -10,43 +10,6 @@ while($line = fgetcsv($fp, 24)) { fclose($fp); ?> --EXPECT-- -array(4) { - [0]=> - string(1) "6" - [1]=> - string(1) "7" - [2]=> - string(1) "8" - [3]=> - string(5) "line1" -} -array(4) { - [0]=> - string(1) "1" - [1]=> - string(1) "2" - [2]=> - string(1) "3" - [3]=> - string(186) "line2 -2,4,5,line3 -2,4,5,line3 -2,4,5,line3 -2,4,5,line3 -2,4,5,line3 -2,4,5,line3 -2,4,5,line3 -2,4,5,line3 -2,4,5,line3 -2,4,5,line3 -2,4,5,line3 -2,4,5,line3 -2,4,5,line3 -2,4,5,line3 -2,4,5,line3 -" -} ---UEXPECT-- array(4) { [0]=> unicode(1) "6" diff --git a/ext/standard/tests/file/bug35740.phpt b/ext/standard/tests/file/bug35740.phpt index 3526b24973..184dff264f 100644 --- a/ext/standard/tests/file/bug35740.phpt +++ b/ext/standard/tests/file/bug35740.phpt @@ -7,7 +7,7 @@ include (dirname(__FILE__)); echo "Done\n"; ?> ---EXPECTF-- +--EXPECTF-- Warning: include(%s): failed to open stream: %s in %s on line %d Warning: include(): Failed opening '%s' for inclusion (include_path='%s') in %s on line %d diff --git a/ext/standard/tests/file/bug35781.phpt b/ext/standard/tests/file/bug35781.phpt index cdc467cdff..c79565a42c 100644 --- a/ext/standard/tests/file/bug35781.phpt +++ b/ext/standard/tests/file/bug35781.phpt @@ -18,7 +18,7 @@ var_dump(file_get_contents($filename)); echo "Done\n"; ?> ---EXPECTF-- +--EXPECT-- string(15) "Guvf vf n grfg " Done diff --git a/ext/standard/tests/file/bug37158.phpt b/ext/standard/tests/file/bug37158.phpt index cfa5a93b23..2532dc03c1 100644 --- a/ext/standard/tests/file/bug37158.phpt +++ b/ext/standard/tests/file/bug37158.phpt @@ -33,11 +33,7 @@ unlink($file); echo "Done\n"; ?> ---EXPECT-- -string(26) "size of contents 1 = 20000" -string(26) "size of contents 2 = 40960" -Done ---UEXPECT-- +--EXPECT-- unicode(26) "size of contents 1 = 20000" unicode(26) "size of contents 2 = 40960" Done diff --git a/ext/standard/tests/file/bug38086.phpt b/ext/standard/tests/file/bug38086.phpt index ed8af75a4f..1e554a229b 100644 --- a/ext/standard/tests/file/bug38086.phpt +++ b/ext/standard/tests/file/bug38086.phpt @@ -28,7 +28,7 @@ unlink($new_file); echo "Done\n"; ?> ---EXPECTF-- +--EXPECT-- int(134) string(134) "Nabgure qnl Jura gur cnvaf bs yvsr jba'g one zl jnl diff --git a/ext/standard/tests/file/bug38450.phpt b/ext/standard/tests/file/bug38450.phpt index cddf8e94d4..d1f096268e 100644 --- a/ext/standard/tests/file/bug38450.phpt +++ b/ext/standard/tests/file/bug38450.phpt @@ -101,18 +101,7 @@ var_dump($myvar); echo "Done\n"; ?> ---EXPECTF-- -Warning: Missing argument 1 for VariableStream::VariableStream() in %s on line %d -string(12) "constructor!" -line1 -line2 -line3 -string(18) "line1 -line2 -line3 -" -Done ---UEXPECTF-- +--EXPECTF-- Warning: Missing argument 1 for VariableStream::VariableStream() in %s on line %d unicode(12) "constructor!" line1 diff --git a/ext/standard/tests/file/bug38450_1.phpt b/ext/standard/tests/file/bug38450_1.phpt index c34096c49d..10f21760ac 100644 --- a/ext/standard/tests/file/bug38450_1.phpt +++ b/ext/standard/tests/file/bug38450_1.phpt @@ -101,18 +101,7 @@ var_dump($myvar); echo "Done\n"; ?> ---EXPECTF-- -Warning: Missing argument 1 for VariableStream::__construct() in %s on line %d -string(12) "constructor!" -line1 -line2 -line3 -string(18) "line1 -line2 -line3 -" -Done ---UEXPECTF-- +--EXPECTF-- Warning: Missing argument 1 for VariableStream::__construct() in %s on line %d unicode(12) "constructor!" line1 diff --git a/ext/standard/tests/file/bug38450_2.phpt b/ext/standard/tests/file/bug38450_2.phpt index 625fd7c5cc..3ea05eba50 100644 --- a/ext/standard/tests/file/bug38450_2.phpt +++ b/ext/standard/tests/file/bug38450_2.phpt @@ -101,7 +101,7 @@ var_dump($myvar); echo "Done\n"; ?> ---EXPECTF-- +--EXPECTF-- Warning: Missing argument 1 for VariableStream::__construct() in %s on line %d Warning: fopen(var://myvar): failed to open stream: "VariableStream::stream_open" call failed in %s on line %d diff --git a/ext/standard/tests/file/bug38450_3.phpt b/ext/standard/tests/file/bug38450_3.phpt index d11ebd91e3..64eb35e905 100644 --- a/ext/standard/tests/file/bug38450_3.phpt +++ b/ext/standard/tests/file/bug38450_3.phpt @@ -101,5 +101,5 @@ var_dump($myvar); echo "Done\n"; ?> ---EXPECTF-- +--EXPECTF-- Catchable fatal error: Argument 1 passed to VariableStream::__construct() must be an array, none given in %s on line %d diff --git a/ext/standard/tests/file/bug39551.phpt b/ext/standard/tests/file/bug39551.phpt index 67dc7e7b23..59d9545c6e 100644 --- a/ext/standard/tests/file/bug39551.phpt +++ b/ext/standard/tests/file/bug39551.phpt @@ -20,9 +20,7 @@ stream_get_contents($s); echo "Done\n"; ?> ---EXPECTF-- -Done ---UEXPECTF-- +--EXPECTF-- Done Notice: Unknown: 0 character unicode buffer downcoded for binary stream runtime_encoding in Unknown on line 0 diff --git a/ext/standard/tests/file/bug39673.phpt b/ext/standard/tests/file/bug39673.phpt index 3836f2103d..f5f64bab2e 100644 --- a/ext/standard/tests/file/bug39673.phpt +++ b/ext/standard/tests/file/bug39673.phpt @@ -28,7 +28,7 @@ foreach ($offsets as $offset) { @unlink($filename); echo "Done\n"; ?> ---EXPECTF-- +--EXPECT-- int(13824) int(13824) int(0) diff --git a/ext/standard/tests/file/bug40374.phpt b/ext/standard/tests/file/bug40374.phpt index d99fbcd9cb..e9b3d22bd0 100644 --- a/ext/standard/tests/file/bug40374.phpt +++ b/ext/standard/tests/file/bug40374.phpt @@ -12,9 +12,6 @@ unlink($file); echo "Done\n"; ?> ---EXPECTF-- -string(%d) "%s" -Done ---UEXPECTF-- +--EXPECTF-- unicode(%d) "%s" Done diff --git a/ext/standard/tests/file/bug40501.phpt b/ext/standard/tests/file/bug40501.phpt index 110533fb82..8acae8cf0e 100644 --- a/ext/standard/tests/file/bug40501.phpt +++ b/ext/standard/tests/file/bug40501.phpt @@ -17,4 +17,4 @@ array(2) { backslashes (ex: 1)\" [1]=> string(30) "and it isn't the last element$" -} \ No newline at end of file +} diff --git a/ext/standard/tests/file/bug41655_1.phpt b/ext/standard/tests/file/bug41655_1.phpt index d02de7066a..5e010faf31 100644 --- a/ext/standard/tests/file/bug41655_1.phpt +++ b/ext/standard/tests/file/bug41655_1.phpt @@ -9,4 +9,4 @@ open_basedir=/tmp echo "Done\n"; ?> --EXPECT-- -Done \ No newline at end of file +Done diff --git a/ext/standard/tests/file/bug41815.phpt b/ext/standard/tests/file/bug41815.phpt index f77468d96d..040754b131 100644 --- a/ext/standard/tests/file/bug41815.phpt +++ b/ext/standard/tests/file/bug41815.phpt @@ -22,6 +22,6 @@ fclose($reader); echo "Done\n"; ?> ---EXPECTF-- +--EXPECT-- OK Done diff --git a/ext/standard/tests/file/bug42229.phpt b/ext/standard/tests/file/bug42229.phpt index 1603deaf7b..612b8af0a1 100644 --- a/ext/standard/tests/file/bug42229.phpt +++ b/ext/standard/tests/file/bug42229.phpt @@ -15,11 +15,6 @@ unlink($file); ?> --EXPECT-- -array(1) { - [0]=> - string(2) "\n" -} ---UEXPECT-- array(1) { [0]=> unicode(2) "\n" diff --git a/ext/standard/tests/file/bug44805.phpt b/ext/standard/tests/file/bug44805.phpt index 85f1255a6d..8adb519d8f 100644 --- a/ext/standard/tests/file/bug44805.phpt +++ b/ext/standard/tests/file/bug44805.phpt @@ -12,19 +12,21 @@ $dirname = dirname(__FILE__); $file1 = $dirname . DIRECTORY_SEPARATOR . "file1.txt"; $file2 = $dirname . DIRECTORY_SEPARATOR . "file2.txt"; -file_put_contents($file1, "this is file 1"); -file_put_contents($file2, "this is file 2"); +file_put_contents($file1, "this is file 1\n"); +file_put_contents($file2, "this is file 2\n"); rename($file1, $file2); echo "reading file 2: "; readfile($file2); -if (file_exists($file1)) { - unlink($file1); -} -if (file_exists($file1)) { - unlink($file2); -} + +?> +===DONE=== +--CLEAN-- + --EXPECT-- reading file 2: this is file 1 +===DONE=== diff --git a/ext/standard/tests/file/chown.phpt b/ext/standard/tests/file/chown.phpt index 6c2d357c14..ccc505e2e5 100644 --- a/ext/standard/tests/file/chown.phpt +++ b/ext/standard/tests/file/chown.phpt @@ -8,6 +8,3 @@ echo "ALIVE\n"; --EXPECTF-- Warning: chown(): parameter 2 should be string or integer, null given in %schown.php on line %d ALIVE ---UEXPECTF-- -Warning: chown(): parameter 2 should be string or integer, null given in %schown.php on line %d -ALIVE diff --git a/ext/standard/tests/file/clearstatcache_error.phpt b/ext/standard/tests/file/clearstatcache_error.phpt index e9859d8c7f..1ebb08888e 100644 --- a/ext/standard/tests/file/clearstatcache_error.phpt +++ b/ext/standard/tests/file/clearstatcache_error.phpt @@ -17,9 +17,3 @@ echo "*** Done ***\n"; Warning: clearstatcache() expects exactly 0 parameters, 1 given in %s on line %d NULL *** Done *** ---UEXPECTF-- -*** Testing clearstatcache() function: error conditions *** - -Warning: clearstatcache() expects exactly 0 parameters, 1 given in %s on line %d -NULL -*** Done *** diff --git a/ext/standard/tests/file/copy_basic.phpt b/ext/standard/tests/file/copy_basic.phpt index 1915b2c44b..7663dc6019 100644 --- a/ext/standard/tests/file/copy_basic.phpt +++ b/ext/standard/tests/file/copy_basic.phpt @@ -55,17 +55,3 @@ bool(true) %d %d *** Done *** - ---UEXPECTF-- -*** Testing copy() function: to copy file from source to destination -- -bool(true) -bool(true) -bool(true) --- Checking whether the copy of file exists -- -bool(true) -bool(true) --- Checking filepermissions of file and its copies -- -%d -%d -%d -*** Done *** diff --git a/ext/standard/tests/file/copy_error.phpt b/ext/standard/tests/file/copy_error.phpt index 98f6368fb2..8550dad4b2 100644 --- a/ext/standard/tests/file/copy_error.phpt +++ b/ext/standard/tests/file/copy_error.phpt @@ -33,22 +33,6 @@ NULL Warning: copy() expects at least 2 parameters, 1 given in %s on line %d NULL -Warning: copy() expects parameter 3 to be resource, string given in %s on line %d -NULL -*** Done *** - ---UEXPECTF-- -*** Testing copy() function: error conditions -- - -Warning: copy(/no/file): failed to open stream: No such file or directory in %s on line %d -bool(false) - -Warning: copy() expects at least 2 parameters, 0 given in %s on line %d -NULL - -Warning: copy() expects at least 2 parameters, 1 given in %s on line %d -NULL - Warning: copy() expects parameter 3 to be resource, Unicode string given in %s on line %d NULL *** Done *** diff --git a/ext/standard/tests/file/copy_variation1.phpt b/ext/standard/tests/file/copy_variation1.phpt index c2d4b1b67a..4d0a97302a 100644 --- a/ext/standard/tests/file/copy_variation1.phpt +++ b/ext/standard/tests/file/copy_variation1.phpt @@ -143,71 +143,3 @@ Destination file name => %s/copy1.tmp Size of source file => int(1500) Size of destination file => int(1500) *** Done *** ---UEXPECTF-- -*** Test copy() function: destination file names containing numerics/strings *** -Size of the source file before copy operation => int(1500) - --- Now applying copy() on source file to create copies -- --- Iteration 1 -- -Copy operation => bool(true) -Existence of destination file => bool(true) -Destination file name => %s/copy.tmp -Size of source file => int(1500) -Size of destination file => int(1500) - --- Iteration 2 -- -Copy operation => bool(true) -Existence of destination file => bool(true) -Destination file name => %s/copy_copy_variation1.tmp -Size of source file => int(1500) -Size of destination file => int(1500) - --- Iteration 3 -- -Copy operation => bool(true) -Existence of destination file => bool(true) -Destination file name => %s/.tmp -Size of source file => int(1500) -Size of destination file => int(1500) - --- Iteration 4 -- -Copy operation => bool(true) -Existence of destination file => bool(true) -Destination file name => %s/123.tmp -Size of source file => int(1500) -Size of destination file => int(1500) - --- Iteration 5 -- -Copy operation => bool(true) -Existence of destination file => bool(true) -Destination file name => %s/copy_variation1.123 -Size of source file => int(1500) -Size of destination file => int(1500) - --- Iteration 6 -- -Copy operation => bool(true) -Existence of destination file => bool(true) -Destination file name => %s/123 -Size of source file => int(1500) -Size of destination file => int(1500) - --- Iteration 7 -- -Copy operation => bool(true) -Existence of destination file => bool(true) -Destination file name => %s/123copy_variation1.tmp -Size of source file => int(1500) -Size of destination file => int(1500) - --- Iteration 8 -- -Copy operation => bool(true) -Existence of destination file => bool(true) -Destination file name => %s/copy_variation.tmp123 -Size of source file => int(1500) -Size of destination file => int(1500) - --- Iteration 9 -- -Copy operation => bool(true) -Existence of destination file => bool(true) -Destination file name => %s/copy1.tmp -Size of source file => int(1500) -Size of destination file => int(1500) -*** Done *** diff --git a/ext/standard/tests/file/copy_variation10.phpt b/ext/standard/tests/file/copy_variation10.phpt index 368e35318d..c8b212d0e5 100644 --- a/ext/standard/tests/file/copy_variation10.phpt +++ b/ext/standard/tests/file/copy_variation10.phpt @@ -29,13 +29,7 @@ echo "*** Done ***\n"; unlink(dirname(__FILE__)."/copy_variation10.tmp"); ?> ---EXPECTF-- -*** Test copy(): Trying to create a copy of file with the same source name *** -bool(false) -bool(true) -int(1500) -*** Done *** ---UEXPECTF-- +--EXPECT-- *** Test copy(): Trying to create a copy of file with the same source name *** bool(false) bool(true) diff --git a/ext/standard/tests/file/copy_variation11.phpt b/ext/standard/tests/file/copy_variation11.phpt index 77626f43f8..adee8e1c65 100644 --- a/ext/standard/tests/file/copy_variation11.phpt +++ b/ext/standard/tests/file/copy_variation11.phpt @@ -69,21 +69,3 @@ bool(true) int(300) int(%d) *** Done *** ---UEXPECTF-- -*** Test copy() function: Trying to create a copy of source file as a dir *** -Size of source before copy operation => int(300) -Size of destination before copy operation => int(%d) - --- Now applying copy() operation -- - -Warning: %s -bool(false) -bool(true) -bool(true) -bool(true) -bool(false) -bool(false) -bool(true) -int(300) -int(%d) -*** Done *** diff --git a/ext/standard/tests/file/copy_variation12-win32.phpt b/ext/standard/tests/file/copy_variation12-win32.phpt index 005984c970..4d39de3bb5 100644 --- a/ext/standard/tests/file/copy_variation12-win32.phpt +++ b/ext/standard/tests/file/copy_variation12-win32.phpt @@ -40,15 +40,7 @@ rmdir(dirname(__FILE__)."/copy_variation12"); --EXPECTF-- *** Test copy() function: Trying to create a copy of an existing dir *** -Warning: copy(%s): failed to open stream: Permission denied in %s on line %d -bool(false) -bool(false) -int(0) -*** Done *** ---UEXPECTF-- -*** Test copy() function: Trying to create a copy of an existing dir *** - -Warning: copy(%s): failed to open stream: Permission denied in %s on line %d +Warning: copy(): The first argument to copy() function cannot be a directory in %s on line %d bool(false) bool(false) int(0) diff --git a/ext/standard/tests/file/copy_variation12.phpt b/ext/standard/tests/file/copy_variation12.phpt index ab99813067..76d386e6e9 100644 --- a/ext/standard/tests/file/copy_variation12.phpt +++ b/ext/standard/tests/file/copy_variation12.phpt @@ -50,14 +50,3 @@ int(%d) Warning: filesize(): stat failed for %s/copy_copy_variation12 in %s/copy_variation12.php on line %d bool(false) *** Done *** ---UEXPECTF-- -*** Test copy() function: Trying to create a copy of an existing dir *** - -Warning: copy(): The first argument to copy() function cannot be a directory in %s/copy_variation12.php on line %d -bool(false) -bool(false) -int(%d) - -Warning: filesize(): stat failed for %s/copy_copy_variation12 in %s/copy_variation12.php on line %d -bool(false) -*** Done *** diff --git a/ext/standard/tests/file/copy_variation13.phpt b/ext/standard/tests/file/copy_variation13.phpt index e323a8eb00..a71c597e41 100644 --- a/ext/standard/tests/file/copy_variation13.phpt +++ b/ext/standard/tests/file/copy_variation13.phpt @@ -44,22 +44,7 @@ rmdir(dirname(__FILE__)."/copy_variation13"); *** Test copy() function: Trying to copy dir to file *** *** Testing copy() in copying dir to file *** -Warning: copy(): The first argument to copy() function cannot be a directory in %s/copy_variation13.php on line %d -bool(false) -bool(true) -bool(true) -bool(false) -bool(true) -bool(true) -bool(false) -int(%d) -int(%d) -*** Done *** ---UEXPECTF-- -*** Test copy() function: Trying to copy dir to file *** -*** Testing copy() in copying dir to file *** - -Warning: copy(): The first argument to copy() function cannot be a directory in %s/copy_variation13.php on line %d +Warning: copy(): The first argument to copy() function cannot be a directory in %scopy_variation13.php on line %d bool(false) bool(true) bool(true) diff --git a/ext/standard/tests/file/copy_variation14.phpt b/ext/standard/tests/file/copy_variation14.phpt index da3410d5a2..1a39c1c6a9 100644 --- a/ext/standard/tests/file/copy_variation14.phpt +++ b/ext/standard/tests/file/copy_variation14.phpt @@ -46,15 +46,3 @@ bool(false) bool(false) int(1500) *** Done *** ---UEXPECTF-- -*** Test copy() function: Trying to create a copy of non-existing source in existing destination *** -Warning: copy(%s): %s -bool(false) -bool(false) - -*** Test copy() function: Trying to create copy of an existing source in non-existing destination *** -Warning: copy(%s): %s -bool(false) -bool(false) -int(1500) -*** Done *** diff --git a/ext/standard/tests/file/copy_variation15.phpt b/ext/standard/tests/file/copy_variation15.phpt index f89099672a..a6404fcd8d 100644 --- a/ext/standard/tests/file/copy_variation15.phpt +++ b/ext/standard/tests/file/copy_variation15.phpt @@ -62,10 +62,3 @@ bool(false) bool(false) int(300) *** Done *** ---UEXPECTF-- -*** Test copy() function: Trying to create a copy of file in a dir which doesn't have write permissions *** -Warning: copy(%s): %s -bool(false) -bool(false) -int(300) -*** Done *** diff --git a/ext/standard/tests/file/copy_variation16-win32.phpt b/ext/standard/tests/file/copy_variation16-win32.phpt index 179fc4a402..7688f5eeab 100644 --- a/ext/standard/tests/file/copy_variation16-win32.phpt +++ b/ext/standard/tests/file/copy_variation16-win32.phpt @@ -142,64 +142,3 @@ Existence of destination file => bool(true) Destination file name is => %s/copy_variation16/copy_variation16_sub/copy variation6/copy_copy_variation16.tmp Size of destination file => int(3500) *** Done *** ---UEXPECTF-- -*** Testing copy() function: copying data file across directories *** -- Size of source file => int(3500) - ---- Now applying copy() on source file to create copies --- --- Iteration 1 -- -Size of source file => int(3500) -Copy operation => bool(true) -Existence of destination file => bool(true) -Destination file name is => %s/copy_variation16/copy_copy_variation16.tmp -Size of destination file => int(3500) - --- Iteration 2 -- -Size of source file => int(3500) -Copy operation => bool(true) -Existence of destination file => bool(true) -Destination file name is => %s/copy_variation16/copy_variation16_sub/copy_copy_variation16.tmp -Size of destination file => int(3500) - --- Iteration 3 -- -Size of source file => int(3500) -Copy operation => bool(true) -Existence of destination file => bool(true) -Destination file name is => %s/copy_variation16/copy_variation16_sub/copy_copy_variation16.tmp -Size of destination file => int(3500) - --- Iteration 4 -- -Size of source file => int(3500) -Copy operation => bool(true) -Existence of destination file => bool(true) -Destination file name is => %s/copy_variation16/copy_variation16_sub/../copy_copy_variation16.tmp -Size of destination file => int(3500) - --- Iteration 5 -- -Size of source file => int(3500) -Copy operation => bool(true) -Existence of destination file => bool(true) -Destination file name is => %s/copy_variation16/copy_variation16_sub/../copy_variation16_sub/copy_copy_variation16.tmp -Size of destination file => int(3500) - --- Iteration 6 -- -Size of source file => int(3500) -Copy operation => bool(true) -Existence of destination file => bool(true) -Destination file name is => %s/copy_variation16/copy_variation16_sub/..///../copy_copy_variation16.tmp -Size of destination file => int(3500) - --- Iteration 7 -- -Size of source file => int(3500) -Copy operation => -Warning: copy(%s): failed to open stream: No such file or directory in %s on line %s -bool(false) -Existence of destination file => bool(false) - --- Iteration 8 -- -Size of source file => int(3500) -Copy operation => bool(true) -Existence of destination file => bool(true) -Destination file name is => %s/copy_variation16/copy_variation16_sub/copy variation6/copy_copy_variation16.tmp -Size of destination file => int(3500) -*** Done *** diff --git a/ext/standard/tests/file/copy_variation16.phpt b/ext/standard/tests/file/copy_variation16.phpt index 13eea405da..54a3458c68 100644 --- a/ext/standard/tests/file/copy_variation16.phpt +++ b/ext/standard/tests/file/copy_variation16.phpt @@ -82,67 +82,6 @@ echo "*** Done ***\n"; --EXPECTF-- *** Testing copy() function: copying data file across directories *** -- Size of source file => int(3500) - ---- Now applying copy() on source file to create copies --- --- Iteration 1 -- -Size of source file => int(3500) -Copy operation => bool(true) -Existence of destination file => bool(true) -Destination file name is => %s/copy_variation16/copy_copy_variation16.tmp -Size of destination file => int(3500) - --- Iteration 2 -- -Size of source file => int(3500) -Copy operation => bool(true) -Existence of destination file => bool(true) -Destination file name is => %s/copy_variation16/copy_variation16_sub/copy_copy_variation16.tmp -Size of destination file => int(3500) - --- Iteration 3 -- -Size of source file => int(3500) -Copy operation => bool(true) -Existence of destination file => bool(true) -Destination file name is => %s/copy_variation16/copy_variation16_sub/copy_copy_variation16.tmp -Size of destination file => int(3500) - --- Iteration 4 -- -Size of source file => int(3500) -Copy operation => bool(true) -Existence of destination file => bool(true) -Destination file name is => %s/copy_variation16/copy_variation16_sub/../copy_copy_variation16.tmp -Size of destination file => int(3500) - --- Iteration 5 -- -Size of source file => int(3500) -Copy operation => bool(true) -Existence of destination file => bool(true) -Destination file name is => %s/copy_variation16/copy_variation16_sub/../copy_variation16_sub/copy_copy_variation16.tmp -Size of destination file => int(3500) - --- Iteration 6 -- -Size of source file => int(3500) -Copy operation => bool(true) -Existence of destination file => bool(true) -Destination file name is => %s/copy_variation16/copy_variation16_sub/..///../copy_copy_variation16.tmp -Size of destination file => int(3500) - --- Iteration 7 -- -Size of source file => int(3500) -Copy operation => bool(true) -Existence of destination file => bool(true) -Destination file name is => %s/copy_variation16/copy_variation16_sub/..///../* -Size of destination file => int(3500) - --- Iteration 8 -- -Size of source file => int(3500) -Copy operation => bool(true) -Existence of destination file => bool(true) -Destination file name is => %s/copy_variation16/copy_variation16_sub/copy variation6/copy_copy_variation16.tmp -Size of destination file => int(3500) -*** Done *** ---UEXPECTF-- -*** Testing copy() function: copying data file across directories *** Notice: fwrite(): 3500 character unicode buffer downcoded for binary stream runtime_encoding in %s on line %d - Size of source file => int(3500) diff --git a/ext/standard/tests/file/copy_variation17.phpt b/ext/standard/tests/file/copy_variation17.phpt index 3557e2cd9b..97f1665f01 100644 --- a/ext/standard/tests/file/copy_variation17.phpt +++ b/ext/standard/tests/file/copy_variation17.phpt @@ -74,25 +74,3 @@ Warning: copy(%s): %s bool(false) bool(false) *** Done *** ---UEXPECTF-- -*** Test copy() function: With source file names containing wild-card chars *** -bool(true) -bool(true) -int(1500) - -Warning: copy(%s): %s -bool(false) -bool(false) - -Warning: copy(%s): %s -bool(false) -bool(false) - -Warning: copy(%s): %s -bool(false) -bool(false) - -Warning: copy(%s): %s -bool(false) -bool(false) -*** Done *** diff --git a/ext/standard/tests/file/copy_variation18.phpt b/ext/standard/tests/file/copy_variation18.phpt index 3125ddeef5..8781cebdd3 100644 --- a/ext/standard/tests/file/copy_variation18.phpt +++ b/ext/standard/tests/file/copy_variation18.phpt @@ -43,12 +43,7 @@ echo "*** Done ***\n"; unlink(dirname(__FILE__)."/copy_copy_variation18.tmp"); unlink(dirname(__FILE__)."/copy_variation18.tmp"); ?> ---EXPECTF-- -*** Test copy() function: stat of file before and after copy *** -Copy operation => bool(true) -Comparing the stats of file before and after copy operation => bool(true) -*** Done *** ---UEXPECTF-- +--EXPECT-- *** Test copy() function: stat of file before and after copy *** Copy operation => bool(true) Comparing the stats of file before and after copy operation => bool(true) diff --git a/ext/standard/tests/file/copy_variation2-win32.phpt b/ext/standard/tests/file/copy_variation2-win32.phpt index d38e9658c9..4819d63e36 100644 --- a/ext/standard/tests/file/copy_variation2-win32.phpt +++ b/ext/standard/tests/file/copy_variation2-win32.phpt @@ -216,130 +216,3 @@ Destination file name => %s/$copy_variation2.tmp Size of source file => int(1500) Size of destination file => int(1500) *** Done *** ---UEXPECTF-- -*** Test copy() function: destination file names containing special characters *** -Size of the source file before copy operation => int(1500) - ---- Now applying copy() on source file to create copies --- --- Iteration 1 -- -Copy operation => bool(true) -Existence of destination file => bool(true) -Destination file name => %s/_copy_variation2.tmp -Size of source file => int(1500) -Size of destination file => int(1500) - --- Iteration 2 -- -Copy operation => bool(true) -Existence of destination file => bool(true) -Destination file name => %s/@copy_variation2.tmp -Size of source file => int(1500) -Size of destination file => int(1500) - --- Iteration 3 -- -Copy operation => bool(true) -Existence of destination file => bool(true) -Destination file name => %s/#copy_variation2.tmp -Size of source file => int(1500) -Size of destination file => int(1500) - --- Iteration 4 -- -Copy operation => bool(true) -Existence of destination file => bool(true) -Destination file name => %s/+copy_variation2.tmp -Size of source file => int(1500) -Size of destination file => int(1500) - --- Iteration 5 -- -Copy operation => -Warning: copy(%s): %s -bool(false) -Existence of destination file => bool(false) - --- Iteration 6 -- -Copy operation => -Warning: copy(%s): %s -bool(false) -Existence of destination file => bool(false) - --- Iteration 7 -- -Copy operation => bool(true) -Existence of destination file => bool(true) -Destination file name => %s/!copy_variation2.tmp -Size of source file => int(1500) -Size of destination file => int(1500) - --- Iteration 8 -- -Copy operation => bool(true) -Existence of destination file => bool(true) -Destination file name => %s/©_variation2.tmp -Size of source file => int(1500) -Size of destination file => int(1500) - --- Iteration 9 -- -Copy operation => bool(true) -Existence of destination file => bool(true) -Destination file name => %s/(copy_variation2.tmp -Size of source file => int(1500) -Size of destination file => int(1500) - --- Iteration 10 -- -Copy operation => -Warning: copy(%s): %s -bool(false) -Existence of destination file => bool(false) - --- Iteration 11 -- -Copy operation => bool(true) -Existence of destination file => bool(true) -Destination file name => %s/;copy_variation2.tmp -Size of source file => int(1500) -Size of destination file => int(1500) - --- Iteration 12 -- -Copy operation => bool(true) -Existence of destination file => bool(true) -Destination file name => %s/=copy_variation2.tmp -Size of source file => int(1500) -Size of destination file => int(1500) - --- Iteration 13 -- -Copy operation => bool(true) -Existence of destination file => bool(true) -Destination file name => %s/[copy_variation2.tmp -Size of source file => int(1500) -Size of destination file => int(1500) - --- Iteration 14 -- -Copy operation => bool(true) -Existence of destination file => bool(true) -Destination file name => %s/^copy_variation2.tmp -Size of source file => int(1500) -Size of destination file => int(1500) - --- Iteration 15 -- -Copy operation => bool(true) -Existence of destination file => bool(true) -Destination file name => %s/{copy_variation2.tmp -Size of source file => int(1500) -Size of destination file => int(1500) - --- Iteration 16 -- -Copy operation => -Warning: copy(%s): %s -bool(false) -Existence of destination file => bool(false) - --- Iteration 17 -- -Copy operation => bool(true) -Existence of destination file => bool(true) -Destination file name => %s/~copy_variation2.tmp -Size of source file => int(1500) -Size of destination file => int(1500) - --- Iteration 18 -- -Copy operation => bool(true) -Existence of destination file => bool(true) -Destination file name => %s/$copy_variation2.tmp -Size of source file => int(1500) -Size of destination file => int(1500) -*** Done *** \ No newline at end of file diff --git a/ext/standard/tests/file/copy_variation2.phpt b/ext/standard/tests/file/copy_variation2.phpt index 2ee60facfb..d99f5a8da3 100644 --- a/ext/standard/tests/file/copy_variation2.phpt +++ b/ext/standard/tests/file/copy_variation2.phpt @@ -235,148 +235,3 @@ Destination file name => %s/$copy_variation2.tmp Size of source file => int(1500) Size of destination file => int(1500) *** Done *** ---UEXPECTF-- -*** Test copy() function: destination file names containing special characters *** -Size of the source file before copy operation => int(1500) - ---- Now applying copy() on source file to create copies --- --- Iteration 1 -- -Copy operation => bool(true) -Existence of destination file => bool(true) -Destination file name => %s/_copy_variation2.tmp -Size of source file => int(1500) -Size of destination file => int(1500) - --- Iteration 2 -- -Copy operation => bool(true) -Existence of destination file => bool(true) -Destination file name => %s/@copy_variation2.tmp -Size of source file => int(1500) -Size of destination file => int(1500) - --- Iteration 3 -- -Copy operation => bool(true) -Existence of destination file => bool(true) -Destination file name => %s/#copy_variation2.tmp -Size of source file => int(1500) -Size of destination file => int(1500) - --- Iteration 4 -- -Copy operation => bool(true) -Existence of destination file => bool(true) -Destination file name => %s/+copy_variation2.tmp -Size of source file => int(1500) -Size of destination file => int(1500) - --- Iteration 5 -- -Copy operation => bool(true) -Existence of destination file => bool(true) -Destination file name => %s/*copy_variation2.tmp -Size of source file => int(1500) -Size of destination file => int(1500) - --- Iteration 6 -- -Copy operation => bool(true) -Existence of destination file => bool(true) -Destination file name => %s/?copy_variation2.tmp -Size of source file => int(1500) -Size of destination file => int(1500) - --- Iteration 7 -- -Copy operation => bool(true) -Existence of destination file => bool(true) -Destination file name => %s/ int(1500) -Size of destination file => int(1500) - --- Iteration 8 -- -Copy operation => bool(true) -Existence of destination file => bool(true) -Destination file name => %s/>copy_variation2.tmp -Size of source file => int(1500) -Size of destination file => int(1500) - --- Iteration 9 -- -Copy operation => bool(true) -Existence of destination file => bool(true) -Destination file name => %s/!copy_variation2.tmp -Size of source file => int(1500) -Size of destination file => int(1500) - --- Iteration 10 -- -Copy operation => bool(true) -Existence of destination file => bool(true) -Destination file name => %s/©_variation2.tmp -Size of source file => int(1500) -Size of destination file => int(1500) - --- Iteration 11 -- -Copy operation => bool(true) -Existence of destination file => bool(true) -Destination file name => %s/(copy_variation2.tmp -Size of source file => int(1500) -Size of destination file => int(1500) - --- Iteration 12 -- -Copy operation => bool(true) -Existence of destination file => bool(true) -Destination file name => %s/:copy_variation2.tmp -Size of source file => int(1500) -Size of destination file => int(1500) - --- Iteration 13 -- -Copy operation => bool(true) -Existence of destination file => bool(true) -Destination file name => %s/;copy_variation2.tmp -Size of source file => int(1500) -Size of destination file => int(1500) - --- Iteration 14 -- -Copy operation => bool(true) -Existence of destination file => bool(true) -Destination file name => %s/=copy_variation2.tmp -Size of source file => int(1500) -Size of destination file => int(1500) - --- Iteration 15 -- -Copy operation => bool(true) -Existence of destination file => bool(true) -Destination file name => %s/[copy_variation2.tmp -Size of source file => int(1500) -Size of destination file => int(1500) - --- Iteration 16 -- -Copy operation => bool(true) -Existence of destination file => bool(true) -Destination file name => %s/^copy_variation2.tmp -Size of source file => int(1500) -Size of destination file => int(1500) - --- Iteration 17 -- -Copy operation => bool(true) -Existence of destination file => bool(true) -Destination file name => %s/{copy_variation2.tmp -Size of source file => int(1500) -Size of destination file => int(1500) - --- Iteration 18 -- -Copy operation => bool(true) -Existence of destination file => bool(true) -Destination file name => %s/|copy_variation2.tmp -Size of source file => int(1500) -Size of destination file => int(1500) - --- Iteration 19 -- -Copy operation => bool(true) -Existence of destination file => bool(true) -Destination file name => %s/~copy_variation2.tmp -Size of source file => int(1500) -Size of destination file => int(1500) - --- Iteration 20 -- -Copy operation => bool(true) -Existence of destination file => bool(true) -Destination file name => %s/$copy_variation2.tmp -Size of source file => int(1500) -Size of destination file => int(1500) -*** Done *** diff --git a/ext/standard/tests/file/copy_variation3-win32.phpt b/ext/standard/tests/file/copy_variation3-win32.phpt index ae6156ea2b..68ce4a1680 100644 --- a/ext/standard/tests/file/copy_variation3-win32.phpt +++ b/ext/standard/tests/file/copy_variation3-win32.phpt @@ -107,34 +107,3 @@ Warning: copy(%s): %s bool(false) Existence of destination file => bool(false) *** Done *** ---UEXPECTF-- -*** Test copy() function: destination file names containing whitespaces *** -Size of the source file before copy operation => int(1500) - --- Now applying copy() on source file to create copies -- --- Iteration 1 -- -Copy operation => bool(true) -Existence of destination file => bool(true) -Destination file name => copy variation3.tmp -Size of source file => int(1500) -Size of destination file => int(1500) - --- Iteration 2 -- -Copy operation => bool(true) -Existence of destination file => bool(true) -Destination file name => copy_variation3.tmp -Size of source file => int(1500) -Size of destination file => int(1500) - --- Iteration 3 -- -Copy operation => -Warning: copy(%s): %s -bool(false) -Existence of destination file => bool(false) - --- Iteration 4 -- -Copy operation => -Warning: copy(%s): %s -bool(false) -Existence of destination file => bool(false) -*** Done *** diff --git a/ext/standard/tests/file/copy_variation3.phpt b/ext/standard/tests/file/copy_variation3.phpt index 76cc9da74d..828647b247 100644 --- a/ext/standard/tests/file/copy_variation3.phpt +++ b/ext/standard/tests/file/copy_variation3.phpt @@ -75,40 +75,7 @@ echo "*** Done ***\n"; unlink(dirname(__FILE__)."/copy_variation3.tmp"); ?> ---EXPECTF-- -*** Test copy() function: destination file names containing whitespaces *** -Size of the source file before copy operation => int(1500) - --- Now applying copy() on source file to create copies -- --- Iteration 1 -- -Copy operation => bool(true) -Existence of destination file => bool(true) -Destination file name => copy variation3.tmp -Size of source file => int(1500) -Size of destination file => int(1500) - --- Iteration 2 -- -Copy operation => bool(true) -Existence of destination file => bool(true) -Destination file name => copy_variation3.tmp -Size of source file => int(1500) -Size of destination file => int(1500) - --- Iteration 3 -- -Copy operation => bool(true) -Existence of destination file => bool(true) -Destination file name => copy variation3.tmp -Size of source file => int(1500) -Size of destination file => int(1500) - --- Iteration 4 -- -Copy operation => bool(true) -Existence of destination file => bool(true) -Destination file name => -Size of source file => int(1500) -Size of destination file => int(1500) -*** Done *** ---UEXPECTF-- +--EXPECT-- *** Test copy() function: destination file names containing whitespaces *** Size of the source file before copy operation => int(1500) diff --git a/ext/standard/tests/file/copy_variation4-win32.phpt b/ext/standard/tests/file/copy_variation4-win32.phpt index be734fb5518bbeccf9a43b63a4a0b92293036a24..ae2a1ed5275c435011ac6f27eec2e0c24c140596 100644 GIT binary patch delta 7 OcmX?Wv{iA#RsjGGWdln9 delta 16 Xcmdn0c-CmcRsm*R-O$Yn98);}HM<3M diff --git a/ext/standard/tests/file/copy_variation4.phpt b/ext/standard/tests/file/copy_variation4.phpt index c570d6083969da3bb2b4f4622882ad6656bf094c..e656210fa9085b05aae7c066aac3fe5f8afb5528 100644 GIT binary patch delta 7 OcmZ2v)~LLpQ4jzN?E=35 delta 16 XcmZovUSzhRQIJ_zH+1u3_IaEDF int(1500) - --- Now applying copy() on source file to create copies -- --- Iteration 1 -- -Copy operation => bool(true) -Existence of destination file => bool(true) -Destination file name => %s/COPY.tmp -Size of source file => int(1500) -Size of destination file => int(1500) - --- Iteration 2 -- -Copy operation => bool(true) -Existence of destination file => bool(true) -Destination file name => %s/COPY.TMP -Size of source file => int(1500) -Size of destination file => int(1500) - --- Iteration 3 -- -Copy operation => bool(true) -Existence of destination file => bool(true) -Destination file name => %s/CopY.TMP -Size of source file => int(1500) -Size of destination file => int(1500) - -Warning: unlink(%s/COPY.TMP): No such file or directory in %s on line %d - -Warning: unlink(%s/CopY.TMP): No such file or directory in %s on line %d -*** Done *** diff --git a/ext/standard/tests/file/copy_variation5.phpt b/ext/standard/tests/file/copy_variation5.phpt index acd78a30f5..8abc9c961a 100644 --- a/ext/standard/tests/file/copy_variation5.phpt +++ b/ext/standard/tests/file/copy_variation5.phpt @@ -104,29 +104,3 @@ Destination file name => %s/CopY.TMP Size of source file => int(1500) Size of destination file => int(1500) *** Done *** ---UEXPECTF-- -*** Test copy() function: checking case sensitivity in creation of destination file names *** -Size of the source file before copy operation => int(1500) - --- Now applying copy() on source file to create copies -- --- Iteration 1 -- -Copy operation => bool(true) -Existence of destination file => bool(true) -Destination file name => %s/COPY.tmp -Size of source file => int(1500) -Size of destination file => int(1500) - --- Iteration 2 -- -Copy operation => bool(true) -Existence of destination file => bool(true) -Destination file name => %s/COPY.TMP -Size of source file => int(1500) -Size of destination file => int(1500) - --- Iteration 3 -- -Copy operation => bool(true) -Existence of destination file => bool(true) -Destination file name => %s/CopY.TMP -Size of source file => int(1500) -Size of destination file => int(1500) -*** Done *** diff --git a/ext/standard/tests/file/copy_variation6-win32.phpt b/ext/standard/tests/file/copy_variation6-win32.phpt index f7ebbf2850..524b21d377 100644 --- a/ext/standard/tests/file/copy_variation6-win32.phpt +++ b/ext/standard/tests/file/copy_variation6-win32.phpt @@ -141,63 +141,3 @@ Destination file name is => %s/copy_variation6/copy_variation6_sub/copy variatio Size of source file => int(0) Size of destination file => int(0) *** Done *** ---UEXPECTF-- -*** Test copy() function: copying file across directories *** -Size of source file => int(0) - --- Now applying copy() on source file to create copies -- --- Iteration 1 -- -Copy operation => bool(true) -Existence of destination file => bool(true) -Destination file name is => %s/copy_variation6/copy_copy_variation6.tmp -Size of source file => int(0) -Size of destination file => int(0) - --- Iteration 2 -- -Copy operation => bool(true) -Existence of destination file => bool(true) -Destination file name is => %s/copy_variation6/copy_variation6_sub/copy_copy_variation6.tmp -Size of source file => int(0) -Size of destination file => int(0) - --- Iteration 3 -- -Copy operation => bool(true) -Existence of destination file => bool(true) -Destination file name is => %s/copy_variation6/copy_variation6_sub/copy_copy_variation6.tmp -Size of source file => int(0) -Size of destination file => int(0) - --- Iteration 4 -- -Copy operation => bool(true) -Existence of destination file => bool(true) -Destination file name is => %s/copy_variation6/copy_variation6_sub/../copy_copy_variation6.tmp -Size of source file => int(0) -Size of destination file => int(0) - --- Iteration 5 -- -Copy operation => bool(true) -Existence of destination file => bool(true) -Destination file name is => %s/copy_variation6/copy_variation6_sub/../copy_variation6_sub/copy_copy_variation6.tmp -Size of source file => int(0) -Size of destination file => int(0) - --- Iteration 6 -- -Copy operation => bool(true) -Existence of destination file => bool(true) -Destination file name is => %s/copy_variation6/copy_variation6_sub/..///../copy_copy_variation6.tmp -Size of source file => int(0) -Size of destination file => int(0) - --- Iteration 7 -- -Copy operation => -Warning: copy(%s/copy_variation6/copy_variation6_sub/..///../*): failed to open stream: No such file or directory in %s on line %d -bool(false) -Existence of destination file => bool(false) - --- Iteration 8 -- -Copy operation => bool(true) -Existence of destination file => bool(true) -Destination file name is => %s/copy_variation6/copy_variation6_sub/copy variation6/copy_copy_variation6.tmp -Size of source file => int(0) -Size of destination file => int(0) -*** Done *** diff --git a/ext/standard/tests/file/copy_variation6.phpt b/ext/standard/tests/file/copy_variation6.phpt index 41b4069d9a..3213c6b436 100644 --- a/ext/standard/tests/file/copy_variation6.phpt +++ b/ext/standard/tests/file/copy_variation6.phpt @@ -140,64 +140,3 @@ Destination file name is => %s/copy_variation6/copy_variation6_sub/copy variatio Size of source file => int(0) Size of destination file => int(0) *** Done *** ---UEXPECTF-- -*** Test copy() function: copying file across directories *** -Size of source file => int(0) - --- Now applying copy() on source file to create copies -- --- Iteration 1 -- -Copy operation => bool(true) -Existence of destination file => bool(true) -Destination file name is => %s/copy_variation6/copy_copy_variation6.tmp -Size of source file => int(0) -Size of destination file => int(0) - --- Iteration 2 -- -Copy operation => bool(true) -Existence of destination file => bool(true) -Destination file name is => %s/copy_variation6/copy_variation6_sub/copy_copy_variation6.tmp -Size of source file => int(0) -Size of destination file => int(0) - --- Iteration 3 -- -Copy operation => bool(true) -Existence of destination file => bool(true) -Destination file name is => %s/copy_variation6/copy_variation6_sub/copy_copy_variation6.tmp -Size of source file => int(0) -Size of destination file => int(0) - --- Iteration 4 -- -Copy operation => bool(true) -Existence of destination file => bool(true) -Destination file name is => %s/copy_variation6/copy_variation6_sub/../copy_copy_variation6.tmp -Size of source file => int(0) -Size of destination file => int(0) - --- Iteration 5 -- -Copy operation => bool(true) -Existence of destination file => bool(true) -Destination file name is => %s/copy_variation6/copy_variation6_sub/../copy_variation6_sub/copy_copy_variation6.tmp -Size of source file => int(0) -Size of destination file => int(0) - --- Iteration 6 -- -Copy operation => bool(true) -Existence of destination file => bool(true) -Destination file name is => %s/copy_variation6/copy_variation6_sub/..///../copy_copy_variation6.tmp -Size of source file => int(0) -Size of destination file => int(0) - --- Iteration 7 -- -Copy operation => bool(true) -Existence of destination file => bool(true) -Destination file name is => %s/copy_variation6/copy_variation6_sub/..///../* -Size of source file => int(0) -Size of destination file => int(0) - --- Iteration 8 -- -Copy operation => bool(true) -Existence of destination file => bool(true) -Destination file name is => %s/copy_variation6/copy_variation6_sub/copy variation6/copy_copy_variation6.tmp -Size of source file => int(0) -Size of destination file => int(0) -*** Done *** diff --git a/ext/standard/tests/file/copy_variation7.phpt b/ext/standard/tests/file/copy_variation7.phpt index 0728949e37..d687b073c7 100644 --- a/ext/standard/tests/file/copy_variation7.phpt +++ b/ext/standard/tests/file/copy_variation7.phpt @@ -84,22 +84,3 @@ bool(false) bool(true) int(3600) *** Done *** ---UEXPECTF-- -*** Testing copy() with symlink and hardlink *** -Size of source files => -int(%d) -int(3600) --- Now applying copy() on source link to create copies -- --- With symlink -- -bool(true) -bool(true) -bool(false) -bool(true) -int(3600) --- With hardlink -- -bool(true) -bool(true) -bool(false) -bool(true) -int(3600) -*** Done *** diff --git a/ext/standard/tests/file/copy_variation8.phpt b/ext/standard/tests/file/copy_variation8.phpt index e7dd9ca5ec..805fa9dd13 100644 --- a/ext/standard/tests/file/copy_variation8.phpt +++ b/ext/standard/tests/file/copy_variation8.phpt @@ -75,106 +75,7 @@ rmdir($base_dir); echo "*** Done ***\n"; ?> ---EXPECTF-- -*** Testing copy() function: copying links across different directories *** - --- Iteration 1 -- -- With symlink - -bool(true) -bool(true) -bool(false) -bool(true) -- With hardlink - -bool(true) -bool(true) -bool(false) -bool(true) - --- Iteration 2 -- -- With symlink - -bool(true) -bool(true) -bool(false) -bool(true) -- With hardlink - -bool(true) -bool(true) -bool(false) -bool(true) - --- Iteration 3 -- -- With symlink - -bool(true) -bool(true) -bool(false) -bool(true) -- With hardlink - -bool(true) -bool(true) -bool(false) -bool(true) - --- Iteration 4 -- -- With symlink - -bool(true) -bool(true) -bool(false) -bool(true) -- With hardlink - -bool(true) -bool(true) -bool(false) -bool(true) - --- Iteration 5 -- -- With symlink - -bool(true) -bool(true) -bool(false) -bool(true) -- With hardlink - -bool(true) -bool(true) -bool(false) -bool(true) - --- Iteration 6 -- -- With symlink - -bool(true) -bool(true) -bool(false) -bool(true) -- With hardlink - -bool(true) -bool(true) -bool(false) -bool(true) - --- Iteration 7 -- -- With symlink - -bool(true) -bool(true) -bool(false) -bool(true) -- With hardlink - -bool(true) -bool(true) -bool(false) -bool(true) - --- Iteration 8 -- -- With symlink - -bool(true) -bool(true) -bool(false) -bool(true) -- With hardlink - -bool(true) -bool(true) -bool(false) -bool(true) -*** Done *** ---UEXPECTF-- +--EXPECT-- *** Testing copy() function: copying links across different directories *** -- Iteration 1 -- diff --git a/ext/standard/tests/file/copy_variation9.phpt b/ext/standard/tests/file/copy_variation9.phpt index 0a6711d2d6..ffe6dbe914 100644 --- a/ext/standard/tests/file/copy_variation9.phpt +++ b/ext/standard/tests/file/copy_variation9.phpt @@ -56,24 +56,7 @@ echo "*** Done ***\n"; unlink(dirname(__FILE__)."/copy_copy_variation9.tmp"); unlink(dirname(__FILE__)."/copy_variation9.tmp"); ?> ---EXPECTF-- -*** Test copy() function: destination with/without write permissions *** - --- With write permissions -- -bool(true) -bool(true) -bool(true) -int(1500) - --- Without write permissions -- -bool(true) - -Warning: %s -bool(false) -bool(true) -int(1500) -*** Done *** ---UEXPECTF-- +--EXPECT-- *** Test copy() function: destination with/without write permissions *** -- With write permissions -- diff --git a/ext/standard/tests/file/disk.phpt b/ext/standard/tests/file/disk.phpt index 6eef4b4a77..a048af6ccb 100644 --- a/ext/standard/tests/file/disk.phpt +++ b/ext/standard/tests/file/disk.phpt @@ -25,7 +25,7 @@ var_dump(disk_total_space("/some/path/here")); echo "Done\n"; ?> ---EXPECTF-- +--EXPECTF-- Warning: disk_free_space() expects exactly 1 parameter, 0 given in %s on line %d NULL diff --git a/ext/standard/tests/file/disk_free_space_basic.phpt b/ext/standard/tests/file/disk_free_space_basic.phpt index b91a30238c..f8684e92a9 100644 --- a/ext/standard/tests/file/disk_free_space_basic.phpt +++ b/ext/standard/tests/file/disk_free_space_basic.phpt @@ -68,20 +68,3 @@ float(%d) float(%d) --- Done --- ---UEXPECTF-- -*** Testing with existing directory *** -float(%d) -float(%d) -*** Testing with newly created directory *** - - Free Space before writing to a file -float(%d) - - Free Space after writing to a file -float(%d) - - Free Space Value Is Correct -*** Testing with Binary Input *** -float(%d) - ---- Done --- diff --git a/ext/standard/tests/file/disk_free_space_error-win32.phpt b/ext/standard/tests/file/disk_free_space_error-win32.phpt index bbc2e15d5d..044a857e38 100644 --- a/ext/standard/tests/file/disk_free_space_error-win32.phpt +++ b/ext/standard/tests/file/disk_free_space_error-win32.phpt @@ -63,39 +63,6 @@ Warning: diskfreespace(): The system cannot find the path specified. in %s on line %d bool(false) -Warning: disk_free_space(): The directory name is invalid. - in %s on line %d -bool(false) - -Warning: diskfreespace(): The directory name is invalid. - in %s on line %d -bool(false) - --- Done -- - ---UEXPECTF-- -*** Testing error conditions *** - -Warning: disk_free_space() expects exactly 1 parameter, 0 given in %s on line %d -NULL - -Warning: diskfreespace() expects exactly 1 parameter, 0 given in %s on line %d -NULL - -Warning: disk_free_space() expects exactly 1 parameter, 2 given in %s on line %d -NULL - -Warning: diskfreespace() expects exactly 1 parameter, 2 given in %s on line %d -NULL - -Warning: disk_free_space(): The system cannot find the path specified. - in %s on line %d -bool(false) - -Warning: diskfreespace(): The system cannot find the path specified. - in %s on line %d -bool(false) - Notice: fwrite(): 36 character unicode buffer downcoded for binary stream runtime_encoding in %s on line %d Warning: disk_free_space(): The directory name is invalid. diff --git a/ext/standard/tests/file/disk_free_space_error.phpt b/ext/standard/tests/file/disk_free_space_error.phpt index 1b8f52b858..aad4e4e452 100644 --- a/ext/standard/tests/file/disk_free_space_error.phpt +++ b/ext/standard/tests/file/disk_free_space_error.phpt @@ -64,28 +64,3 @@ float(%d) float(%d) -- Done -- - ---UEXPECTF-- -*** Testing error conditions *** - -Warning: disk_free_space() expects exactly 1 parameter, 0 given in %s on line %d -NULL - -Warning: diskfreespace() expects exactly 1 parameter, 0 given in %s on line %d -NULL - -Warning: disk_free_space() expects exactly 1 parameter, 2 given in %s on line %d -NULL - -Warning: diskfreespace() expects exactly 1 parameter, 2 given in %s on line %d -NULL - -Warning: disk_free_space(): No such file or directory in %s on line %d -bool(false) - -Warning: diskfreespace(): No such file or directory in %s on line %d -bool(false) -float(%d) -float(%d) - --- Done -- diff --git a/ext/standard/tests/file/disk_free_space_variation.phpt b/ext/standard/tests/file/disk_free_space_variation.phpt index 0a799bf465..c1809986fd 100644 --- a/ext/standard/tests/file/disk_free_space_variation.phpt +++ b/ext/standard/tests/file/disk_free_space_variation.phpt @@ -121,61 +121,3 @@ float(%d) float(%d) --- Done --- ---UEXPECTF-- -*** Testing with a directory *** -float(%d) -float(%d) - -Testing for the return type *** -bool(true) - -*** Testing with different directory combinations *** --- Iteration 1 -- -float(%d) -float(%d) - --- Iteration 2 -- -float(%d) -float(%d) - --- Iteration 3 -- -float(%d) -float(%d) - --- Iteration 4 -- -float(%d) -float(%d) - --- Iteration 5 -- -float(%d) -float(%d) - --- Iteration 6 -- -float(%d) -float(%d) - --- Iteration 7 -- -float(%d) -float(%d) - --- Iteration 8 -- -float(%d) -float(%d) - --- Iteration 9 -- -float(%d) -float(%d) - --- Iteration 10 -- -float(%d) -float(%d) - --- Iteration 11 -- -float(%d) -float(%d) - --- Iteration 12 -- -float(%d) -float(%d) - ---- Done --- diff --git a/ext/standard/tests/file/disk_total_space_basic.phpt b/ext/standard/tests/file/disk_total_space_basic.phpt index 5b80177be0..d211f39437 100644 --- a/ext/standard/tests/file/disk_total_space_basic.phpt +++ b/ext/standard/tests/file/disk_total_space_basic.phpt @@ -46,13 +46,3 @@ Total Space after writing to a file float(%d) -- Done -- ---UEXPECTF-- -*** Testing with normal directory *** -float(%d) -*** Testing with newly created directory *** -float(%d) - -Total Space after writing to a file -float(%d) - --- Done -- diff --git a/ext/standard/tests/file/disk_total_space_error-win32.phpt b/ext/standard/tests/file/disk_total_space_error-win32.phpt index 0ca6b42065..30ca018b01 100644 --- a/ext/standard/tests/file/disk_total_space_error-win32.phpt +++ b/ext/standard/tests/file/disk_total_space_error-win32.phpt @@ -48,25 +48,6 @@ Warning: disk_total_space(): The system cannot find the path specified. in %s on line %d bool(false) -Warning: disk_total_space(): The directory name is invalid. - in %s on line %d -bool(false) - ---- Done --- - ---UEXPECTF-- -*** Testing error conditions *** - -Warning: disk_total_space() expects exactly 1 parameter, 0 given in %s on line %d -NULL - -Warning: disk_total_space() expects exactly 1 parameter, 2 given in %s on line %d -NULL - -Warning: disk_total_space(): The system cannot find the path specified. - in %s on line %d -bool(false) - Notice: fwrite(): 36 character unicode buffer downcoded for binary stream runtime_encoding in %s on line %d Warning: disk_total_space(): The directory name is invalid. diff --git a/ext/standard/tests/file/disk_total_space_error.phpt b/ext/standard/tests/file/disk_total_space_error.phpt index 01e4306205..3888b7e09d 100644 --- a/ext/standard/tests/file/disk_total_space_error.phpt +++ b/ext/standard/tests/file/disk_total_space_error.phpt @@ -49,18 +49,3 @@ bool(false) float(%d) --- Done --- - ---UEXPECTF-- -*** Testing error conditions *** - -Warning: disk_total_space() expects exactly 1 parameter, 0 given in %s on line %d -NULL - -Warning: disk_total_space() expects exactly 1 parameter, 2 given in %s on line %d -NULL - -Warning: disk_total_space(): No such file or directory in %s on line %d -bool(false) -float(%d) - ---- Done --- diff --git a/ext/standard/tests/file/disk_total_space_variation.phpt b/ext/standard/tests/file/disk_total_space_variation.phpt index c4c2f0e820..c03ba594bd 100644 --- a/ext/standard/tests/file/disk_total_space_variation.phpt +++ b/ext/standard/tests/file/disk_total_space_variation.phpt @@ -113,50 +113,3 @@ float(%d) float(%d) --- Done --- ---UEXPECTF-- -*** Testing with a directory *** -float(%d) - -Testing for the return type *** -bool(true) - -*** Testing with different directory combinations *** --- Iteration 1 -- -float(%d) - --- Iteration 2 -- -float(%d) - --- Iteration 3 -- -float(%d) - --- Iteration 4 -- -float(%d) - --- Iteration 5 -- -float(%d) - --- Iteration 6 -- -float(%d) - --- Iteration 7 -- -float(%d) - --- Iteration 8 -- -float(%d) - --- Iteration 9 -- -float(%d) - --- Iteration 10 -- -float(%d) - --- Iteration 11 -- -float(%d) - --- Iteration 12 -- -float(%d) -*** Testing with Binary Input *** -float(%d) - ---- Done --- diff --git a/ext/standard/tests/file/fflush_basic.phpt b/ext/standard/tests/file/fflush_basic.phpt index 19b34d68b7..05cbcc4a27 100755 --- a/ext/standard/tests/file/fflush_basic.phpt +++ b/ext/standard/tests/file/fflush_basic.phpt @@ -42,18 +42,6 @@ unlink($filename); --EXPECTF-- *** Testing fflush(): writing to a file and reading the contents *** -int(63) -bool(true) -first line of string -second line of string -third line of stringint(63) - -*** Testing fflush(): for return type *** -bool(true) - -*** Done *** ---UEXPECTF-- -*** Testing fflush(): writing to a file and reading the contents *** Notice: fwrite(): 63 character unicode buffer downcoded for binary stream runtime_encoding in %s on line %d int(63) diff --git a/ext/standard/tests/file/fflush_error.phpt b/ext/standard/tests/file/fflush_error.phpt index 965e3d5234..5f7897fa8f 100644 --- a/ext/standard/tests/file/fflush_error.phpt +++ b/ext/standard/tests/file/fflush_error.phpt @@ -87,41 +87,3 @@ Warning: fflush(): supplied argument is not a valid stream resource in %s on lin bool(false) *** Done *** - ---UEXPECTF-- -*** Testing error conditions *** --- Testing fflush(): with zero argument -- - -Warning: Wrong parameter count for fflush() in %s on line %d -NULL --- Testing fflush(): with more than expected number of arguments -- - -Warning: Wrong parameter count for fflush() in %s on line %d -NULL --- Testing fflush(): with invalid arguments -- --- Iteration 1 -- - -Warning: fflush(): supplied argument is not a valid stream resource in %s on line %d -bool(false) --- Iteration 2 -- - -Warning: fflush(): supplied argument is not a valid stream resource in %s on line %d -bool(false) --- Iteration 3 -- - -Warning: fflush(): supplied argument is not a valid stream resource in %s on line %d -bool(false) --- Iteration 4 -- - -Warning: fflush(): supplied argument is not a valid stream resource in %s on line %d -bool(false) --- Iteration 5 -- - -Warning: fflush(): supplied argument is not a valid stream resource in %s on line %d -bool(false) --- Iteration 6 -- - -Warning: fflush(): supplied argument is not a valid stream resource in %s on line %d -bool(false) - -*** Done *** diff --git a/ext/standard/tests/file/fflush_variation1-win32.phpt b/ext/standard/tests/file/fflush_variation1-win32.phpt index 97f564c64b..06470c8998 100644 --- a/ext/standard/tests/file/fflush_variation1-win32.phpt +++ b/ext/standard/tests/file/fflush_variation1-win32.phpt @@ -63,473 +63,7 @@ foreach( $file_types as $type ) { echo "\n*** Done ***"; ?> ---EXPECTF-- -*** Testing fflush(): with various types of files *** --- Iteration 1 with file containing empty Data-- --- File opened in w mode -- -bool(true) -bool(true) -int(0) --- File opened in wb mode -- -bool(true) -bool(true) -int(0) --- File opened in wt mode -- -bool(true) -bool(true) -int(0) --- File opened in w+ mode -- -bool(true) -bool(true) -int(0) --- File opened in w+b mode -- -bool(true) -bool(true) -int(0) --- File opened in w+t mode -- -bool(true) -bool(true) -int(0) --- File opened in a mode -- -bool(true) -bool(true) -int(0) --- File opened in ab mode -- -bool(true) -bool(true) -int(0) --- File opened in at mode -- -bool(true) -bool(true) -int(0) --- File opened in a+ mode -- -bool(true) -bool(true) -int(0) --- File opened in a+b mode -- -bool(true) -bool(true) -int(0) --- File opened in a+t mode -- -bool(true) -bool(true) -int(0) --- File opened in x mode -- -bool(true) -bool(true) -int(0) --- File opened in xb mode -- -bool(true) -bool(true) -int(0) --- File opened in xt mode -- -bool(true) -bool(true) -int(0) --- File opened in x+ mode -- -bool(true) -bool(true) -int(0) --- File opened in x+b mode -- -bool(true) -bool(true) -int(0) --- File opened in x+t mode -- -bool(true) -bool(true) -int(0) --- Iteration 2 with file containing numeric Data-- --- File opened in w mode -- -bool(true) -bool(true) -22222222222222222222222222222222222222222222222222int(50) --- File opened in wb mode -- -bool(true) -bool(true) -22222222222222222222222222222222222222222222222222int(50) --- File opened in wt mode -- -bool(true) -bool(true) -22222222222222222222222222222222222222222222222222int(50) --- File opened in w+ mode -- -bool(true) -bool(true) -22222222222222222222222222222222222222222222222222int(50) --- File opened in w+b mode -- -bool(true) -bool(true) -22222222222222222222222222222222222222222222222222int(50) --- File opened in w+t mode -- -bool(true) -bool(true) -22222222222222222222222222222222222222222222222222int(50) --- File opened in a mode -- -bool(true) -bool(true) -222222222222222222222222222222222222222222222222222222222222int(60) --- File opened in ab mode -- -bool(true) -bool(true) -222222222222222222222222222222222222222222222222222222222222int(60) --- File opened in at mode -- -bool(true) -bool(true) -222222222222222222222222222222222222222222222222222222222222int(60) --- File opened in a+ mode -- -bool(true) -bool(true) -222222222222222222222222222222222222222222222222222222222222int(60) --- File opened in a+b mode -- -bool(true) -bool(true) -222222222222222222222222222222222222222222222222222222222222int(60) --- File opened in a+t mode -- -bool(true) -bool(true) -222222222222222222222222222222222222222222222222222222222222int(60) --- File opened in x mode -- -bool(true) -bool(true) -22222222222222222222222222222222222222222222222222int(50) --- File opened in xb mode -- -bool(true) -bool(true) -22222222222222222222222222222222222222222222222222int(50) --- File opened in xt mode -- -bool(true) -bool(true) -22222222222222222222222222222222222222222222222222int(50) --- File opened in x+ mode -- -bool(true) -bool(true) -22222222222222222222222222222222222222222222222222int(50) --- File opened in x+b mode -- -bool(true) -bool(true) -22222222222222222222222222222222222222222222222222int(50) --- File opened in x+t mode -- -bool(true) -bool(true) -22222222222222222222222222222222222222222222222222int(50) --- Iteration 3 with file containing text Data-- --- File opened in w mode -- -bool(true) -bool(true) -text text text text text text text text text text int(50) --- File opened in wb mode -- -bool(true) -bool(true) -text text text text text text text text text text int(50) --- File opened in wt mode -- -bool(true) -bool(true) -text text text text text text text text text text int(50) --- File opened in w+ mode -- -bool(true) -bool(true) -text text text text text text text text text text int(50) --- File opened in w+b mode -- -bool(true) -bool(true) -text text text text text text text text text text int(50) --- File opened in w+t mode -- -bool(true) -bool(true) -text text text text text text text text text text int(50) --- File opened in a mode -- -bool(true) -bool(true) -text text text text text text text text text text text text int(60) --- File opened in ab mode -- -bool(true) -bool(true) -text text text text text text text text text text text text int(60) --- File opened in at mode -- -bool(true) -bool(true) -text text text text text text text text text text text text int(60) --- File opened in a+ mode -- -bool(true) -bool(true) -text text text text text text text text text text text text int(60) --- File opened in a+b mode -- -bool(true) -bool(true) -text text text text text text text text text text text text int(60) --- File opened in a+t mode -- -bool(true) -bool(true) -text text text text text text text text text text text text int(60) --- File opened in x mode -- -bool(true) -bool(true) -text text text text text text text text text text int(50) --- File opened in xb mode -- -bool(true) -bool(true) -text text text text text text text text text text int(50) --- File opened in xt mode -- -bool(true) -bool(true) -text text text text text text text text text text int(50) --- File opened in x+ mode -- -bool(true) -bool(true) -text text text text text text text text text text int(50) --- File opened in x+b mode -- -bool(true) -bool(true) -text text text text text text text text text text int(50) --- File opened in x+t mode -- -bool(true) -bool(true) -text text text text text text text text text text int(50) --- Iteration 4 with file containing text_with_new_line Data-- --- File opened in w mode -- -bool(true) -bool(true) -line -line of text -line -line of text -line -line of tint(50) --- File opened in wb mode -- -bool(true) -bool(true) -line -line of text -line -line of text -line -line of tint(50) --- File opened in wt mode -- -bool(true) -bool(true) -line -line of text -line -line of text -line -line of tint(55) --- File opened in w+ mode -- -bool(true) -bool(true) -line -line of text -line -line of text -line -line of tint(50) --- File opened in w+b mode -- -bool(true) -bool(true) -line -line of text -line -line of text -line -line of tint(50) --- File opened in w+t mode -- -bool(true) -bool(true) -line -line of text -line -line of text -line -line of tint(55) --- File opened in a mode -- -bool(true) -bool(true) -line -line line -line of text -line -line of text -line -line of tint(60) --- File opened in ab mode -- -bool(true) -bool(true) -line -line line -line of text -line -line of text -line -line of tint(60) --- File opened in at mode -- -bool(true) -bool(true) -line -line line -line of text -line -line of text -line -line of tint(65) --- File opened in a+ mode -- -bool(true) -bool(true) -line -line line -line of text -line -line of text -line -line of tint(60) --- File opened in a+b mode -- -bool(true) -bool(true) -line -line line -line of text -line -line of text -line -line of tint(60) --- File opened in a+t mode -- -bool(true) -bool(true) -line -line line -line of text -line -line of text -line -line of tint(65) --- File opened in x mode -- -bool(true) -bool(true) -line -line of text -line -line of text -line -line of tint(50) --- File opened in xb mode -- -bool(true) -bool(true) -line -line of text -line -line of text -line -line of tint(50) --- File opened in xt mode -- -bool(true) -bool(true) -line -line of text -line -line of text -line -line of tint(55) --- File opened in x+ mode -- -bool(true) -bool(true) -line -line of text -line -line of text -line -line of tint(50) --- File opened in x+b mode -- -bool(true) -bool(true) -line -line of text -line -line of text -line -line of tint(50) --- File opened in x+t mode -- -bool(true) -bool(true) -line -line of text -line -line of text -line -line of tint(55) --- Iteration 5 with file containing alphanumeric Data-- --- File opened in w mode -- -bool(true) -bool(true) -ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 int(50) --- File opened in wb mode -- -bool(true) -bool(true) -ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 int(50) --- File opened in wt mode -- -bool(true) -bool(true) -ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 int(50) --- File opened in w+ mode -- -bool(true) -bool(true) -ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 int(50) --- File opened in w+b mode -- -bool(true) -bool(true) -ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 int(50) --- File opened in w+t mode -- -bool(true) -bool(true) -ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 int(50) --- File opened in a mode -- -bool(true) -bool(true) -ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 int(60) --- File opened in ab mode -- -bool(true) -bool(true) -ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 int(60) --- File opened in at mode -- -bool(true) -bool(true) -ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 int(60) --- File opened in a+ mode -- -bool(true) -bool(true) -ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 int(60) --- File opened in a+b mode -- -bool(true) -bool(true) -ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 int(60) --- File opened in a+t mode -- -bool(true) -bool(true) -ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 int(60) --- File opened in x mode -- -bool(true) -bool(true) -ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 int(50) --- File opened in xb mode -- -bool(true) -bool(true) -ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 int(50) --- File opened in xt mode -- -bool(true) -bool(true) -ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 int(50) --- File opened in x+ mode -- -bool(true) -bool(true) -ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 int(50) --- File opened in x+b mode -- -bool(true) -bool(true) -ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 int(50) --- File opened in x+t mode -- -bool(true) -bool(true) -ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 int(50) - -*** Done *** - ---UEXPECTF-- +--EXPECT-- *** Testing fflush(): with various types of files *** -- Iteration 1 with file containing empty Data-- -- File opened in w mode -- diff --git a/ext/standard/tests/file/fflush_variation1.phpt b/ext/standard/tests/file/fflush_variation1.phpt index 34ed8b5308..2b65278209 100755 --- a/ext/standard/tests/file/fflush_variation1.phpt +++ b/ext/standard/tests/file/fflush_variation1.phpt @@ -64,473 +64,7 @@ foreach( $file_types as $type ) { echo "\n*** Done ***"; ?> ---EXPECTF-- -*** Testing fflush(): with various types of files *** --- Iteration 1 with file containing empty Data-- --- File opened in w mode -- -bool(true) -bool(true) -int(0) --- File opened in wb mode -- -bool(true) -bool(true) -int(0) --- File opened in wt mode -- -bool(true) -bool(true) -int(0) --- File opened in w+ mode -- -bool(true) -bool(true) -int(0) --- File opened in w+b mode -- -bool(true) -bool(true) -int(0) --- File opened in w+t mode -- -bool(true) -bool(true) -int(0) --- File opened in a mode -- -bool(true) -bool(true) -int(0) --- File opened in ab mode -- -bool(true) -bool(true) -int(0) --- File opened in at mode -- -bool(true) -bool(true) -int(0) --- File opened in a+ mode -- -bool(true) -bool(true) -int(0) --- File opened in a+b mode -- -bool(true) -bool(true) -int(0) --- File opened in a+t mode -- -bool(true) -bool(true) -int(0) --- File opened in x mode -- -bool(true) -bool(true) -int(0) --- File opened in xb mode -- -bool(true) -bool(true) -int(0) --- File opened in xt mode -- -bool(true) -bool(true) -int(0) --- File opened in x+ mode -- -bool(true) -bool(true) -int(0) --- File opened in x+b mode -- -bool(true) -bool(true) -int(0) --- File opened in x+t mode -- -bool(true) -bool(true) -int(0) --- Iteration 2 with file containing numeric Data-- --- File opened in w mode -- -bool(true) -bool(true) -22222222222222222222222222222222222222222222222222int(50) --- File opened in wb mode -- -bool(true) -bool(true) -22222222222222222222222222222222222222222222222222int(50) --- File opened in wt mode -- -bool(true) -bool(true) -22222222222222222222222222222222222222222222222222int(50) --- File opened in w+ mode -- -bool(true) -bool(true) -22222222222222222222222222222222222222222222222222int(50) --- File opened in w+b mode -- -bool(true) -bool(true) -22222222222222222222222222222222222222222222222222int(50) --- File opened in w+t mode -- -bool(true) -bool(true) -22222222222222222222222222222222222222222222222222int(50) --- File opened in a mode -- -bool(true) -bool(true) -222222222222222222222222222222222222222222222222222222222222int(60) --- File opened in ab mode -- -bool(true) -bool(true) -222222222222222222222222222222222222222222222222222222222222int(60) --- File opened in at mode -- -bool(true) -bool(true) -222222222222222222222222222222222222222222222222222222222222int(60) --- File opened in a+ mode -- -bool(true) -bool(true) -222222222222222222222222222222222222222222222222222222222222int(60) --- File opened in a+b mode -- -bool(true) -bool(true) -222222222222222222222222222222222222222222222222222222222222int(60) --- File opened in a+t mode -- -bool(true) -bool(true) -222222222222222222222222222222222222222222222222222222222222int(60) --- File opened in x mode -- -bool(true) -bool(true) -22222222222222222222222222222222222222222222222222int(50) --- File opened in xb mode -- -bool(true) -bool(true) -22222222222222222222222222222222222222222222222222int(50) --- File opened in xt mode -- -bool(true) -bool(true) -22222222222222222222222222222222222222222222222222int(50) --- File opened in x+ mode -- -bool(true) -bool(true) -22222222222222222222222222222222222222222222222222int(50) --- File opened in x+b mode -- -bool(true) -bool(true) -22222222222222222222222222222222222222222222222222int(50) --- File opened in x+t mode -- -bool(true) -bool(true) -22222222222222222222222222222222222222222222222222int(50) --- Iteration 3 with file containing text Data-- --- File opened in w mode -- -bool(true) -bool(true) -text text text text text text text text text text int(50) --- File opened in wb mode -- -bool(true) -bool(true) -text text text text text text text text text text int(50) --- File opened in wt mode -- -bool(true) -bool(true) -text text text text text text text text text text int(50) --- File opened in w+ mode -- -bool(true) -bool(true) -text text text text text text text text text text int(50) --- File opened in w+b mode -- -bool(true) -bool(true) -text text text text text text text text text text int(50) --- File opened in w+t mode -- -bool(true) -bool(true) -text text text text text text text text text text int(50) --- File opened in a mode -- -bool(true) -bool(true) -text text text text text text text text text text text text int(60) --- File opened in ab mode -- -bool(true) -bool(true) -text text text text text text text text text text text text int(60) --- File opened in at mode -- -bool(true) -bool(true) -text text text text text text text text text text text text int(60) --- File opened in a+ mode -- -bool(true) -bool(true) -text text text text text text text text text text text text int(60) --- File opened in a+b mode -- -bool(true) -bool(true) -text text text text text text text text text text text text int(60) --- File opened in a+t mode -- -bool(true) -bool(true) -text text text text text text text text text text text text int(60) --- File opened in x mode -- -bool(true) -bool(true) -text text text text text text text text text text int(50) --- File opened in xb mode -- -bool(true) -bool(true) -text text text text text text text text text text int(50) --- File opened in xt mode -- -bool(true) -bool(true) -text text text text text text text text text text int(50) --- File opened in x+ mode -- -bool(true) -bool(true) -text text text text text text text text text text int(50) --- File opened in x+b mode -- -bool(true) -bool(true) -text text text text text text text text text text int(50) --- File opened in x+t mode -- -bool(true) -bool(true) -text text text text text text text text text text int(50) --- Iteration 4 with file containing text_with_new_line Data-- --- File opened in w mode -- -bool(true) -bool(true) -line -line of text -line -line of text -line -line of tint(50) --- File opened in wb mode -- -bool(true) -bool(true) -line -line of text -line -line of text -line -line of tint(50) --- File opened in wt mode -- -bool(true) -bool(true) -line -line of text -line -line of text -line -line of tint(50) --- File opened in w+ mode -- -bool(true) -bool(true) -line -line of text -line -line of text -line -line of tint(50) --- File opened in w+b mode -- -bool(true) -bool(true) -line -line of text -line -line of text -line -line of tint(50) --- File opened in w+t mode -- -bool(true) -bool(true) -line -line of text -line -line of text -line -line of tint(50) --- File opened in a mode -- -bool(true) -bool(true) -line -line line -line of text -line -line of text -line -line of tint(60) --- File opened in ab mode -- -bool(true) -bool(true) -line -line line -line of text -line -line of text -line -line of tint(60) --- File opened in at mode -- -bool(true) -bool(true) -line -line line -line of text -line -line of text -line -line of tint(60) --- File opened in a+ mode -- -bool(true) -bool(true) -line -line line -line of text -line -line of text -line -line of tint(60) --- File opened in a+b mode -- -bool(true) -bool(true) -line -line line -line of text -line -line of text -line -line of tint(60) --- File opened in a+t mode -- -bool(true) -bool(true) -line -line line -line of text -line -line of text -line -line of tint(60) --- File opened in x mode -- -bool(true) -bool(true) -line -line of text -line -line of text -line -line of tint(50) --- File opened in xb mode -- -bool(true) -bool(true) -line -line of text -line -line of text -line -line of tint(50) --- File opened in xt mode -- -bool(true) -bool(true) -line -line of text -line -line of text -line -line of tint(50) --- File opened in x+ mode -- -bool(true) -bool(true) -line -line of text -line -line of text -line -line of tint(50) --- File opened in x+b mode -- -bool(true) -bool(true) -line -line of text -line -line of text -line -line of tint(50) --- File opened in x+t mode -- -bool(true) -bool(true) -line -line of text -line -line of text -line -line of tint(50) --- Iteration 5 with file containing alphanumeric Data-- --- File opened in w mode -- -bool(true) -bool(true) -ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 int(50) --- File opened in wb mode -- -bool(true) -bool(true) -ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 int(50) --- File opened in wt mode -- -bool(true) -bool(true) -ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 int(50) --- File opened in w+ mode -- -bool(true) -bool(true) -ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 int(50) --- File opened in w+b mode -- -bool(true) -bool(true) -ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 int(50) --- File opened in w+t mode -- -bool(true) -bool(true) -ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 int(50) --- File opened in a mode -- -bool(true) -bool(true) -ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 int(60) --- File opened in ab mode -- -bool(true) -bool(true) -ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 int(60) --- File opened in at mode -- -bool(true) -bool(true) -ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 int(60) --- File opened in a+ mode -- -bool(true) -bool(true) -ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 int(60) --- File opened in a+b mode -- -bool(true) -bool(true) -ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 int(60) --- File opened in a+t mode -- -bool(true) -bool(true) -ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 int(60) --- File opened in x mode -- -bool(true) -bool(true) -ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 int(50) --- File opened in xb mode -- -bool(true) -bool(true) -ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 int(50) --- File opened in xt mode -- -bool(true) -bool(true) -ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 int(50) --- File opened in x+ mode -- -bool(true) -bool(true) -ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 int(50) --- File opened in x+b mode -- -bool(true) -bool(true) -ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 int(50) --- File opened in x+t mode -- -bool(true) -bool(true) -ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 int(50) - -*** Done *** - ---UEXPECTF-- +--EXPECT-- *** Testing fflush(): with various types of files *** -- Iteration 1 with file containing empty Data-- -- File opened in w mode -- diff --git a/ext/standard/tests/file/fflush_variation2.phpt b/ext/standard/tests/file/fflush_variation2.phpt index cc2ea549f5..f01d24ae7a 100755 --- a/ext/standard/tests/file/fflush_variation2.phpt +++ b/ext/standard/tests/file/fflush_variation2.phpt @@ -65,383 +65,7 @@ foreach( $file_types as $type ) { echo "\n*** Done ***"; ?> ---EXPECTF-- -*** Testing fflush(): with soft links to files opened in diff modes *** --- Iteration 1 with file containing empty data -- --- link opened in w mode -- -bool(true) -bool(true) -bool(true) -int(0) --- link opened in wb mode -- -bool(true) -bool(true) -bool(true) -int(0) --- link opened in wt mode -- -bool(true) -bool(true) -bool(true) -int(0) --- link opened in w+ mode -- -bool(true) -bool(true) -bool(true) -int(0) --- link opened in w+b mode -- -bool(true) -bool(true) -bool(true) -int(0) --- link opened in w+t mode -- -bool(true) -bool(true) -bool(true) -int(0) --- link opened in a mode -- -bool(true) -bool(true) -bool(true) -int(0) --- link opened in ab mode -- -bool(true) -bool(true) -bool(true) -int(0) --- link opened in at mode -- -bool(true) -bool(true) -bool(true) -int(0) --- link opened in a+ mode -- -bool(true) -bool(true) -bool(true) -int(0) --- link opened in a+b mode -- -bool(true) -bool(true) -bool(true) -int(0) --- link opened in a+t mode -- -bool(true) -bool(true) -bool(true) -int(0) --- Iteration 2 with file containing numeric data -- --- link opened in w mode -- -bool(true) -bool(true) -bool(true) -22222222222222222222222222222222222222222222222222int(50) --- link opened in wb mode -- -bool(true) -bool(true) -bool(true) -22222222222222222222222222222222222222222222222222int(50) --- link opened in wt mode -- -bool(true) -bool(true) -bool(true) -22222222222222222222222222222222222222222222222222int(50) --- link opened in w+ mode -- -bool(true) -bool(true) -bool(true) -22222222222222222222222222222222222222222222222222int(50) --- link opened in w+b mode -- -bool(true) -bool(true) -bool(true) -22222222222222222222222222222222222222222222222222int(50) --- link opened in w+t mode -- -bool(true) -bool(true) -bool(true) -22222222222222222222222222222222222222222222222222int(50) --- link opened in a mode -- -bool(true) -bool(true) -bool(true) -222222222222222222222222222222222222222222222222222222222222int(60) --- link opened in ab mode -- -bool(true) -bool(true) -bool(true) -222222222222222222222222222222222222222222222222222222222222int(60) --- link opened in at mode -- -bool(true) -bool(true) -bool(true) -222222222222222222222222222222222222222222222222222222222222int(60) --- link opened in a+ mode -- -bool(true) -bool(true) -bool(true) -222222222222222222222222222222222222222222222222222222222222int(60) --- link opened in a+b mode -- -bool(true) -bool(true) -bool(true) -222222222222222222222222222222222222222222222222222222222222int(60) --- link opened in a+t mode -- -bool(true) -bool(true) -bool(true) -222222222222222222222222222222222222222222222222222222222222int(60) --- Iteration 3 with file containing text data -- --- link opened in w mode -- -bool(true) -bool(true) -bool(true) -text text text text text text text text text text int(50) --- link opened in wb mode -- -bool(true) -bool(true) -bool(true) -text text text text text text text text text text int(50) --- link opened in wt mode -- -bool(true) -bool(true) -bool(true) -text text text text text text text text text text int(50) --- link opened in w+ mode -- -bool(true) -bool(true) -bool(true) -text text text text text text text text text text int(50) --- link opened in w+b mode -- -bool(true) -bool(true) -bool(true) -text text text text text text text text text text int(50) --- link opened in w+t mode -- -bool(true) -bool(true) -bool(true) -text text text text text text text text text text int(50) --- link opened in a mode -- -bool(true) -bool(true) -bool(true) -text text text text text text text text text text text text int(60) --- link opened in ab mode -- -bool(true) -bool(true) -bool(true) -text text text text text text text text text text text text int(60) --- link opened in at mode -- -bool(true) -bool(true) -bool(true) -text text text text text text text text text text text text int(60) --- link opened in a+ mode -- -bool(true) -bool(true) -bool(true) -text text text text text text text text text text text text int(60) --- link opened in a+b mode -- -bool(true) -bool(true) -bool(true) -text text text text text text text text text text text text int(60) --- link opened in a+t mode -- -bool(true) -bool(true) -bool(true) -text text text text text text text text text text text text int(60) --- Iteration 4 with file containing text_with_new_line data -- --- link opened in w mode -- -bool(true) -bool(true) -bool(true) -line -line of text -line -line of text -line -line of tint(50) --- link opened in wb mode -- -bool(true) -bool(true) -bool(true) -line -line of text -line -line of text -line -line of tint(50) --- link opened in wt mode -- -bool(true) -bool(true) -bool(true) -line -line of text -line -line of text -line -line of tint(50) --- link opened in w+ mode -- -bool(true) -bool(true) -bool(true) -line -line of text -line -line of text -line -line of tint(50) --- link opened in w+b mode -- -bool(true) -bool(true) -bool(true) -line -line of text -line -line of text -line -line of tint(50) --- link opened in w+t mode -- -bool(true) -bool(true) -bool(true) -line -line of text -line -line of text -line -line of tint(50) --- link opened in a mode -- -bool(true) -bool(true) -bool(true) -line -line line -line of text -line -line of text -line -line of tint(60) --- link opened in ab mode -- -bool(true) -bool(true) -bool(true) -line -line line -line of text -line -line of text -line -line of tint(60) --- link opened in at mode -- -bool(true) -bool(true) -bool(true) -line -line line -line of text -line -line of text -line -line of tint(60) --- link opened in a+ mode -- -bool(true) -bool(true) -bool(true) -line -line line -line of text -line -line of text -line -line of tint(60) --- link opened in a+b mode -- -bool(true) -bool(true) -bool(true) -line -line line -line of text -line -line of text -line -line of tint(60) --- link opened in a+t mode -- -bool(true) -bool(true) -bool(true) -line -line line -line of text -line -line of text -line -line of tint(60) --- Iteration 5 with file containing alphanumeric data -- --- link opened in w mode -- -bool(true) -bool(true) -bool(true) -ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 int(50) --- link opened in wb mode -- -bool(true) -bool(true) -bool(true) -ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 int(50) --- link opened in wt mode -- -bool(true) -bool(true) -bool(true) -ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 int(50) --- link opened in w+ mode -- -bool(true) -bool(true) -bool(true) -ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 int(50) --- link opened in w+b mode -- -bool(true) -bool(true) -bool(true) -ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 int(50) --- link opened in w+t mode -- -bool(true) -bool(true) -bool(true) -ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 int(50) --- link opened in a mode -- -bool(true) -bool(true) -bool(true) -ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 int(60) --- link opened in ab mode -- -bool(true) -bool(true) -bool(true) -ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 int(60) --- link opened in at mode -- -bool(true) -bool(true) -bool(true) -ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 int(60) --- link opened in a+ mode -- -bool(true) -bool(true) -bool(true) -ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 int(60) --- link opened in a+b mode -- -bool(true) -bool(true) -bool(true) -ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 int(60) --- link opened in a+t mode -- -bool(true) -bool(true) -bool(true) -ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 int(60) - -*** Done *** - ---UEXPECTF-- +--EXPECT-- *** Testing fflush(): with soft links to files opened in diff modes *** -- Iteration 1 with file containing empty data -- -- link opened in w mode -- diff --git a/ext/standard/tests/file/fflush_variation3.phpt b/ext/standard/tests/file/fflush_variation3.phpt index 04bed46927..9ed3297ffc 100755 --- a/ext/standard/tests/file/fflush_variation3.phpt +++ b/ext/standard/tests/file/fflush_variation3.phpt @@ -65,323 +65,7 @@ foreach( $file_types as $type ) { echo "\n*** Done ***"; ?> ---EXPECTF-- -*** Testing fflush(): with hard links to files opened in diff modes *** --- Iteration 1 with file containing empty data -- -bool(true) -bool(true) -bool(true) -int(0) -bool(true) -bool(true) -bool(true) -int(0) -bool(true) -bool(true) -bool(true) -int(0) -bool(true) -bool(true) -bool(true) -int(0) -bool(true) -bool(true) -bool(true) -int(0) -bool(true) -bool(true) -bool(true) -int(0) -bool(true) -bool(true) -bool(true) -int(0) -bool(true) -bool(true) -bool(true) -int(0) -bool(true) -bool(true) -bool(true) -int(0) -bool(true) -bool(true) -bool(true) -int(0) -bool(true) -bool(true) -bool(true) -int(0) -bool(true) -bool(true) -bool(true) -int(0) --- Iteration 2 with file containing numeric data -- -bool(true) -bool(true) -bool(true) -22222222222222222222222222222222222222222222222222int(50) -bool(true) -bool(true) -bool(true) -22222222222222222222222222222222222222222222222222int(50) -bool(true) -bool(true) -bool(true) -22222222222222222222222222222222222222222222222222int(50) -bool(true) -bool(true) -bool(true) -22222222222222222222222222222222222222222222222222int(50) -bool(true) -bool(true) -bool(true) -22222222222222222222222222222222222222222222222222int(50) -bool(true) -bool(true) -bool(true) -22222222222222222222222222222222222222222222222222int(50) -bool(true) -bool(true) -bool(true) -222222222222222222222222222222222222222222222222222222222222int(60) -bool(true) -bool(true) -bool(true) -222222222222222222222222222222222222222222222222222222222222int(60) -bool(true) -bool(true) -bool(true) -222222222222222222222222222222222222222222222222222222222222int(60) -bool(true) -bool(true) -bool(true) -222222222222222222222222222222222222222222222222222222222222int(60) -bool(true) -bool(true) -bool(true) -222222222222222222222222222222222222222222222222222222222222int(60) -bool(true) -bool(true) -bool(true) -222222222222222222222222222222222222222222222222222222222222int(60) --- Iteration 3 with file containing text data -- -bool(true) -bool(true) -bool(true) -text text text text text text text text text text int(50) -bool(true) -bool(true) -bool(true) -text text text text text text text text text text int(50) -bool(true) -bool(true) -bool(true) -text text text text text text text text text text int(50) -bool(true) -bool(true) -bool(true) -text text text text text text text text text text int(50) -bool(true) -bool(true) -bool(true) -text text text text text text text text text text int(50) -bool(true) -bool(true) -bool(true) -text text text text text text text text text text int(50) -bool(true) -bool(true) -bool(true) -text text text text text text text text text text text text int(60) -bool(true) -bool(true) -bool(true) -text text text text text text text text text text text text int(60) -bool(true) -bool(true) -bool(true) -text text text text text text text text text text text text int(60) -bool(true) -bool(true) -bool(true) -text text text text text text text text text text text text int(60) -bool(true) -bool(true) -bool(true) -text text text text text text text text text text text text int(60) -bool(true) -bool(true) -bool(true) -text text text text text text text text text text text text int(60) --- Iteration 4 with file containing text_with_new_line data -- -bool(true) -bool(true) -bool(true) -line -line of text -line -line of text -line -line of tint(50) -bool(true) -bool(true) -bool(true) -line -line of text -line -line of text -line -line of tint(50) -bool(true) -bool(true) -bool(true) -line -line of text -line -line of text -line -line of tint(50) -bool(true) -bool(true) -bool(true) -line -line of text -line -line of text -line -line of tint(50) -bool(true) -bool(true) -bool(true) -line -line of text -line -line of text -line -line of tint(50) -bool(true) -bool(true) -bool(true) -line -line of text -line -line of text -line -line of tint(50) -bool(true) -bool(true) -bool(true) -line -line line -line of text -line -line of text -line -line of tint(60) -bool(true) -bool(true) -bool(true) -line -line line -line of text -line -line of text -line -line of tint(60) -bool(true) -bool(true) -bool(true) -line -line line -line of text -line -line of text -line -line of tint(60) -bool(true) -bool(true) -bool(true) -line -line line -line of text -line -line of text -line -line of tint(60) -bool(true) -bool(true) -bool(true) -line -line line -line of text -line -line of text -line -line of tint(60) -bool(true) -bool(true) -bool(true) -line -line line -line of text -line -line of text -line -line of tint(60) --- Iteration 5 with file containing alphanumeric data -- -bool(true) -bool(true) -bool(true) -ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 int(50) -bool(true) -bool(true) -bool(true) -ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 int(50) -bool(true) -bool(true) -bool(true) -ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 int(50) -bool(true) -bool(true) -bool(true) -ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 int(50) -bool(true) -bool(true) -bool(true) -ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 int(50) -bool(true) -bool(true) -bool(true) -ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 int(50) -bool(true) -bool(true) -bool(true) -ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 int(60) -bool(true) -bool(true) -bool(true) -ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 int(60) -bool(true) -bool(true) -bool(true) -ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 int(60) -bool(true) -bool(true) -bool(true) -ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 int(60) -bool(true) -bool(true) -bool(true) -ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 int(60) -bool(true) -bool(true) -bool(true) -ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 int(60) - -*** Done *** - ---UEXPECTF-- +--EXPECT-- *** Testing fflush(): with hard links to files opened in diff modes *** -- Iteration 1 with file containing empty data -- bool(true) diff --git a/ext/standard/tests/file/fflush_variation4.phpt b/ext/standard/tests/file/fflush_variation4.phpt index 4db18576d4..594d2b860f 100755 --- a/ext/standard/tests/file/fflush_variation4.phpt +++ b/ext/standard/tests/file/fflush_variation4.phpt @@ -40,18 +40,7 @@ foreach( $file_modes as $mode ) { echo "\n*** Done ***"; ?> ---EXPECTF-- -*** Testing fflush(): with file handles of files opened in various read modes *** --- Iteration 1 with file opened in r mode -- -bool(true) --- Iteration 2 with file opened in rb mode -- -bool(true) --- Iteration 3 with file opened in rt mode -- -bool(true) - -*** Done *** - ---UEXPECTF-- +--EXPECT-- *** Testing fflush(): with file handles of files opened in various read modes *** -- Iteration 1 with file opened in r mode -- bool(true) diff --git a/ext/standard/tests/file/fgetc_basic.phpt b/ext/standard/tests/file/fgetc_basic.phpt index 155d23b122..d4c8bec7eb 100644 --- a/ext/standard/tests/file/fgetc_basic.phpt +++ b/ext/standard/tests/file/fgetc_basic.phpt @@ -118,486 +118,6 @@ bool(false) resource(%d) of type (stream) -- Innerloop iteration 3 of Outerloop Iteration 1 -- -- Testing fgetc() : file opened using rt mode -- -string(1) "2" -int(1) -bool(false) -resource(%d) of type (stream) -string(1) "2" -int(2) -bool(false) -resource(%d) of type (stream) -string(1) "2" -int(3) -bool(false) -resource(%d) of type (stream) -string(1) "2" -int(4) -bool(false) -resource(%d) of type (stream) -string(1) "2" -int(5) -bool(false) -resource(%d) of type (stream) -string(1) "2" -int(6) -bool(false) -resource(%d) of type (stream) --- Innerloop iteration 4 of Outerloop Iteration 1 -- --- Testing fgetc() : file opened using r+ mode -- -string(1) "2" -int(1) -bool(false) -resource(%d) of type (stream) -string(1) "2" -int(2) -bool(false) -resource(%d) of type (stream) -string(1) "2" -int(3) -bool(false) -resource(%d) of type (stream) -string(1) "2" -int(4) -bool(false) -resource(%d) of type (stream) -string(1) "2" -int(5) -bool(false) -resource(%d) of type (stream) -string(1) "2" -int(6) -bool(false) -resource(%d) of type (stream) --- Innerloop iteration 5 of Outerloop Iteration 1 -- --- Testing fgetc() : file opened using r+b mode -- -string(1) "2" -int(1) -bool(false) -resource(%d) of type (stream) -string(1) "2" -int(2) -bool(false) -resource(%d) of type (stream) -string(1) "2" -int(3) -bool(false) -resource(%d) of type (stream) -string(1) "2" -int(4) -bool(false) -resource(%d) of type (stream) -string(1) "2" -int(5) -bool(false) -resource(%d) of type (stream) -string(1) "2" -int(6) -bool(false) -resource(%d) of type (stream) --- Innerloop iteration 6 of Outerloop Iteration 1 -- --- Testing fgetc() : file opened using r+t mode -- -string(1) "2" -int(1) -bool(false) -resource(%d) of type (stream) -string(1) "2" -int(2) -bool(false) -resource(%d) of type (stream) -string(1) "2" -int(3) -bool(false) -resource(%d) of type (stream) -string(1) "2" -int(4) -bool(false) -resource(%d) of type (stream) -string(1) "2" -int(5) -bool(false) -resource(%d) of type (stream) -string(1) "2" -int(6) -bool(false) -resource(%d) of type (stream) ---- Outerloop iteration 2 --- --- Innerloop iteration 1 of Outerloop Iteration 2 -- --- Testing fgetc() : file opened using r mode -- -string(1) "t" -int(1) -bool(false) -resource(%d) of type (stream) -string(1) "e" -int(2) -bool(false) -resource(%d) of type (stream) -string(1) "x" -int(3) -bool(false) -resource(%d) of type (stream) -string(1) "t" -int(4) -bool(false) -resource(%d) of type (stream) -string(1) " " -int(5) -bool(false) -resource(%d) of type (stream) -string(1) "t" -int(6) -bool(false) -resource(%d) of type (stream) --- Innerloop iteration 2 of Outerloop Iteration 2 -- --- Testing fgetc() : file opened using rb mode -- -string(1) "t" -int(1) -bool(false) -resource(%d) of type (stream) -string(1) "e" -int(2) -bool(false) -resource(%d) of type (stream) -string(1) "x" -int(3) -bool(false) -resource(%d) of type (stream) -string(1) "t" -int(4) -bool(false) -resource(%d) of type (stream) -string(1) " " -int(5) -bool(false) -resource(%d) of type (stream) -string(1) "t" -int(6) -bool(false) -resource(%d) of type (stream) --- Innerloop iteration 3 of Outerloop Iteration 2 -- --- Testing fgetc() : file opened using rt mode -- -string(1) "t" -int(1) -bool(false) -resource(%d) of type (stream) -string(1) "e" -int(2) -bool(false) -resource(%d) of type (stream) -string(1) "x" -int(3) -bool(false) -resource(%d) of type (stream) -string(1) "t" -int(4) -bool(false) -resource(%d) of type (stream) -string(1) " " -int(5) -bool(false) -resource(%d) of type (stream) -string(1) "t" -int(6) -bool(false) -resource(%d) of type (stream) --- Innerloop iteration 4 of Outerloop Iteration 2 -- --- Testing fgetc() : file opened using r+ mode -- -string(1) "t" -int(1) -bool(false) -resource(%d) of type (stream) -string(1) "e" -int(2) -bool(false) -resource(%d) of type (stream) -string(1) "x" -int(3) -bool(false) -resource(%d) of type (stream) -string(1) "t" -int(4) -bool(false) -resource(%d) of type (stream) -string(1) " " -int(5) -bool(false) -resource(%d) of type (stream) -string(1) "t" -int(6) -bool(false) -resource(%d) of type (stream) --- Innerloop iteration 5 of Outerloop Iteration 2 -- --- Testing fgetc() : file opened using r+b mode -- -string(1) "t" -int(1) -bool(false) -resource(%d) of type (stream) -string(1) "e" -int(2) -bool(false) -resource(%d) of type (stream) -string(1) "x" -int(3) -bool(false) -resource(%d) of type (stream) -string(1) "t" -int(4) -bool(false) -resource(%d) of type (stream) -string(1) " " -int(5) -bool(false) -resource(%d) of type (stream) -string(1) "t" -int(6) -bool(false) -resource(%d) of type (stream) --- Innerloop iteration 6 of Outerloop Iteration 2 -- --- Testing fgetc() : file opened using r+t mode -- -string(1) "t" -int(1) -bool(false) -resource(%d) of type (stream) -string(1) "e" -int(2) -bool(false) -resource(%d) of type (stream) -string(1) "x" -int(3) -bool(false) -resource(%d) of type (stream) -string(1) "t" -int(4) -bool(false) -resource(%d) of type (stream) -string(1) " " -int(5) -bool(false) -resource(%d) of type (stream) -string(1) "t" -int(6) -bool(false) -resource(%d) of type (stream) ---- Outerloop iteration 3 --- --- Innerloop iteration 1 of Outerloop Iteration 3 -- --- Testing fgetc() : file opened using r mode -- -string(1) "l" -int(1) -bool(false) -resource(%d) of type (stream) -string(1) "i" -int(2) -bool(false) -resource(%d) of type (stream) -string(1) "n" -int(3) -bool(false) -resource(%d) of type (stream) -string(1) "e" -int(4) -bool(false) -resource(%d) of type (stream) -string(1) " -" -int(5) -bool(false) -resource(%d) of type (stream) -string(1) "l" -int(6) -bool(false) -resource(%d) of type (stream) --- Innerloop iteration 2 of Outerloop Iteration 3 -- --- Testing fgetc() : file opened using rb mode -- -string(1) "l" -int(1) -bool(false) -resource(%d) of type (stream) -string(1) "i" -int(2) -bool(false) -resource(%d) of type (stream) -string(1) "n" -int(3) -bool(false) -resource(%d) of type (stream) -string(1) "e" -int(4) -bool(false) -resource(%d) of type (stream) -string(1) " -" -int(5) -bool(false) -resource(%d) of type (stream) -string(1) "l" -int(6) -bool(false) -resource(%d) of type (stream) --- Innerloop iteration 3 of Outerloop Iteration 3 -- --- Testing fgetc() : file opened using rt mode -- -string(1) "l" -int(1) -bool(false) -resource(%d) of type (stream) -string(1) "i" -int(2) -bool(false) -resource(%d) of type (stream) -string(1) "n" -int(3) -bool(false) -resource(%d) of type (stream) -string(1) "e" -int(4) -bool(false) -resource(%d) of type (stream) -string(1) " -" -int(5) -bool(false) -resource(%d) of type (stream) -string(1) "l" -int(6) -bool(false) -resource(%d) of type (stream) --- Innerloop iteration 4 of Outerloop Iteration 3 -- --- Testing fgetc() : file opened using r+ mode -- -string(1) "l" -int(1) -bool(false) -resource(%d) of type (stream) -string(1) "i" -int(2) -bool(false) -resource(%d) of type (stream) -string(1) "n" -int(3) -bool(false) -resource(%d) of type (stream) -string(1) "e" -int(4) -bool(false) -resource(%d) of type (stream) -string(1) " -" -int(5) -bool(false) -resource(%d) of type (stream) -string(1) "l" -int(6) -bool(false) -resource(%d) of type (stream) --- Innerloop iteration 5 of Outerloop Iteration 3 -- --- Testing fgetc() : file opened using r+b mode -- -string(1) "l" -int(1) -bool(false) -resource(%d) of type (stream) -string(1) "i" -int(2) -bool(false) -resource(%d) of type (stream) -string(1) "n" -int(3) -bool(false) -resource(%d) of type (stream) -string(1) "e" -int(4) -bool(false) -resource(%d) of type (stream) -string(1) " -" -int(5) -bool(false) -resource(%d) of type (stream) -string(1) "l" -int(6) -bool(false) -resource(%d) of type (stream) --- Innerloop iteration 6 of Outerloop Iteration 3 -- --- Testing fgetc() : file opened using r+t mode -- -string(1) "l" -int(1) -bool(false) -resource(%d) of type (stream) -string(1) "i" -int(2) -bool(false) -resource(%d) of type (stream) -string(1) "n" -int(3) -bool(false) -resource(%d) of type (stream) -string(1) "e" -int(4) -bool(false) -resource(%d) of type (stream) -string(1) " -" -int(5) -bool(false) -resource(%d) of type (stream) -string(1) "l" -int(6) -bool(false) -resource(%d) of type (stream) -Done ---UEXPECTF-- -*** Testing fgetc() : basic operations *** ---- Outerloop iteration 1 --- --- Innerloop iteration 1 of Outerloop Iteration 1 -- --- Testing fgetc() : file opened using r mode -- -string(1) "2" -int(1) -bool(false) -resource(%d) of type (stream) -string(1) "2" -int(2) -bool(false) -resource(%d) of type (stream) -string(1) "2" -int(3) -bool(false) -resource(%d) of type (stream) -string(1) "2" -int(4) -bool(false) -resource(%d) of type (stream) -string(1) "2" -int(5) -bool(false) -resource(%d) of type (stream) -string(1) "2" -int(6) -bool(false) -resource(%d) of type (stream) --- Innerloop iteration 2 of Outerloop Iteration 1 -- --- Testing fgetc() : file opened using rb mode -- -string(1) "2" -int(1) -bool(false) -resource(%d) of type (stream) -string(1) "2" -int(2) -bool(false) -resource(%d) of type (stream) -string(1) "2" -int(3) -bool(false) -resource(%d) of type (stream) -string(1) "2" -int(4) -bool(false) -resource(%d) of type (stream) -string(1) "2" -int(5) -bool(false) -resource(%d) of type (stream) -string(1) "2" -int(6) -bool(false) -resource(%d) of type (stream) --- Innerloop iteration 3 of Outerloop Iteration 1 -- --- Testing fgetc() : file opened using rt mode -- unicode(1) "2" int(1) bool(false) diff --git a/ext/standard/tests/file/fgetc_error.phpt b/ext/standard/tests/file/fgetc_error.phpt index ff2873a06a..837e1f37aa 100644 --- a/ext/standard/tests/file/fgetc_error.phpt +++ b/ext/standard/tests/file/fgetc_error.phpt @@ -64,46 +64,10 @@ Warning: fgetc(): supplied argument is not a valid stream resource in %s on line bool(false) -- Iteration 5 -- -Warning: fgetc(): supplied argument is not a valid stream resource in %s on line %s -bool(false) --- Iteration 6 -- - -Warning: fgetc(): supplied argument is not a valid stream resource in %s on line %d -bool(false) -Done ---UEXPECTF-- -*** Testing error conditions *** --- Testing fgetc() with zero argument -- - -Warning: Wrong parameter count for fgetc() in %s on line %d -NULL --- Testing fgetc() with more than expected number of arguments -- - -Warning: Wrong parameter count for fgetc() in %s on line %d -NULL --- Testing fgetc() with invalid arguments -- --- Iteration 1 -- - -Warning: fgetc(): supplied argument is not a valid stream resource in %s on line %d -bool(false) --- Iteration 2 -- - -Warning: fgetc(): supplied argument is not a valid stream resource in %s on line %d -bool(false) --- Iteration 3 -- - -Warning: fgetc(): supplied argument is not a valid stream resource in %s on line %d -bool(false) --- Iteration 4 -- - -Warning: fgetc(): supplied argument is not a valid stream resource in %s on line %d -bool(false) --- Iteration 5 -- - Warning: fgetc(): supplied argument is not a valid stream resource in %s on line %d bool(false) -- Iteration 6 -- Warning: fgetc(): supplied argument is not a valid stream resource in %s on line %d bool(false) -Done \ No newline at end of file +Done diff --git a/ext/standard/tests/file/fgetc_variation1.phpt b/ext/standard/tests/file/fgetc_variation1.phpt index ad4dd01ed8..4fb1277f90 100644 --- a/ext/standard/tests/file/fgetc_variation1.phpt +++ b/ext/standard/tests/file/fgetc_variation1.phpt @@ -46,53 +46,7 @@ echo "Done\n"; ---EXPECTF-- -*** Testing fgetc() : usage variations *** --- Testing fgetc() with file whose file pointer is pointing to EOF -- --- File opened in mode : r -- -int(0) -bool(false) -int(1024) -bool(false) -bool(true) -int(1024) --- File opened in mode : rb -- -int(0) -bool(false) -int(1024) -bool(false) -bool(true) -int(1024) --- File opened in mode : rt -- -int(0) -bool(false) -int(1024) -bool(false) -bool(true) -int(1024) --- File opened in mode : r+ -- -int(0) -bool(false) -int(1024) -bool(false) -bool(true) -int(1024) --- File opened in mode : r+b -- -int(0) -bool(false) -int(1024) -bool(false) -bool(true) -int(1024) --- File opened in mode : r+t -- -int(0) -bool(false) -int(1024) -bool(false) -bool(true) -int(1024) -Done ---UEXPECTF-- +--EXPECT-- *** Testing fgetc() : usage variations *** -- Testing fgetc() with file whose file pointer is pointing to EOF -- -- File opened in mode : r -- diff --git a/ext/standard/tests/file/fgetc_variation2.phpt b/ext/standard/tests/file/fgetc_variation2.phpt index de93518e7b..e7f22b3041 100644 --- a/ext/standard/tests/file/fgetc_variation2.phpt +++ b/ext/standard/tests/file/fgetc_variation2.phpt @@ -50,16 +50,3 @@ Notice: Undefined variable: file_handle in %s on line %d Warning: fgetc(): supplied argument is not a valid stream resource in %s on line %d bool(false) Done ---UEXPECTF-- -*** Testing fgetc() : usage variations *** --- Testing fgetc() with closed handle -- - -Warning: fgetc(): %d is not a valid stream resource in %s on line %d -bool(false) --- Testing fgetc() with unset handle -- - -Notice: Undefined variable: file_handle in %s on line %d - -Warning: fgetc(): supplied argument is not a valid stream resource in %s on line %d -bool(false) -Done diff --git a/ext/standard/tests/file/fgetc_variation3.phpt b/ext/standard/tests/file/fgetc_variation3.phpt index e1b97c5ee4..263f8b6b90 100644 --- a/ext/standard/tests/file/fgetc_variation3.phpt +++ b/ext/standard/tests/file/fgetc_variation3.phpt @@ -52,6 +52,8 @@ echo "Done\n"; --EXPECTF-- *** Testing fgetc() with file opened in write only mode *** -- File opened in mode : w -- + +Notice: fwrite(): 20 character unicode buffer downcoded for binary stream runtime_encoding in %sfgetc_variation3.php on line %d bool(true) int(0) bool(false) @@ -59,6 +61,8 @@ bool(false) int(0) bool(false) -- File opened in mode : wb -- + +Notice: fwrite(): 20 character unicode buffer downcoded for binary stream runtime_encoding in %sfgetc_variation3.php on line %d bool(true) int(0) bool(false) @@ -73,6 +77,8 @@ bool(false) int(0) bool(false) -- File opened in mode : a -- + +Notice: fwrite(): 20 character unicode buffer downcoded for binary stream runtime_encoding in %sfgetc_variation3.php on line %d bool(true) int(0) bool(false) @@ -80,6 +86,8 @@ bool(false) int(0) bool(false) -- File opened in mode : ab -- + +Notice: fwrite(): 20 character unicode buffer downcoded for binary stream runtime_encoding in %sfgetc_variation3.php on line %d bool(true) int(0) bool(false) @@ -94,6 +102,8 @@ bool(false) int(0) bool(false) -- File opened in mode : x -- + +Notice: fwrite(): 20 character unicode buffer downcoded for binary stream runtime_encoding in %sfgetc_variation3.php on line %d bool(true) int(0) bool(false) @@ -101,6 +111,8 @@ bool(false) int(0) bool(false) -- File opened in mode : xb -- + +Notice: fwrite(): 20 character unicode buffer downcoded for binary stream runtime_encoding in %sfgetc_variation3.php on line %d bool(true) int(0) bool(false) @@ -108,72 +120,8 @@ bool(false) int(0) bool(false) -- File opened in mode : xt -- -bool(true) -int(0) -bool(false) -bool(false) -int(0) -bool(false) -Done ---UEXPECTF-- -*** Testing fgetc() with file opened in write only mode *** --- File opened in mode : w -- -bool(true) -int(0) -bool(false) -bool(false) -int(0) -bool(false) --- File opened in mode : wb -- -bool(true) -int(0) -bool(false) -bool(false) -int(0) -bool(false) --- File opened in mode : wt -- -bool(true) -int(0) -bool(false) -bool(false) -int(0) -bool(false) --- File opened in mode : a -- -bool(true) -int(0) -bool(false) -bool(false) -int(0) -bool(false) --- File opened in mode : ab -- -bool(true) -int(0) -bool(false) -bool(false) -int(0) -bool(false) --- File opened in mode : at -- -bool(true) -int(0) -bool(false) -bool(false) -int(0) -bool(false) --- File opened in mode : x -- -bool(true) -int(0) -bool(false) -bool(false) -int(0) -bool(false) --- File opened in mode : xb -- -bool(true) -int(0) -bool(false) -bool(false) -int(0) -bool(false) --- File opened in mode : xt -- + +Notice: fwrite(): 20 character unicode buffer downcoded for binary stream runtime_encoding in %sfgetc_variation3.php on line %d bool(true) int(0) bool(false) diff --git a/ext/standard/tests/file/fgetc_variation4.phpt b/ext/standard/tests/file/fgetc_variation4.phpt index eb40a72091..9da2a3efaf 100644 --- a/ext/standard/tests/file/fgetc_variation4.phpt +++ b/ext/standard/tests/file/fgetc_variation4.phpt @@ -50,245 +50,7 @@ foreach ($file_modes as $file_mode ) { echo "Done\n"; ?> ---EXPECTF-- - *** Testing fgetc() : usage variations *** --- Testing fgetc() with files opened with different read modes -- --- File opened in mode : a+ -- -bool(true) -int(0) -bool(false) -string(1) "f" -int(1) -bool(false) -string(1) "g" -int(2) -bool(false) -string(1) "e" -int(3) -bool(false) -string(1) "t" -int(4) -bool(false) -string(1) "c" -int(5) -bool(false) -string(1) " -" -int(6) -bool(false) -string(1) " " -int(7) -bool(false) --- File opened in mode : a+b -- -bool(true) -int(0) -bool(false) -string(1) "f" -int(1) -bool(false) -string(1) "g" -int(2) -bool(false) -string(1) "e" -int(3) -bool(false) -string(1) "t" -int(4) -bool(false) -string(1) "c" -int(5) -bool(false) -string(1) " -" -int(6) -bool(false) -string(1) " " -int(7) -bool(false) --- File opened in mode : a+t -- -bool(true) -int(0) -bool(false) -string(1) "f" -int(1) -bool(false) -string(1) "g" -int(2) -bool(false) -string(1) "e" -int(3) -bool(false) -string(1) "t" -int(4) -bool(false) -string(1) "c" -int(5) -bool(false) -string(1) " -" -int(6) -bool(false) -string(1) " " -int(7) -bool(false) --- File opened in mode : x+ -- -bool(true) -int(0) -bool(false) -string(1) "f" -int(1) -bool(false) -string(1) "g" -int(2) -bool(false) -string(1) "e" -int(3) -bool(false) -string(1) "t" -int(4) -bool(false) -string(1) "c" -int(5) -bool(false) -string(1) " -" -int(6) -bool(false) -string(1) " " -int(7) -bool(false) --- File opened in mode : x+b -- -bool(true) -int(0) -bool(false) -string(1) "f" -int(1) -bool(false) -string(1) "g" -int(2) -bool(false) -string(1) "e" -int(3) -bool(false) -string(1) "t" -int(4) -bool(false) -string(1) "c" -int(5) -bool(false) -string(1) " -" -int(6) -bool(false) -string(1) " " -int(7) -bool(false) --- File opened in mode : x+t -- -bool(true) -int(0) -bool(false) -string(1) "f" -int(1) -bool(false) -string(1) "g" -int(2) -bool(false) -string(1) "e" -int(3) -bool(false) -string(1) "t" -int(4) -bool(false) -string(1) "c" -int(5) -bool(false) -string(1) " -" -int(6) -bool(false) -string(1) " " -int(7) -bool(false) --- File opened in mode : w+ -- -bool(true) -int(0) -bool(false) -string(1) "f" -int(1) -bool(false) -string(1) "g" -int(2) -bool(false) -string(1) "e" -int(3) -bool(false) -string(1) "t" -int(4) -bool(false) -string(1) "c" -int(5) -bool(false) -string(1) " -" -int(6) -bool(false) -string(1) " " -int(7) -bool(false) --- File opened in mode : w+b -- -bool(true) -int(0) -bool(false) -string(1) "f" -int(1) -bool(false) -string(1) "g" -int(2) -bool(false) -string(1) "e" -int(3) -bool(false) -string(1) "t" -int(4) -bool(false) -string(1) "c" -int(5) -bool(false) -string(1) " -" -int(6) -bool(false) -string(1) " " -int(7) -bool(false) --- File opened in mode : w+t -- -bool(true) -int(0) -bool(false) -string(1) "f" -int(1) -bool(false) -string(1) "g" -int(2) -bool(false) -string(1) "e" -int(3) -bool(false) -string(1) "t" -int(4) -bool(false) -string(1) "c" -int(5) -bool(false) -string(1) " -" -int(6) -bool(false) -string(1) " " -int(7) -bool(false) -Done ---UEXPECTF-- +--EXPECT-- *** Testing fgetc() : usage variations *** -- Testing fgetc() with files opened with different read modes -- -- File opened in mode : a+ -- diff --git a/ext/standard/tests/file/fgetcsv.phpt b/ext/standard/tests/file/fgetcsv.phpt index e2e3a862c8..9c678e4149 100644 --- a/ext/standard/tests/file/fgetcsv.phpt +++ b/ext/standard/tests/file/fgetcsv.phpt @@ -25,7 +25,7 @@ various fgetcsv() functionality tests 'aaa"\\"a","bbb"' ); - $file = dirname(__FILE__) . 'fgetcsv.csv'; + $file = dirname(__FILE__) . '/fgetcsv.csv'; @unlink($file); foreach ($list as $v) { $fp = fopen($file, "wt"); @@ -34,8 +34,10 @@ various fgetcsv() functionality tests var_dump(fgetcsv(fopen($file, "r"), 1024)); } - @unlink($file); + ?> +--CLEAN-- + --EXPECT-- array(2) { [0]=> diff --git a/ext/standard/tests/file/fgetcsv_error.phpt b/ext/standard/tests/file/fgetcsv_error.phpt index 0ad42d62a2..46d8d73f83 100644 --- a/ext/standard/tests/file/fgetcsv_error.phpt +++ b/ext/standard/tests/file/fgetcsv_error.phpt @@ -53,61 +53,6 @@ NULL -- Testing fgetcsv() with invalid arguments -- -- Iteration 1 -- -Warning: fgetcsv() expects parameter 1 to be resource, string given in %s on line %d -NULL - -Warning: fgetcsv() expects parameter 1 to be resource, string given in %s on line %d -NULL --- Iteration 2 -- - -Warning: fgetcsv() expects parameter 1 to be resource, integer given in %s on line %d -NULL - -Warning: fgetcsv() expects parameter 1 to be resource, integer given in %s on line %d -NULL --- Iteration 3 -- - -Warning: fgetcsv() expects parameter 1 to be resource, double given in %s on line %d -NULL - -Warning: fgetcsv() expects parameter 1 to be resource, double given in %s on line %d -NULL --- Iteration 4 -- - -Warning: fgetcsv() expects parameter 1 to be resource, boolean given in %s on line %d -NULL - -Warning: fgetcsv() expects parameter 1 to be resource, boolean given in %s on line %d -NULL --- Iteration 5 -- - -Warning: fgetcsv() expects parameter 1 to be resource, array given in %s on line %d -NULL - -Warning: fgetcsv() expects parameter 1 to be resource, array given in %s on line %d -NULL --- Iteration 6 -- - -Warning: fgetcsv() expects parameter 1 to be resource, object given in %s on line %d -NULL - -Warning: fgetcsv() expects parameter 1 to be resource, object given in %s on line %d -NULL -Done - ---UEXPECTF-- -*** Testing error conditions *** --- Testing fgetcsv() with zero argument -- - -Warning: fgetcsv() expects at least 1 parameter, 0 given in %s on line %d -NULL --- Testing fgetcsv() with more than expected number of arguments -- - -Warning: fgetcsv() expects at most 5 parameters, 6 given in %s on line %d -NULL --- Testing fgetcsv() with invalid arguments -- --- Iteration 1 -- - Warning: fgetcsv() expects parameter 1 to be resource, Unicode string given in %s on line %d NULL diff --git a/ext/standard/tests/file/fgetcsv_variation1.phpt b/ext/standard/tests/file/fgetcsv_variation1.phpt index 296bf9e4a8..9929a7d9b1 100644 --- a/ext/standard/tests/file/fgetcsv_variation1.phpt +++ b/ext/standard/tests/file/fgetcsv_variation1.phpt @@ -110,1330 +110,6 @@ array(2) { int(14) bool(false) --- Testing fgetcsv() with file opened using rt mode -- -array(2) { - [0]=> - string(5) "water" - [1]=> - string(5) "fruit" -} -int(14) -bool(false) - --- Testing fgetcsv() with file opened using r+ mode -- -array(2) { - [0]=> - string(5) "water" - [1]=> - string(5) "fruit" -} -int(14) -bool(false) - --- Testing fgetcsv() with file opened using r+b mode -- -array(2) { - [0]=> - string(5) "water" - [1]=> - string(5) "fruit" -} -int(14) -bool(false) - --- Testing fgetcsv() with file opened using r+t mode -- -array(2) { - [0]=> - string(5) "water" - [1]=> - string(5) "fruit" -} -int(14) -bool(false) - --- Testing fgetcsv() with file opened using a+ mode -- -array(2) { - [0]=> - string(5) "water" - [1]=> - string(5) "fruit" -} -int(14) -bool(false) - --- Testing fgetcsv() with file opened using a+b mode -- -array(2) { - [0]=> - string(5) "water" - [1]=> - string(5) "fruit" -} -int(14) -bool(false) - --- Testing fgetcsv() with file opened using a+t mode -- -array(2) { - [0]=> - string(5) "water" - [1]=> - string(5) "fruit" -} -int(14) -bool(false) - --- Testing fgetcsv() with file opened using w+ mode -- -array(2) { - [0]=> - string(5) "water" - [1]=> - string(5) "fruit" -} -int(14) -bool(false) - --- Testing fgetcsv() with file opened using w+b mode -- -array(2) { - [0]=> - string(5) "water" - [1]=> - string(5) "fruit" -} -int(14) -bool(false) - --- Testing fgetcsv() with file opened using w+t mode -- -array(2) { - [0]=> - string(5) "water" - [1]=> - string(5) "fruit" -} -int(14) -bool(false) - --- Testing fgetcsv() with file opened using x+ mode -- -array(2) { - [0]=> - string(5) "water" - [1]=> - string(5) "fruit" -} -int(14) -bool(false) - --- Testing fgetcsv() with file opened using x+b mode -- -array(2) { - [0]=> - string(5) "water" - [1]=> - string(5) "fruit" -} -int(14) -bool(false) - --- Testing fgetcsv() with file opened using x+t mode -- -array(2) { - [0]=> - string(5) "water" - [1]=> - string(5) "fruit" -} -int(14) -bool(false) - --- Testing fgetcsv() with file opened using r mode -- -array(2) { - [0]=> - string(5) "water" - [1]=> - string(5) "fruit" -} -int(16) -bool(false) - --- Testing fgetcsv() with file opened using rb mode -- -array(2) { - [0]=> - string(5) "water" - [1]=> - string(5) "fruit" -} -int(16) -bool(false) - --- Testing fgetcsv() with file opened using rt mode -- -array(2) { - [0]=> - string(5) "water" - [1]=> - string(5) "fruit" -} -int(16) -bool(false) - --- Testing fgetcsv() with file opened using r+ mode -- -array(2) { - [0]=> - string(5) "water" - [1]=> - string(5) "fruit" -} -int(16) -bool(false) - --- Testing fgetcsv() with file opened using r+b mode -- -array(2) { - [0]=> - string(5) "water" - [1]=> - string(5) "fruit" -} -int(16) -bool(false) - --- Testing fgetcsv() with file opened using r+t mode -- -array(2) { - [0]=> - string(5) "water" - [1]=> - string(5) "fruit" -} -int(16) -bool(false) - --- Testing fgetcsv() with file opened using a+ mode -- -array(2) { - [0]=> - string(5) "water" - [1]=> - string(5) "fruit" -} -int(16) -bool(false) - --- Testing fgetcsv() with file opened using a+b mode -- -array(2) { - [0]=> - string(5) "water" - [1]=> - string(5) "fruit" -} -int(16) -bool(false) - --- Testing fgetcsv() with file opened using a+t mode -- -array(2) { - [0]=> - string(5) "water" - [1]=> - string(5) "fruit" -} -int(16) -bool(false) - --- Testing fgetcsv() with file opened using w+ mode -- -array(2) { - [0]=> - string(5) "water" - [1]=> - string(5) "fruit" -} -int(16) -bool(false) - --- Testing fgetcsv() with file opened using w+b mode -- -array(2) { - [0]=> - string(5) "water" - [1]=> - string(5) "fruit" -} -int(16) -bool(false) - --- Testing fgetcsv() with file opened using w+t mode -- -array(2) { - [0]=> - string(5) "water" - [1]=> - string(5) "fruit" -} -int(16) -bool(false) - --- Testing fgetcsv() with file opened using x+ mode -- -array(2) { - [0]=> - string(5) "water" - [1]=> - string(5) "fruit" -} -int(16) -bool(false) - --- Testing fgetcsv() with file opened using x+b mode -- -array(2) { - [0]=> - string(5) "water" - [1]=> - string(5) "fruit" -} -int(16) -bool(false) - --- Testing fgetcsv() with file opened using x+t mode -- -array(2) { - [0]=> - string(5) "water" - [1]=> - string(5) "fruit" -} -int(16) -bool(false) - --- Testing fgetcsv() with file opened using r mode -- -array(2) { - [0]=> - string(5) "water" - [1]=> - string(5) "fruit" -} -int(16) -bool(false) - --- Testing fgetcsv() with file opened using rb mode -- -array(2) { - [0]=> - string(5) "water" - [1]=> - string(5) "fruit" -} -int(16) -bool(false) - --- Testing fgetcsv() with file opened using rt mode -- -array(2) { - [0]=> - string(5) "water" - [1]=> - string(5) "fruit" -} -int(16) -bool(false) - --- Testing fgetcsv() with file opened using r+ mode -- -array(2) { - [0]=> - string(5) "water" - [1]=> - string(5) "fruit" -} -int(16) -bool(false) - --- Testing fgetcsv() with file opened using r+b mode -- -array(2) { - [0]=> - string(5) "water" - [1]=> - string(5) "fruit" -} -int(16) -bool(false) - --- Testing fgetcsv() with file opened using r+t mode -- -array(2) { - [0]=> - string(5) "water" - [1]=> - string(5) "fruit" -} -int(16) -bool(false) - --- Testing fgetcsv() with file opened using a+ mode -- -array(2) { - [0]=> - string(5) "water" - [1]=> - string(5) "fruit" -} -int(16) -bool(false) - --- Testing fgetcsv() with file opened using a+b mode -- -array(2) { - [0]=> - string(5) "water" - [1]=> - string(5) "fruit" -} -int(16) -bool(false) - --- Testing fgetcsv() with file opened using a+t mode -- -array(2) { - [0]=> - string(5) "water" - [1]=> - string(5) "fruit" -} -int(16) -bool(false) - --- Testing fgetcsv() with file opened using w+ mode -- -array(2) { - [0]=> - string(5) "water" - [1]=> - string(5) "fruit" -} -int(16) -bool(false) - --- Testing fgetcsv() with file opened using w+b mode -- -array(2) { - [0]=> - string(5) "water" - [1]=> - string(5) "fruit" -} -int(16) -bool(false) - --- Testing fgetcsv() with file opened using w+t mode -- -array(2) { - [0]=> - string(5) "water" - [1]=> - string(5) "fruit" -} -int(16) -bool(false) - --- Testing fgetcsv() with file opened using x+ mode -- -array(2) { - [0]=> - string(5) "water" - [1]=> - string(5) "fruit" -} -int(16) -bool(false) - --- Testing fgetcsv() with file opened using x+b mode -- -array(2) { - [0]=> - string(5) "water" - [1]=> - string(5) "fruit" -} -int(16) -bool(false) - --- Testing fgetcsv() with file opened using x+t mode -- -array(2) { - [0]=> - string(5) "water" - [1]=> - string(5) "fruit" -} -int(16) -bool(false) - --- Testing fgetcsv() with file opened using r mode -- -array(2) { - [0]=> - string(5) "water" - [1]=> - string(5) "fruit" -} -int(16) -bool(false) - --- Testing fgetcsv() with file opened using rb mode -- -array(2) { - [0]=> - string(5) "water" - [1]=> - string(5) "fruit" -} -int(16) -bool(false) - --- Testing fgetcsv() with file opened using rt mode -- -array(2) { - [0]=> - string(5) "water" - [1]=> - string(5) "fruit" -} -int(16) -bool(false) - --- Testing fgetcsv() with file opened using r+ mode -- -array(2) { - [0]=> - string(5) "water" - [1]=> - string(5) "fruit" -} -int(16) -bool(false) - --- Testing fgetcsv() with file opened using r+b mode -- -array(2) { - [0]=> - string(5) "water" - [1]=> - string(5) "fruit" -} -int(16) -bool(false) - --- Testing fgetcsv() with file opened using r+t mode -- -array(2) { - [0]=> - string(5) "water" - [1]=> - string(5) "fruit" -} -int(16) -bool(false) - --- Testing fgetcsv() with file opened using a+ mode -- -array(2) { - [0]=> - string(5) "water" - [1]=> - string(5) "fruit" -} -int(16) -bool(false) - --- Testing fgetcsv() with file opened using a+b mode -- -array(2) { - [0]=> - string(5) "water" - [1]=> - string(5) "fruit" -} -int(16) -bool(false) - --- Testing fgetcsv() with file opened using a+t mode -- -array(2) { - [0]=> - string(5) "water" - [1]=> - string(5) "fruit" -} -int(16) -bool(false) - --- Testing fgetcsv() with file opened using w+ mode -- -array(2) { - [0]=> - string(5) "water" - [1]=> - string(5) "fruit" -} -int(16) -bool(false) - --- Testing fgetcsv() with file opened using w+b mode -- -array(2) { - [0]=> - string(5) "water" - [1]=> - string(5) "fruit" -} -int(16) -bool(false) - --- Testing fgetcsv() with file opened using w+t mode -- -array(2) { - [0]=> - string(5) "water" - [1]=> - string(5) "fruit" -} -int(16) -bool(false) - --- Testing fgetcsv() with file opened using x+ mode -- -array(2) { - [0]=> - string(5) "water" - [1]=> - string(5) "fruit" -} -int(16) -bool(false) - --- Testing fgetcsv() with file opened using x+b mode -- -array(2) { - [0]=> - string(5) "water" - [1]=> - string(5) "fruit" -} -int(16) -bool(false) - --- Testing fgetcsv() with file opened using x+t mode -- -array(2) { - [0]=> - string(5) "water" - [1]=> - string(5) "fruit" -} -int(16) -bool(false) - --- Testing fgetcsv() with file opened using r mode -- -array(2) { - [0]=> - string(11) "water=fruit" - [1]=> - string(0) "" -} -int(16) -bool(false) - --- Testing fgetcsv() with file opened using rb mode -- -array(2) { - [0]=> - string(11) "water=fruit" - [1]=> - string(0) "" -} -int(16) -bool(false) - --- Testing fgetcsv() with file opened using rt mode -- -array(2) { - [0]=> - string(11) "water=fruit" - [1]=> - string(0) "" -} -int(16) -bool(false) - --- Testing fgetcsv() with file opened using r+ mode -- -array(2) { - [0]=> - string(11) "water=fruit" - [1]=> - string(0) "" -} -int(16) -bool(false) - --- Testing fgetcsv() with file opened using r+b mode -- -array(2) { - [0]=> - string(11) "water=fruit" - [1]=> - string(0) "" -} -int(16) -bool(false) - --- Testing fgetcsv() with file opened using r+t mode -- -array(2) { - [0]=> - string(11) "water=fruit" - [1]=> - string(0) "" -} -int(16) -bool(false) - --- Testing fgetcsv() with file opened using a+ mode -- -array(2) { - [0]=> - string(11) "water=fruit" - [1]=> - string(0) "" -} -int(16) -bool(false) - --- Testing fgetcsv() with file opened using a+b mode -- -array(2) { - [0]=> - string(11) "water=fruit" - [1]=> - string(0) "" -} -int(16) -bool(false) - --- Testing fgetcsv() with file opened using a+t mode -- -array(2) { - [0]=> - string(11) "water=fruit" - [1]=> - string(0) "" -} -int(16) -bool(false) - --- Testing fgetcsv() with file opened using w+ mode -- -array(2) { - [0]=> - string(11) "water=fruit" - [1]=> - string(0) "" -} -int(16) -bool(false) - --- Testing fgetcsv() with file opened using w+b mode -- -array(2) { - [0]=> - string(11) "water=fruit" - [1]=> - string(0) "" -} -int(16) -bool(false) - --- Testing fgetcsv() with file opened using w+t mode -- -array(2) { - [0]=> - string(11) "water=fruit" - [1]=> - string(0) "" -} -int(16) -bool(false) - --- Testing fgetcsv() with file opened using x+ mode -- -array(2) { - [0]=> - string(11) "water=fruit" - [1]=> - string(0) "" -} -int(16) -bool(false) - --- Testing fgetcsv() with file opened using x+b mode -- -array(2) { - [0]=> - string(11) "water=fruit" - [1]=> - string(0) "" -} -int(16) -bool(false) - --- Testing fgetcsv() with file opened using x+t mode -- -array(2) { - [0]=> - string(11) "water=fruit" - [1]=> - string(0) "" -} -int(16) -bool(false) - --- Testing fgetcsv() with file opened using r mode -- -array(1) { - [0]=> - string(14) "water-fruitair" -} -int(18) -bool(false) - --- Testing fgetcsv() with file opened using rb mode -- -array(1) { - [0]=> - string(14) "water-fruitair" -} -int(18) -bool(false) - --- Testing fgetcsv() with file opened using rt mode -- -array(1) { - [0]=> - string(14) "water-fruitair" -} -int(18) -bool(false) - --- Testing fgetcsv() with file opened using r+ mode -- -array(1) { - [0]=> - string(14) "water-fruitair" -} -int(18) -bool(false) - --- Testing fgetcsv() with file opened using r+b mode -- -array(1) { - [0]=> - string(14) "water-fruitair" -} -int(18) -bool(false) - --- Testing fgetcsv() with file opened using r+t mode -- -array(1) { - [0]=> - string(14) "water-fruitair" -} -int(18) -bool(false) - --- Testing fgetcsv() with file opened using a+ mode -- -array(1) { - [0]=> - string(14) "water-fruitair" -} -int(18) -bool(false) - --- Testing fgetcsv() with file opened using a+b mode -- -array(1) { - [0]=> - string(14) "water-fruitair" -} -int(18) -bool(false) - --- Testing fgetcsv() with file opened using a+t mode -- -array(1) { - [0]=> - string(14) "water-fruitair" -} -int(18) -bool(false) - --- Testing fgetcsv() with file opened using w+ mode -- -array(1) { - [0]=> - string(14) "water-fruitair" -} -int(18) -bool(false) - --- Testing fgetcsv() with file opened using w+b mode -- -array(1) { - [0]=> - string(14) "water-fruitair" -} -int(18) -bool(false) - --- Testing fgetcsv() with file opened using w+t mode -- -array(1) { - [0]=> - string(14) "water-fruitair" -} -int(18) -bool(false) - --- Testing fgetcsv() with file opened using x+ mode -- -array(1) { - [0]=> - string(14) "water-fruitair" -} -int(18) -bool(false) - --- Testing fgetcsv() with file opened using x+b mode -- -array(1) { - [0]=> - string(14) "water-fruitair" -} -int(18) -bool(false) - --- Testing fgetcsv() with file opened using x+t mode -- -array(1) { - [0]=> - string(14) "water-fruitair" -} -int(18) -bool(false) - --- Testing fgetcsv() with file opened using r mode -- -array(3) { - [0]=> - string(11) "water-fruit" - [1]=> - string(3) "air" - [2]=> - string(0) "" -} -int(22) -bool(false) - --- Testing fgetcsv() with file opened using rb mode -- -array(3) { - [0]=> - string(11) "water-fruit" - [1]=> - string(3) "air" - [2]=> - string(0) "" -} -int(22) -bool(false) - --- Testing fgetcsv() with file opened using rt mode -- -array(3) { - [0]=> - string(11) "water-fruit" - [1]=> - string(3) "air" - [2]=> - string(0) "" -} -int(22) -bool(false) - --- Testing fgetcsv() with file opened using r+ mode -- -array(3) { - [0]=> - string(11) "water-fruit" - [1]=> - string(3) "air" - [2]=> - string(0) "" -} -int(22) -bool(false) - --- Testing fgetcsv() with file opened using r+b mode -- -array(3) { - [0]=> - string(11) "water-fruit" - [1]=> - string(3) "air" - [2]=> - string(0) "" -} -int(22) -bool(false) - --- Testing fgetcsv() with file opened using r+t mode -- -array(3) { - [0]=> - string(11) "water-fruit" - [1]=> - string(3) "air" - [2]=> - string(0) "" -} -int(22) -bool(false) - --- Testing fgetcsv() with file opened using a+ mode -- -array(3) { - [0]=> - string(11) "water-fruit" - [1]=> - string(3) "air" - [2]=> - string(0) "" -} -int(22) -bool(false) - --- Testing fgetcsv() with file opened using a+b mode -- -array(3) { - [0]=> - string(11) "water-fruit" - [1]=> - string(3) "air" - [2]=> - string(0) "" -} -int(22) -bool(false) - --- Testing fgetcsv() with file opened using a+t mode -- -array(3) { - [0]=> - string(11) "water-fruit" - [1]=> - string(3) "air" - [2]=> - string(0) "" -} -int(22) -bool(false) - --- Testing fgetcsv() with file opened using w+ mode -- -array(3) { - [0]=> - string(11) "water-fruit" - [1]=> - string(3) "air" - [2]=> - string(0) "" -} -int(22) -bool(false) - --- Testing fgetcsv() with file opened using w+b mode -- -array(3) { - [0]=> - string(11) "water-fruit" - [1]=> - string(3) "air" - [2]=> - string(0) "" -} -int(22) -bool(false) - --- Testing fgetcsv() with file opened using w+t mode -- -array(3) { - [0]=> - string(11) "water-fruit" - [1]=> - string(3) "air" - [2]=> - string(0) "" -} -int(22) -bool(false) - --- Testing fgetcsv() with file opened using x+ mode -- -array(3) { - [0]=> - string(11) "water-fruit" - [1]=> - string(3) "air" - [2]=> - string(0) "" -} -int(22) -bool(false) - --- Testing fgetcsv() with file opened using x+b mode -- -array(3) { - [0]=> - string(11) "water-fruit" - [1]=> - string(3) "air" - [2]=> - string(0) "" -} -int(22) -bool(false) - --- Testing fgetcsv() with file opened using x+t mode -- -array(3) { - [0]=> - string(11) "water-fruit" - [1]=> - string(3) "air" - [2]=> - string(0) "" -} -int(22) -bool(false) - --- Testing fgetcsv() with file opened using r mode -- -array(6) { - [0]=> - string(4) """""" - [1]=> - string(1) """ - [2]=> - string(1) "," - [3]=> - string(1) """ - [4]=> - string(1) "," - [5]=> - string(4) ",,,," -} -int(24) -bool(false) - --- Testing fgetcsv() with file opened using rb mode -- -array(6) { - [0]=> - string(4) """""" - [1]=> - string(1) """ - [2]=> - string(1) "," - [3]=> - string(1) """ - [4]=> - string(1) "," - [5]=> - string(4) ",,,," -} -int(24) -bool(false) - --- Testing fgetcsv() with file opened using rt mode -- -array(6) { - [0]=> - string(4) """""" - [1]=> - string(1) """ - [2]=> - string(1) "," - [3]=> - string(1) """ - [4]=> - string(1) "," - [5]=> - string(4) ",,,," -} -int(24) -bool(false) - --- Testing fgetcsv() with file opened using r+ mode -- -array(6) { - [0]=> - string(4) """""" - [1]=> - string(1) """ - [2]=> - string(1) "," - [3]=> - string(1) """ - [4]=> - string(1) "," - [5]=> - string(4) ",,,," -} -int(24) -bool(false) - --- Testing fgetcsv() with file opened using r+b mode -- -array(6) { - [0]=> - string(4) """""" - [1]=> - string(1) """ - [2]=> - string(1) "," - [3]=> - string(1) """ - [4]=> - string(1) "," - [5]=> - string(4) ",,,," -} -int(24) -bool(false) - --- Testing fgetcsv() with file opened using r+t mode -- -array(6) { - [0]=> - string(4) """""" - [1]=> - string(1) """ - [2]=> - string(1) "," - [3]=> - string(1) """ - [4]=> - string(1) "," - [5]=> - string(4) ",,,," -} -int(24) -bool(false) - --- Testing fgetcsv() with file opened using a+ mode -- -array(6) { - [0]=> - string(4) """""" - [1]=> - string(1) """ - [2]=> - string(1) "," - [3]=> - string(1) """ - [4]=> - string(1) "," - [5]=> - string(4) ",,,," -} -int(24) -bool(false) - --- Testing fgetcsv() with file opened using a+b mode -- -array(6) { - [0]=> - string(4) """""" - [1]=> - string(1) """ - [2]=> - string(1) "," - [3]=> - string(1) """ - [4]=> - string(1) "," - [5]=> - string(4) ",,,," -} -int(24) -bool(false) - --- Testing fgetcsv() with file opened using a+t mode -- -array(6) { - [0]=> - string(4) """""" - [1]=> - string(1) """ - [2]=> - string(1) "," - [3]=> - string(1) """ - [4]=> - string(1) "," - [5]=> - string(4) ",,,," -} -int(24) -bool(false) - --- Testing fgetcsv() with file opened using w+ mode -- -array(6) { - [0]=> - string(4) """""" - [1]=> - string(1) """ - [2]=> - string(1) "," - [3]=> - string(1) """ - [4]=> - string(1) "," - [5]=> - string(4) ",,,," -} -int(24) -bool(false) - --- Testing fgetcsv() with file opened using w+b mode -- -array(6) { - [0]=> - string(4) """""" - [1]=> - string(1) """ - [2]=> - string(1) "," - [3]=> - string(1) """ - [4]=> - string(1) "," - [5]=> - string(4) ",,,," -} -int(24) -bool(false) - --- Testing fgetcsv() with file opened using w+t mode -- -array(6) { - [0]=> - string(4) """""" - [1]=> - string(1) """ - [2]=> - string(1) "," - [3]=> - string(1) """ - [4]=> - string(1) "," - [5]=> - string(4) ",,,," -} -int(24) -bool(false) - --- Testing fgetcsv() with file opened using x+ mode -- -array(6) { - [0]=> - string(4) """""" - [1]=> - string(1) """ - [2]=> - string(1) "," - [3]=> - string(1) """ - [4]=> - string(1) "," - [5]=> - string(4) ",,,," -} -int(24) -bool(false) - --- Testing fgetcsv() with file opened using x+b mode -- -array(6) { - [0]=> - string(4) """""" - [1]=> - string(1) """ - [2]=> - string(1) "," - [3]=> - string(1) """ - [4]=> - string(1) "," - [5]=> - string(4) ",,,," -} -int(24) -bool(false) - --- Testing fgetcsv() with file opened using x+t mode -- -array(6) { - [0]=> - string(4) """""" - [1]=> - string(1) """ - [2]=> - string(1) "," - [3]=> - string(1) """ - [4]=> - string(1) "," - [5]=> - string(4) ",,,," -} -int(24) -bool(false) -Done - ---UEXPECT-- -*** Testing fgetcsv() : with all parameters specified *** - --- Testing fgetcsv() with file opened using r mode -- -array(2) { - [0]=> - string(5) "water" - [1]=> - string(5) "fruit" -} -int(14) -bool(false) - --- Testing fgetcsv() with file opened using rb mode -- -array(2) { - [0]=> - string(5) "water" - [1]=> - string(5) "fruit" -} -int(14) -bool(false) - -- Testing fgetcsv() with file opened using rt mode -- array(2) { [0]=> diff --git a/ext/standard/tests/file/fgetcsv_variation10.phpt b/ext/standard/tests/file/fgetcsv_variation10.phpt index eb3f4561ff..020da78a0e 100644 --- a/ext/standard/tests/file/fgetcsv_variation10.phpt +++ b/ext/standard/tests/file/fgetcsv_variation10.phpt @@ -1293,1207 +1293,3 @@ bool(false) int(%d) bool(true) Done - ---UEXPECTF-- -*** Testing fgetcsv() : with file pointer pointing to EOF *** - --- Testing fgetcsv() with file opened using r mode -- -int(0) -bool(false) -bool(false) -int(55) -bool(true) -bool(false) -int(55) -bool(true) - --- Testing fgetcsv() with file opened using rb mode -- -int(0) -bool(false) -bool(false) -int(55) -bool(true) -bool(false) -int(55) -bool(true) - --- Testing fgetcsv() with file opened using rt mode -- -int(0) -bool(false) -bool(false) -int(%d) -bool(true) -bool(false) -int(%d) -bool(true) - --- Testing fgetcsv() with file opened using r+ mode -- -int(0) -bool(false) -bool(false) -int(55) -bool(true) -bool(false) -int(55) -bool(true) - --- Testing fgetcsv() with file opened using r+b mode -- -int(0) -bool(false) -bool(false) -int(55) -bool(true) -bool(false) -int(55) -bool(true) - --- Testing fgetcsv() with file opened using r+t mode -- -int(0) -bool(false) -bool(false) -int(%d) -bool(true) -bool(false) -int(%d) -bool(true) - --- Testing fgetcsv() with file opened using a+ mode -- -int(0) -bool(false) -bool(false) -int(55) -bool(true) -bool(false) -int(55) -bool(true) - --- Testing fgetcsv() with file opened using a+b mode -- -int(0) -bool(false) -bool(false) -int(55) -bool(true) -bool(false) -int(55) -bool(true) - --- Testing fgetcsv() with file opened using a+t mode -- -int(0) -bool(false) -bool(false) -int(%d) -bool(true) -bool(false) -int(%d) -bool(true) - --- Testing fgetcsv() with file opened using w+ mode -- -int(0) -bool(false) -bool(false) -int(55) -bool(true) -bool(false) -int(55) -bool(true) - --- Testing fgetcsv() with file opened using w+b mode -- -int(0) -bool(false) -bool(false) -int(55) -bool(true) -bool(false) -int(55) -bool(true) - --- Testing fgetcsv() with file opened using w+t mode -- -int(0) -bool(false) -bool(false) -int(%d) -bool(true) -bool(false) -int(%d) -bool(true) - --- Testing fgetcsv() with file opened using x+ mode -- -int(0) -bool(false) -bool(false) -int(55) -bool(true) -bool(false) -int(55) -bool(true) - --- Testing fgetcsv() with file opened using x+b mode -- -int(0) -bool(false) -bool(false) -int(55) -bool(true) -bool(false) -int(55) -bool(true) - --- Testing fgetcsv() with file opened using x+t mode -- -int(0) -bool(false) -bool(false) -int(%d) -bool(true) -bool(false) -int(%d) -bool(true) - --- Testing fgetcsv() with file opened using r mode -- -int(0) -bool(false) -bool(false) -int(57) -bool(true) -bool(false) -int(57) -bool(true) - --- Testing fgetcsv() with file opened using rb mode -- -int(0) -bool(false) -bool(false) -int(57) -bool(true) -bool(false) -int(57) -bool(true) - --- Testing fgetcsv() with file opened using rt mode -- -int(0) -bool(false) -bool(false) -int(%d) -bool(true) -bool(false) -int(%d) -bool(true) - --- Testing fgetcsv() with file opened using r+ mode -- -int(0) -bool(false) -bool(false) -int(57) -bool(true) -bool(false) -int(57) -bool(true) - --- Testing fgetcsv() with file opened using r+b mode -- -int(0) -bool(false) -bool(false) -int(57) -bool(true) -bool(false) -int(57) -bool(true) - --- Testing fgetcsv() with file opened using r+t mode -- -int(0) -bool(false) -bool(false) -int(%d) -bool(true) -bool(false) -int(%d) -bool(true) - --- Testing fgetcsv() with file opened using a+ mode -- -int(0) -bool(false) -bool(false) -int(57) -bool(true) -bool(false) -int(57) -bool(true) - --- Testing fgetcsv() with file opened using a+b mode -- -int(0) -bool(false) -bool(false) -int(57) -bool(true) -bool(false) -int(57) -bool(true) - --- Testing fgetcsv() with file opened using a+t mode -- -int(0) -bool(false) -bool(false) -int(%d) -bool(true) -bool(false) -int(%d) -bool(true) - --- Testing fgetcsv() with file opened using w+ mode -- -int(0) -bool(false) -bool(false) -int(57) -bool(true) -bool(false) -int(57) -bool(true) - --- Testing fgetcsv() with file opened using w+b mode -- -int(0) -bool(false) -bool(false) -int(57) -bool(true) -bool(false) -int(57) -bool(true) - --- Testing fgetcsv() with file opened using w+t mode -- -int(0) -bool(false) -bool(false) -int(%d) -bool(true) -bool(false) -int(%d) -bool(true) - --- Testing fgetcsv() with file opened using x+ mode -- -int(0) -bool(false) -bool(false) -int(57) -bool(true) -bool(false) -int(57) -bool(true) - --- Testing fgetcsv() with file opened using x+b mode -- -int(0) -bool(false) -bool(false) -int(57) -bool(true) -bool(false) -int(57) -bool(true) - --- Testing fgetcsv() with file opened using x+t mode -- -int(0) -bool(false) -bool(false) -int(%d) -bool(true) -bool(false) -int(%d) -bool(true) - --- Testing fgetcsv() with file opened using r mode -- -int(0) -bool(false) -bool(false) -int(57) -bool(true) -bool(false) -int(57) -bool(true) - --- Testing fgetcsv() with file opened using rb mode -- -int(0) -bool(false) -bool(false) -int(57) -bool(true) -bool(false) -int(57) -bool(true) - --- Testing fgetcsv() with file opened using rt mode -- -int(0) -bool(false) -bool(false) -int(%d) -bool(true) -bool(false) -int(%d) -bool(true) - --- Testing fgetcsv() with file opened using r+ mode -- -int(0) -bool(false) -bool(false) -int(57) -bool(true) -bool(false) -int(57) -bool(true) - --- Testing fgetcsv() with file opened using r+b mode -- -int(0) -bool(false) -bool(false) -int(57) -bool(true) -bool(false) -int(57) -bool(true) - --- Testing fgetcsv() with file opened using r+t mode -- -int(0) -bool(false) -bool(false) -int(%d) -bool(true) -bool(false) -int(%d) -bool(true) - --- Testing fgetcsv() with file opened using a+ mode -- -int(0) -bool(false) -bool(false) -int(57) -bool(true) -bool(false) -int(57) -bool(true) - --- Testing fgetcsv() with file opened using a+b mode -- -int(0) -bool(false) -bool(false) -int(57) -bool(true) -bool(false) -int(57) -bool(true) - --- Testing fgetcsv() with file opened using a+t mode -- -int(0) -bool(false) -bool(false) -int(%d) -bool(true) -bool(false) -int(%d) -bool(true) - --- Testing fgetcsv() with file opened using w+ mode -- -int(0) -bool(false) -bool(false) -int(57) -bool(true) -bool(false) -int(57) -bool(true) - --- Testing fgetcsv() with file opened using w+b mode -- -int(0) -bool(false) -bool(false) -int(57) -bool(true) -bool(false) -int(57) -bool(true) - --- Testing fgetcsv() with file opened using w+t mode -- -int(0) -bool(false) -bool(false) -int(%d) -bool(true) -bool(false) -int(%d) -bool(true) - --- Testing fgetcsv() with file opened using x+ mode -- -int(0) -bool(false) -bool(false) -int(57) -bool(true) -bool(false) -int(57) -bool(true) - --- Testing fgetcsv() with file opened using x+b mode -- -int(0) -bool(false) -bool(false) -int(57) -bool(true) -bool(false) -int(57) -bool(true) - --- Testing fgetcsv() with file opened using x+t mode -- -int(0) -bool(false) -bool(false) -int(%d) -bool(true) -bool(false) -int(%d) -bool(true) - --- Testing fgetcsv() with file opened using r mode -- -int(0) -bool(false) -bool(false) -int(57) -bool(true) -bool(false) -int(57) -bool(true) - --- Testing fgetcsv() with file opened using rb mode -- -int(0) -bool(false) -bool(false) -int(57) -bool(true) -bool(false) -int(57) -bool(true) - --- Testing fgetcsv() with file opened using rt mode -- -int(0) -bool(false) -bool(false) -int(%d) -bool(true) -bool(false) -int(%d) -bool(true) - --- Testing fgetcsv() with file opened using r+ mode -- -int(0) -bool(false) -bool(false) -int(57) -bool(true) -bool(false) -int(57) -bool(true) - --- Testing fgetcsv() with file opened using r+b mode -- -int(0) -bool(false) -bool(false) -int(57) -bool(true) -bool(false) -int(57) -bool(true) - --- Testing fgetcsv() with file opened using r+t mode -- -int(0) -bool(false) -bool(false) -int(%d) -bool(true) -bool(false) -int(%d) -bool(true) - --- Testing fgetcsv() with file opened using a+ mode -- -int(0) -bool(false) -bool(false) -int(57) -bool(true) -bool(false) -int(57) -bool(true) - --- Testing fgetcsv() with file opened using a+b mode -- -int(0) -bool(false) -bool(false) -int(57) -bool(true) -bool(false) -int(57) -bool(true) - --- Testing fgetcsv() with file opened using a+t mode -- -int(0) -bool(false) -bool(false) -int(%d) -bool(true) -bool(false) -int(%d) -bool(true) - --- Testing fgetcsv() with file opened using w+ mode -- -int(0) -bool(false) -bool(false) -int(57) -bool(true) -bool(false) -int(57) -bool(true) - --- Testing fgetcsv() with file opened using w+b mode -- -int(0) -bool(false) -bool(false) -int(57) -bool(true) -bool(false) -int(57) -bool(true) - --- Testing fgetcsv() with file opened using w+t mode -- -int(0) -bool(false) -bool(false) -int(%d) -bool(true) -bool(false) -int(%d) -bool(true) - --- Testing fgetcsv() with file opened using x+ mode -- -int(0) -bool(false) -bool(false) -int(57) -bool(true) -bool(false) -int(57) -bool(true) - --- Testing fgetcsv() with file opened using x+b mode -- -int(0) -bool(false) -bool(false) -int(57) -bool(true) -bool(false) -int(57) -bool(true) - --- Testing fgetcsv() with file opened using x+t mode -- -int(0) -bool(false) -bool(false) -int(%d) -bool(true) -bool(false) -int(%d) -bool(true) - --- Testing fgetcsv() with file opened using r mode -- -int(0) -bool(false) -bool(false) -int(57) -bool(true) -bool(false) -int(57) -bool(true) - --- Testing fgetcsv() with file opened using rb mode -- -int(0) -bool(false) -bool(false) -int(57) -bool(true) -bool(false) -int(57) -bool(true) - --- Testing fgetcsv() with file opened using rt mode -- -int(0) -bool(false) -bool(false) -int(%d) -bool(true) -bool(false) -int(%d) -bool(true) - --- Testing fgetcsv() with file opened using r+ mode -- -int(0) -bool(false) -bool(false) -int(57) -bool(true) -bool(false) -int(57) -bool(true) - --- Testing fgetcsv() with file opened using r+b mode -- -int(0) -bool(false) -bool(false) -int(57) -bool(true) -bool(false) -int(57) -bool(true) - --- Testing fgetcsv() with file opened using r+t mode -- -int(0) -bool(false) -bool(false) -int(%d) -bool(true) -bool(false) -int(%d) -bool(true) - --- Testing fgetcsv() with file opened using a+ mode -- -int(0) -bool(false) -bool(false) -int(57) -bool(true) -bool(false) -int(57) -bool(true) - --- Testing fgetcsv() with file opened using a+b mode -- -int(0) -bool(false) -bool(false) -int(57) -bool(true) -bool(false) -int(57) -bool(true) - --- Testing fgetcsv() with file opened using a+t mode -- -int(0) -bool(false) -bool(false) -int(%d) -bool(true) -bool(false) -int(%d) -bool(true) - --- Testing fgetcsv() with file opened using w+ mode -- -int(0) -bool(false) -bool(false) -int(57) -bool(true) -bool(false) -int(57) -bool(true) - --- Testing fgetcsv() with file opened using w+b mode -- -int(0) -bool(false) -bool(false) -int(57) -bool(true) -bool(false) -int(57) -bool(true) - --- Testing fgetcsv() with file opened using w+t mode -- -int(0) -bool(false) -bool(false) -int(%d) -bool(true) -bool(false) -int(%d) -bool(true) - --- Testing fgetcsv() with file opened using x+ mode -- -int(0) -bool(false) -bool(false) -int(57) -bool(true) -bool(false) -int(57) -bool(true) - --- Testing fgetcsv() with file opened using x+b mode -- -int(0) -bool(false) -bool(false) -int(57) -bool(true) -bool(false) -int(57) -bool(true) - --- Testing fgetcsv() with file opened using x+t mode -- -int(0) -bool(false) -bool(false) -int(%d) -bool(true) -bool(false) -int(%d) -bool(true) - --- Testing fgetcsv() with file opened using r mode -- -int(0) -bool(false) -bool(false) -int(59) -bool(true) -bool(false) -int(59) -bool(true) - --- Testing fgetcsv() with file opened using rb mode -- -int(0) -bool(false) -bool(false) -int(59) -bool(true) -bool(false) -int(59) -bool(true) - --- Testing fgetcsv() with file opened using rt mode -- -int(0) -bool(false) -bool(false) -int(%d) -bool(true) -bool(false) -int(%d) -bool(true) - --- Testing fgetcsv() with file opened using r+ mode -- -int(0) -bool(false) -bool(false) -int(59) -bool(true) -bool(false) -int(59) -bool(true) - --- Testing fgetcsv() with file opened using r+b mode -- -int(0) -bool(false) -bool(false) -int(59) -bool(true) -bool(false) -int(59) -bool(true) - --- Testing fgetcsv() with file opened using r+t mode -- -int(0) -bool(false) -bool(false) -int(%d) -bool(true) -bool(false) -int(%d) -bool(true) - --- Testing fgetcsv() with file opened using a+ mode -- -int(0) -bool(false) -bool(false) -int(59) -bool(true) -bool(false) -int(59) -bool(true) - --- Testing fgetcsv() with file opened using a+b mode -- -int(0) -bool(false) -bool(false) -int(59) -bool(true) -bool(false) -int(59) -bool(true) - --- Testing fgetcsv() with file opened using a+t mode -- -int(0) -bool(false) -bool(false) -int(%d) -bool(true) -bool(false) -int(%d) -bool(true) - --- Testing fgetcsv() with file opened using w+ mode -- -int(0) -bool(false) -bool(false) -int(59) -bool(true) -bool(false) -int(59) -bool(true) - --- Testing fgetcsv() with file opened using w+b mode -- -int(0) -bool(false) -bool(false) -int(59) -bool(true) -bool(false) -int(59) -bool(true) - --- Testing fgetcsv() with file opened using w+t mode -- -int(0) -bool(false) -bool(false) -int(%d) -bool(true) -bool(false) -int(%d) -bool(true) - --- Testing fgetcsv() with file opened using x+ mode -- -int(0) -bool(false) -bool(false) -int(59) -bool(true) -bool(false) -int(59) -bool(true) - --- Testing fgetcsv() with file opened using x+b mode -- -int(0) -bool(false) -bool(false) -int(59) -bool(true) -bool(false) -int(59) -bool(true) - --- Testing fgetcsv() with file opened using x+t mode -- -int(0) -bool(false) -bool(false) -int(%d) -bool(true) -bool(false) -int(%d) -bool(true) - --- Testing fgetcsv() with file opened using r mode -- -int(0) -bool(false) -bool(false) -int(63) -bool(true) -bool(false) -int(63) -bool(true) - --- Testing fgetcsv() with file opened using rb mode -- -int(0) -bool(false) -bool(false) -int(63) -bool(true) -bool(false) -int(63) -bool(true) - --- Testing fgetcsv() with file opened using rt mode -- -int(0) -bool(false) -bool(false) -int(%d) -bool(true) -bool(false) -int(%d) -bool(true) - --- Testing fgetcsv() with file opened using r+ mode -- -int(0) -bool(false) -bool(false) -int(63) -bool(true) -bool(false) -int(63) -bool(true) - --- Testing fgetcsv() with file opened using r+b mode -- -int(0) -bool(false) -bool(false) -int(63) -bool(true) -bool(false) -int(63) -bool(true) - --- Testing fgetcsv() with file opened using r+t mode -- -int(0) -bool(false) -bool(false) -int(%d) -bool(true) -bool(false) -int(%d) -bool(true) - --- Testing fgetcsv() with file opened using a+ mode -- -int(0) -bool(false) -bool(false) -int(63) -bool(true) -bool(false) -int(63) -bool(true) - --- Testing fgetcsv() with file opened using a+b mode -- -int(0) -bool(false) -bool(false) -int(63) -bool(true) -bool(false) -int(63) -bool(true) - --- Testing fgetcsv() with file opened using a+t mode -- -int(0) -bool(false) -bool(false) -int(%d) -bool(true) -bool(false) -int(%d) -bool(true) - --- Testing fgetcsv() with file opened using w+ mode -- -int(0) -bool(false) -bool(false) -int(63) -bool(true) -bool(false) -int(63) -bool(true) - --- Testing fgetcsv() with file opened using w+b mode -- -int(0) -bool(false) -bool(false) -int(63) -bool(true) -bool(false) -int(63) -bool(true) - --- Testing fgetcsv() with file opened using w+t mode -- -int(0) -bool(false) -bool(false) -int(%d) -bool(true) -bool(false) -int(%d) -bool(true) - --- Testing fgetcsv() with file opened using x+ mode -- -int(0) -bool(false) -bool(false) -int(63) -bool(true) -bool(false) -int(63) -bool(true) - --- Testing fgetcsv() with file opened using x+b mode -- -int(0) -bool(false) -bool(false) -int(63) -bool(true) -bool(false) -int(63) -bool(true) - --- Testing fgetcsv() with file opened using x+t mode -- -int(0) -bool(false) -bool(false) -int(%d) -bool(true) -bool(false) -int(%d) -bool(true) - --- Testing fgetcsv() with file opened using r mode -- -int(0) -bool(false) -bool(false) -int(65) -bool(true) -bool(false) -int(65) -bool(true) - --- Testing fgetcsv() with file opened using rb mode -- -int(0) -bool(false) -bool(false) -int(65) -bool(true) -bool(false) -int(65) -bool(true) - --- Testing fgetcsv() with file opened using rt mode -- -int(0) -bool(false) -bool(false) -int(%d) -bool(true) -bool(false) -int(%d) -bool(true) - --- Testing fgetcsv() with file opened using r+ mode -- -int(0) -bool(false) -bool(false) -int(65) -bool(true) -bool(false) -int(65) -bool(true) - --- Testing fgetcsv() with file opened using r+b mode -- -int(0) -bool(false) -bool(false) -int(65) -bool(true) -bool(false) -int(65) -bool(true) - --- Testing fgetcsv() with file opened using r+t mode -- -int(0) -bool(false) -bool(false) -int(%d) -bool(true) -bool(false) -int(%d) -bool(true) - --- Testing fgetcsv() with file opened using a+ mode -- -int(0) -bool(false) -bool(false) -int(65) -bool(true) -bool(false) -int(65) -bool(true) - --- Testing fgetcsv() with file opened using a+b mode -- -int(0) -bool(false) -bool(false) -int(65) -bool(true) -bool(false) -int(65) -bool(true) - --- Testing fgetcsv() with file opened using a+t mode -- -int(0) -bool(false) -bool(false) -int(%d) -bool(true) -bool(false) -int(%d) -bool(true) - --- Testing fgetcsv() with file opened using w+ mode -- -int(0) -bool(false) -bool(false) -int(65) -bool(true) -bool(false) -int(65) -bool(true) - --- Testing fgetcsv() with file opened using w+b mode -- -int(0) -bool(false) -bool(false) -int(65) -bool(true) -bool(false) -int(65) -bool(true) - --- Testing fgetcsv() with file opened using w+t mode -- -int(0) -bool(false) -bool(false) -int(%d) -bool(true) -bool(false) -int(%d) -bool(true) - --- Testing fgetcsv() with file opened using x+ mode -- -int(0) -bool(false) -bool(false) -int(65) -bool(true) -bool(false) -int(65) -bool(true) - --- Testing fgetcsv() with file opened using x+b mode -- -int(0) -bool(false) -bool(false) -int(65) -bool(true) -bool(false) -int(65) -bool(true) - --- Testing fgetcsv() with file opened using x+t mode -- -int(0) -bool(false) -bool(false) -int(%d) -bool(true) -bool(false) -int(%d) -bool(true) -Done diff --git a/ext/standard/tests/file/fgetcsv_variation11.phpt b/ext/standard/tests/file/fgetcsv_variation11.phpt index eaa84428d4..499fbe3e2e 100644 --- a/ext/standard/tests/file/fgetcsv_variation11.phpt +++ b/ext/standard/tests/file/fgetcsv_variation11.phpt @@ -113,1750 +113,6 @@ array(2) { int(14) bool(false) --- Testing fgetcsv() with file opened using rt mode -- -array(2) { - [0]=> - string(7) ""water"" - [1]=> - string(5) "fruit" -} -int(14) -bool(false) - --- Testing fgetcsv() with file opened using r+ mode -- -array(2) { - [0]=> - string(7) ""water"" - [1]=> - string(5) "fruit" -} -int(14) -bool(false) - --- Testing fgetcsv() with file opened using r+b mode -- -array(2) { - [0]=> - string(7) ""water"" - [1]=> - string(5) "fruit" -} -int(14) -bool(false) - --- Testing fgetcsv() with file opened using r+t mode -- -array(2) { - [0]=> - string(7) ""water"" - [1]=> - string(5) "fruit" -} -int(14) -bool(false) - --- Testing fgetcsv() with file opened using a+ mode -- -array(2) { - [0]=> - string(7) ""water"" - [1]=> - string(5) "fruit" -} -int(14) -bool(false) - --- Testing fgetcsv() with file opened using a+b mode -- -array(2) { - [0]=> - string(7) ""water"" - [1]=> - string(5) "fruit" -} -int(14) -bool(false) - --- Testing fgetcsv() with file opened using a+t mode -- -array(2) { - [0]=> - string(7) ""water"" - [1]=> - string(5) "fruit" -} -int(14) -bool(false) - --- Testing fgetcsv() with file opened using w+ mode -- -array(2) { - [0]=> - string(7) ""water"" - [1]=> - string(5) "fruit" -} -int(14) -bool(false) - --- Testing fgetcsv() with file opened using w+b mode -- -array(2) { - [0]=> - string(7) ""water"" - [1]=> - string(5) "fruit" -} -int(14) -bool(false) - --- Testing fgetcsv() with file opened using w+t mode -- -array(2) { - [0]=> - string(7) ""water"" - [1]=> - string(5) "fruit" -} -int(14) -bool(false) - --- Testing fgetcsv() with file opened using x+ mode -- -array(2) { - [0]=> - string(7) ""water"" - [1]=> - string(5) "fruit" -} -int(14) -bool(false) - --- Testing fgetcsv() with file opened using x+b mode -- -array(2) { - [0]=> - string(7) ""water"" - [1]=> - string(5) "fruit" -} -int(14) -bool(false) - --- Testing fgetcsv() with file opened using x+t mode -- -array(2) { - [0]=> - string(7) ""water"" - [1]=> - string(5) "fruit" -} -int(14) -bool(false) - --- Testing fgetcsv() with file opened using r mode -- -array(2) { - [0]=> - string(7) ""water"" - [1]=> - string(7) ""fruit"" -} -int(16) -bool(false) - --- Testing fgetcsv() with file opened using rb mode -- -array(2) { - [0]=> - string(7) ""water"" - [1]=> - string(7) ""fruit"" -} -int(16) -bool(false) - --- Testing fgetcsv() with file opened using rt mode -- -array(2) { - [0]=> - string(7) ""water"" - [1]=> - string(7) ""fruit"" -} -int(16) -bool(false) - --- Testing fgetcsv() with file opened using r+ mode -- -array(2) { - [0]=> - string(7) ""water"" - [1]=> - string(7) ""fruit"" -} -int(16) -bool(false) - --- Testing fgetcsv() with file opened using r+b mode -- -array(2) { - [0]=> - string(7) ""water"" - [1]=> - string(7) ""fruit"" -} -int(16) -bool(false) - --- Testing fgetcsv() with file opened using r+t mode -- -array(2) { - [0]=> - string(7) ""water"" - [1]=> - string(7) ""fruit"" -} -int(16) -bool(false) - --- Testing fgetcsv() with file opened using a+ mode -- -array(2) { - [0]=> - string(7) ""water"" - [1]=> - string(7) ""fruit"" -} -int(16) -bool(false) - --- Testing fgetcsv() with file opened using a+b mode -- -array(2) { - [0]=> - string(7) ""water"" - [1]=> - string(7) ""fruit"" -} -int(16) -bool(false) - --- Testing fgetcsv() with file opened using a+t mode -- -array(2) { - [0]=> - string(7) ""water"" - [1]=> - string(7) ""fruit"" -} -int(16) -bool(false) - --- Testing fgetcsv() with file opened using w+ mode -- -array(2) { - [0]=> - string(7) ""water"" - [1]=> - string(7) ""fruit"" -} -int(16) -bool(false) - --- Testing fgetcsv() with file opened using w+b mode -- -array(2) { - [0]=> - string(7) ""water"" - [1]=> - string(7) ""fruit"" -} -int(16) -bool(false) - --- Testing fgetcsv() with file opened using w+t mode -- -array(2) { - [0]=> - string(7) ""water"" - [1]=> - string(7) ""fruit"" -} -int(16) -bool(false) - --- Testing fgetcsv() with file opened using x+ mode -- -array(2) { - [0]=> - string(7) ""water"" - [1]=> - string(7) ""fruit"" -} -int(16) -bool(false) - --- Testing fgetcsv() with file opened using x+b mode -- -array(2) { - [0]=> - string(7) ""water"" - [1]=> - string(7) ""fruit"" -} -int(16) -bool(false) - --- Testing fgetcsv() with file opened using x+t mode -- -array(2) { - [0]=> - string(7) ""water"" - [1]=> - string(7) ""fruit"" -} -int(16) -bool(false) - --- Testing fgetcsv() with file opened using r mode -- -array(2) { - [0]=> - string(7) "^water^" - [1]=> - string(7) "^fruit^" -} -int(16) -bool(false) - --- Testing fgetcsv() with file opened using rb mode -- -array(2) { - [0]=> - string(7) "^water^" - [1]=> - string(7) "^fruit^" -} -int(16) -bool(false) - --- Testing fgetcsv() with file opened using rt mode -- -array(2) { - [0]=> - string(7) "^water^" - [1]=> - string(7) "^fruit^" -} -int(16) -bool(false) - --- Testing fgetcsv() with file opened using r+ mode -- -array(2) { - [0]=> - string(7) "^water^" - [1]=> - string(7) "^fruit^" -} -int(16) -bool(false) - --- Testing fgetcsv() with file opened using r+b mode -- -array(2) { - [0]=> - string(7) "^water^" - [1]=> - string(7) "^fruit^" -} -int(16) -bool(false) - --- Testing fgetcsv() with file opened using r+t mode -- -array(2) { - [0]=> - string(7) "^water^" - [1]=> - string(7) "^fruit^" -} -int(16) -bool(false) - --- Testing fgetcsv() with file opened using a+ mode -- -array(2) { - [0]=> - string(7) "^water^" - [1]=> - string(7) "^fruit^" -} -int(16) -bool(false) - --- Testing fgetcsv() with file opened using a+b mode -- -array(2) { - [0]=> - string(7) "^water^" - [1]=> - string(7) "^fruit^" -} -int(16) -bool(false) - --- Testing fgetcsv() with file opened using a+t mode -- -array(2) { - [0]=> - string(7) "^water^" - [1]=> - string(7) "^fruit^" -} -int(16) -bool(false) - --- Testing fgetcsv() with file opened using w+ mode -- -array(2) { - [0]=> - string(7) "^water^" - [1]=> - string(7) "^fruit^" -} -int(16) -bool(false) - --- Testing fgetcsv() with file opened using w+b mode -- -array(2) { - [0]=> - string(7) "^water^" - [1]=> - string(7) "^fruit^" -} -int(16) -bool(false) - --- Testing fgetcsv() with file opened using w+t mode -- -array(2) { - [0]=> - string(7) "^water^" - [1]=> - string(7) "^fruit^" -} -int(16) -bool(false) - --- Testing fgetcsv() with file opened using x+ mode -- -array(2) { - [0]=> - string(7) "^water^" - [1]=> - string(7) "^fruit^" -} -int(16) -bool(false) - --- Testing fgetcsv() with file opened using x+b mode -- -array(2) { - [0]=> - string(7) "^water^" - [1]=> - string(7) "^fruit^" -} -int(16) -bool(false) - --- Testing fgetcsv() with file opened using x+t mode -- -array(2) { - [0]=> - string(7) "^water^" - [1]=> - string(7) "^fruit^" -} -int(16) -bool(false) - --- Testing fgetcsv() with file opened using r mode -- -array(2) { - [0]=> - string(7) "&water&" - [1]=> - string(7) "&fruit&" -} -int(16) -bool(false) - --- Testing fgetcsv() with file opened using rb mode -- -array(2) { - [0]=> - string(7) "&water&" - [1]=> - string(7) "&fruit&" -} -int(16) -bool(false) - --- Testing fgetcsv() with file opened using rt mode -- -array(2) { - [0]=> - string(7) "&water&" - [1]=> - string(7) "&fruit&" -} -int(16) -bool(false) - --- Testing fgetcsv() with file opened using r+ mode -- -array(2) { - [0]=> - string(7) "&water&" - [1]=> - string(7) "&fruit&" -} -int(16) -bool(false) - --- Testing fgetcsv() with file opened using r+b mode -- -array(2) { - [0]=> - string(7) "&water&" - [1]=> - string(7) "&fruit&" -} -int(16) -bool(false) - --- Testing fgetcsv() with file opened using r+t mode -- -array(2) { - [0]=> - string(7) "&water&" - [1]=> - string(7) "&fruit&" -} -int(16) -bool(false) - --- Testing fgetcsv() with file opened using a+ mode -- -array(2) { - [0]=> - string(7) "&water&" - [1]=> - string(7) "&fruit&" -} -int(16) -bool(false) - --- Testing fgetcsv() with file opened using a+b mode -- -array(2) { - [0]=> - string(7) "&water&" - [1]=> - string(7) "&fruit&" -} -int(16) -bool(false) - --- Testing fgetcsv() with file opened using a+t mode -- -array(2) { - [0]=> - string(7) "&water&" - [1]=> - string(7) "&fruit&" -} -int(16) -bool(false) - --- Testing fgetcsv() with file opened using w+ mode -- -array(2) { - [0]=> - string(7) "&water&" - [1]=> - string(7) "&fruit&" -} -int(16) -bool(false) - --- Testing fgetcsv() with file opened using w+b mode -- -array(2) { - [0]=> - string(7) "&water&" - [1]=> - string(7) "&fruit&" -} -int(16) -bool(false) - --- Testing fgetcsv() with file opened using w+t mode -- -array(2) { - [0]=> - string(7) "&water&" - [1]=> - string(7) "&fruit&" -} -int(16) -bool(false) - --- Testing fgetcsv() with file opened using x+ mode -- -array(2) { - [0]=> - string(7) "&water&" - [1]=> - string(7) "&fruit&" -} -int(16) -bool(false) - --- Testing fgetcsv() with file opened using x+b mode -- -array(2) { - [0]=> - string(7) "&water&" - [1]=> - string(7) "&fruit&" -} -int(16) -bool(false) - --- Testing fgetcsv() with file opened using x+t mode -- -array(2) { - [0]=> - string(7) "&water&" - [1]=> - string(7) "&fruit&" -} -int(16) -bool(false) - --- Testing fgetcsv() with file opened using r mode -- -array(6) { - [0]=> - string(0) "" - [1]=> - string(5) "water" - [2]=> - string(0) "" - [3]=> - string(0) "" - [4]=> - string(5) "fruit" - [5]=> - string(0) "" -} -int(16) -bool(false) - --- Testing fgetcsv() with file opened using rb mode -- -array(6) { - [0]=> - string(0) "" - [1]=> - string(5) "water" - [2]=> - string(0) "" - [3]=> - string(0) "" - [4]=> - string(5) "fruit" - [5]=> - string(0) "" -} -int(16) -bool(false) - --- Testing fgetcsv() with file opened using rt mode -- -array(6) { - [0]=> - string(0) "" - [1]=> - string(5) "water" - [2]=> - string(0) "" - [3]=> - string(0) "" - [4]=> - string(5) "fruit" - [5]=> - string(0) "" -} -int(16) -bool(false) - --- Testing fgetcsv() with file opened using r+ mode -- -array(6) { - [0]=> - string(0) "" - [1]=> - string(5) "water" - [2]=> - string(0) "" - [3]=> - string(0) "" - [4]=> - string(5) "fruit" - [5]=> - string(0) "" -} -int(16) -bool(false) - --- Testing fgetcsv() with file opened using r+b mode -- -array(6) { - [0]=> - string(0) "" - [1]=> - string(5) "water" - [2]=> - string(0) "" - [3]=> - string(0) "" - [4]=> - string(5) "fruit" - [5]=> - string(0) "" -} -int(16) -bool(false) - --- Testing fgetcsv() with file opened using r+t mode -- -array(6) { - [0]=> - string(0) "" - [1]=> - string(5) "water" - [2]=> - string(0) "" - [3]=> - string(0) "" - [4]=> - string(5) "fruit" - [5]=> - string(0) "" -} -int(16) -bool(false) - --- Testing fgetcsv() with file opened using a+ mode -- -array(6) { - [0]=> - string(0) "" - [1]=> - string(5) "water" - [2]=> - string(0) "" - [3]=> - string(0) "" - [4]=> - string(5) "fruit" - [5]=> - string(0) "" -} -int(16) -bool(false) - --- Testing fgetcsv() with file opened using a+b mode -- -array(6) { - [0]=> - string(0) "" - [1]=> - string(5) "water" - [2]=> - string(0) "" - [3]=> - string(0) "" - [4]=> - string(5) "fruit" - [5]=> - string(0) "" -} -int(16) -bool(false) - --- Testing fgetcsv() with file opened using a+t mode -- -array(6) { - [0]=> - string(0) "" - [1]=> - string(5) "water" - [2]=> - string(0) "" - [3]=> - string(0) "" - [4]=> - string(5) "fruit" - [5]=> - string(0) "" -} -int(16) -bool(false) - --- Testing fgetcsv() with file opened using w+ mode -- -array(6) { - [0]=> - string(0) "" - [1]=> - string(5) "water" - [2]=> - string(0) "" - [3]=> - string(0) "" - [4]=> - string(5) "fruit" - [5]=> - string(0) "" -} -int(16) -bool(false) - --- Testing fgetcsv() with file opened using w+b mode -- -array(6) { - [0]=> - string(0) "" - [1]=> - string(5) "water" - [2]=> - string(0) "" - [3]=> - string(0) "" - [4]=> - string(5) "fruit" - [5]=> - string(0) "" -} -int(16) -bool(false) - --- Testing fgetcsv() with file opened using w+t mode -- -array(6) { - [0]=> - string(0) "" - [1]=> - string(5) "water" - [2]=> - string(0) "" - [3]=> - string(0) "" - [4]=> - string(5) "fruit" - [5]=> - string(0) "" -} -int(16) -bool(false) - --- Testing fgetcsv() with file opened using x+ mode -- -array(6) { - [0]=> - string(0) "" - [1]=> - string(5) "water" - [2]=> - string(0) "" - [3]=> - string(0) "" - [4]=> - string(5) "fruit" - [5]=> - string(0) "" -} -int(16) -bool(false) - --- Testing fgetcsv() with file opened using x+b mode -- -array(6) { - [0]=> - string(0) "" - [1]=> - string(5) "water" - [2]=> - string(0) "" - [3]=> - string(0) "" - [4]=> - string(5) "fruit" - [5]=> - string(0) "" -} -int(16) -bool(false) - --- Testing fgetcsv() with file opened using x+t mode -- -array(6) { - [0]=> - string(0) "" - [1]=> - string(5) "water" - [2]=> - string(0) "" - [3]=> - string(0) "" - [4]=> - string(5) "fruit" - [5]=> - string(0) "" -} -int(16) -bool(false) - --- Testing fgetcsv() with file opened using r mode -- -array(5) { - [0]=> - string(0) "" - [1]=> - string(5) "water" - [2]=> - string(0) "" - [3]=> - string(5) "fruit" - [4]=> - string(3) "air" -} -int(18) -bool(false) - --- Testing fgetcsv() with file opened using rb mode -- -array(5) { - [0]=> - string(0) "" - [1]=> - string(5) "water" - [2]=> - string(0) "" - [3]=> - string(5) "fruit" - [4]=> - string(3) "air" -} -int(18) -bool(false) - --- Testing fgetcsv() with file opened using rt mode -- -array(5) { - [0]=> - string(0) "" - [1]=> - string(5) "water" - [2]=> - string(0) "" - [3]=> - string(5) "fruit" - [4]=> - string(3) "air" -} -int(18) -bool(false) - --- Testing fgetcsv() with file opened using r+ mode -- -array(5) { - [0]=> - string(0) "" - [1]=> - string(5) "water" - [2]=> - string(0) "" - [3]=> - string(5) "fruit" - [4]=> - string(3) "air" -} -int(18) -bool(false) - --- Testing fgetcsv() with file opened using r+b mode -- -array(5) { - [0]=> - string(0) "" - [1]=> - string(5) "water" - [2]=> - string(0) "" - [3]=> - string(5) "fruit" - [4]=> - string(3) "air" -} -int(18) -bool(false) - --- Testing fgetcsv() with file opened using r+t mode -- -array(5) { - [0]=> - string(0) "" - [1]=> - string(5) "water" - [2]=> - string(0) "" - [3]=> - string(5) "fruit" - [4]=> - string(3) "air" -} -int(18) -bool(false) - --- Testing fgetcsv() with file opened using a+ mode -- -array(5) { - [0]=> - string(0) "" - [1]=> - string(5) "water" - [2]=> - string(0) "" - [3]=> - string(5) "fruit" - [4]=> - string(3) "air" -} -int(18) -bool(false) - --- Testing fgetcsv() with file opened using a+b mode -- -array(5) { - [0]=> - string(0) "" - [1]=> - string(5) "water" - [2]=> - string(0) "" - [3]=> - string(5) "fruit" - [4]=> - string(3) "air" -} -int(18) -bool(false) - --- Testing fgetcsv() with file opened using a+t mode -- -array(5) { - [0]=> - string(0) "" - [1]=> - string(5) "water" - [2]=> - string(0) "" - [3]=> - string(5) "fruit" - [4]=> - string(3) "air" -} -int(18) -bool(false) - --- Testing fgetcsv() with file opened using w+ mode -- -array(5) { - [0]=> - string(0) "" - [1]=> - string(5) "water" - [2]=> - string(0) "" - [3]=> - string(5) "fruit" - [4]=> - string(3) "air" -} -int(18) -bool(false) - --- Testing fgetcsv() with file opened using w+b mode -- -array(5) { - [0]=> - string(0) "" - [1]=> - string(5) "water" - [2]=> - string(0) "" - [3]=> - string(5) "fruit" - [4]=> - string(3) "air" -} -int(18) -bool(false) - --- Testing fgetcsv() with file opened using w+t mode -- -array(5) { - [0]=> - string(0) "" - [1]=> - string(5) "water" - [2]=> - string(0) "" - [3]=> - string(5) "fruit" - [4]=> - string(3) "air" -} -int(18) -bool(false) - --- Testing fgetcsv() with file opened using x+ mode -- -array(5) { - [0]=> - string(0) "" - [1]=> - string(5) "water" - [2]=> - string(0) "" - [3]=> - string(5) "fruit" - [4]=> - string(3) "air" -} -int(18) -bool(false) - --- Testing fgetcsv() with file opened using x+b mode -- -array(5) { - [0]=> - string(0) "" - [1]=> - string(5) "water" - [2]=> - string(0) "" - [3]=> - string(5) "fruit" - [4]=> - string(3) "air" -} -int(18) -bool(false) - --- Testing fgetcsv() with file opened using x+t mode -- -array(5) { - [0]=> - string(0) "" - [1]=> - string(5) "water" - [2]=> - string(0) "" - [3]=> - string(5) "fruit" - [4]=> - string(3) "air" -} -int(18) -bool(false) - --- Testing fgetcsv() with file opened using r mode -- -array(9) { - [0]=> - string(0) "" - [1]=> - string(5) "water" - [2]=> - string(0) "" - [3]=> - string(0) "" - [4]=> - string(5) "fruit" - [5]=> - string(0) "" - [6]=> - string(0) "" - [7]=> - string(3) "air" - [8]=> - string(0) "" -} -int(22) -bool(false) - --- Testing fgetcsv() with file opened using rb mode -- -array(9) { - [0]=> - string(0) "" - [1]=> - string(5) "water" - [2]=> - string(0) "" - [3]=> - string(0) "" - [4]=> - string(5) "fruit" - [5]=> - string(0) "" - [6]=> - string(0) "" - [7]=> - string(3) "air" - [8]=> - string(0) "" -} -int(22) -bool(false) - --- Testing fgetcsv() with file opened using rt mode -- -array(9) { - [0]=> - string(0) "" - [1]=> - string(5) "water" - [2]=> - string(0) "" - [3]=> - string(0) "" - [4]=> - string(5) "fruit" - [5]=> - string(0) "" - [6]=> - string(0) "" - [7]=> - string(3) "air" - [8]=> - string(0) "" -} -int(22) -bool(false) - --- Testing fgetcsv() with file opened using r+ mode -- -array(9) { - [0]=> - string(0) "" - [1]=> - string(5) "water" - [2]=> - string(0) "" - [3]=> - string(0) "" - [4]=> - string(5) "fruit" - [5]=> - string(0) "" - [6]=> - string(0) "" - [7]=> - string(3) "air" - [8]=> - string(0) "" -} -int(22) -bool(false) - --- Testing fgetcsv() with file opened using r+b mode -- -array(9) { - [0]=> - string(0) "" - [1]=> - string(5) "water" - [2]=> - string(0) "" - [3]=> - string(0) "" - [4]=> - string(5) "fruit" - [5]=> - string(0) "" - [6]=> - string(0) "" - [7]=> - string(3) "air" - [8]=> - string(0) "" -} -int(22) -bool(false) - --- Testing fgetcsv() with file opened using r+t mode -- -array(9) { - [0]=> - string(0) "" - [1]=> - string(5) "water" - [2]=> - string(0) "" - [3]=> - string(0) "" - [4]=> - string(5) "fruit" - [5]=> - string(0) "" - [6]=> - string(0) "" - [7]=> - string(3) "air" - [8]=> - string(0) "" -} -int(22) -bool(false) - --- Testing fgetcsv() with file opened using a+ mode -- -array(9) { - [0]=> - string(0) "" - [1]=> - string(5) "water" - [2]=> - string(0) "" - [3]=> - string(0) "" - [4]=> - string(5) "fruit" - [5]=> - string(0) "" - [6]=> - string(0) "" - [7]=> - string(3) "air" - [8]=> - string(0) "" -} -int(22) -bool(false) - --- Testing fgetcsv() with file opened using a+b mode -- -array(9) { - [0]=> - string(0) "" - [1]=> - string(5) "water" - [2]=> - string(0) "" - [3]=> - string(0) "" - [4]=> - string(5) "fruit" - [5]=> - string(0) "" - [6]=> - string(0) "" - [7]=> - string(3) "air" - [8]=> - string(0) "" -} -int(22) -bool(false) - --- Testing fgetcsv() with file opened using a+t mode -- -array(9) { - [0]=> - string(0) "" - [1]=> - string(5) "water" - [2]=> - string(0) "" - [3]=> - string(0) "" - [4]=> - string(5) "fruit" - [5]=> - string(0) "" - [6]=> - string(0) "" - [7]=> - string(3) "air" - [8]=> - string(0) "" -} -int(22) -bool(false) - --- Testing fgetcsv() with file opened using w+ mode -- -array(9) { - [0]=> - string(0) "" - [1]=> - string(5) "water" - [2]=> - string(0) "" - [3]=> - string(0) "" - [4]=> - string(5) "fruit" - [5]=> - string(0) "" - [6]=> - string(0) "" - [7]=> - string(3) "air" - [8]=> - string(0) "" -} -int(22) -bool(false) - --- Testing fgetcsv() with file opened using w+b mode -- -array(9) { - [0]=> - string(0) "" - [1]=> - string(5) "water" - [2]=> - string(0) "" - [3]=> - string(0) "" - [4]=> - string(5) "fruit" - [5]=> - string(0) "" - [6]=> - string(0) "" - [7]=> - string(3) "air" - [8]=> - string(0) "" -} -int(22) -bool(false) - --- Testing fgetcsv() with file opened using w+t mode -- -array(9) { - [0]=> - string(0) "" - [1]=> - string(5) "water" - [2]=> - string(0) "" - [3]=> - string(0) "" - [4]=> - string(5) "fruit" - [5]=> - string(0) "" - [6]=> - string(0) "" - [7]=> - string(3) "air" - [8]=> - string(0) "" -} -int(22) -bool(false) - --- Testing fgetcsv() with file opened using x+ mode -- -array(9) { - [0]=> - string(0) "" - [1]=> - string(5) "water" - [2]=> - string(0) "" - [3]=> - string(0) "" - [4]=> - string(5) "fruit" - [5]=> - string(0) "" - [6]=> - string(0) "" - [7]=> - string(3) "air" - [8]=> - string(0) "" -} -int(22) -bool(false) - --- Testing fgetcsv() with file opened using x+b mode -- -array(9) { - [0]=> - string(0) "" - [1]=> - string(5) "water" - [2]=> - string(0) "" - [3]=> - string(0) "" - [4]=> - string(5) "fruit" - [5]=> - string(0) "" - [6]=> - string(0) "" - [7]=> - string(3) "air" - [8]=> - string(0) "" -} -int(22) -bool(false) - --- Testing fgetcsv() with file opened using x+t mode -- -array(9) { - [0]=> - string(0) "" - [1]=> - string(5) "water" - [2]=> - string(0) "" - [3]=> - string(0) "" - [4]=> - string(5) "fruit" - [5]=> - string(0) "" - [6]=> - string(0) "" - [7]=> - string(3) "air" - [8]=> - string(0) "" -} -int(22) -bool(false) - --- Testing fgetcsv() with file opened using r mode -- -array(6) { - [0]=> - string(6) "&""""&" - [1]=> - string(3) "&"&" - [2]=> - string(1) "," - [3]=> - string(1) """ - [4]=> - string(3) "&,&" - [5]=> - string(4) ",,,," -} -int(24) -bool(false) - --- Testing fgetcsv() with file opened using rb mode -- -array(6) { - [0]=> - string(6) "&""""&" - [1]=> - string(3) "&"&" - [2]=> - string(1) "," - [3]=> - string(1) """ - [4]=> - string(3) "&,&" - [5]=> - string(4) ",,,," -} -int(24) -bool(false) - --- Testing fgetcsv() with file opened using rt mode -- -array(6) { - [0]=> - string(6) "&""""&" - [1]=> - string(3) "&"&" - [2]=> - string(1) "," - [3]=> - string(1) """ - [4]=> - string(3) "&,&" - [5]=> - string(4) ",,,," -} -int(24) -bool(false) - --- Testing fgetcsv() with file opened using r+ mode -- -array(6) { - [0]=> - string(6) "&""""&" - [1]=> - string(3) "&"&" - [2]=> - string(1) "," - [3]=> - string(1) """ - [4]=> - string(3) "&,&" - [5]=> - string(4) ",,,," -} -int(24) -bool(false) - --- Testing fgetcsv() with file opened using r+b mode -- -array(6) { - [0]=> - string(6) "&""""&" - [1]=> - string(3) "&"&" - [2]=> - string(1) "," - [3]=> - string(1) """ - [4]=> - string(3) "&,&" - [5]=> - string(4) ",,,," -} -int(24) -bool(false) - --- Testing fgetcsv() with file opened using r+t mode -- -array(6) { - [0]=> - string(6) "&""""&" - [1]=> - string(3) "&"&" - [2]=> - string(1) "," - [3]=> - string(1) """ - [4]=> - string(3) "&,&" - [5]=> - string(4) ",,,," -} -int(24) -bool(false) - --- Testing fgetcsv() with file opened using a+ mode -- -array(6) { - [0]=> - string(6) "&""""&" - [1]=> - string(3) "&"&" - [2]=> - string(1) "," - [3]=> - string(1) """ - [4]=> - string(3) "&,&" - [5]=> - string(4) ",,,," -} -int(24) -bool(false) - --- Testing fgetcsv() with file opened using a+b mode -- -array(6) { - [0]=> - string(6) "&""""&" - [1]=> - string(3) "&"&" - [2]=> - string(1) "," - [3]=> - string(1) """ - [4]=> - string(3) "&,&" - [5]=> - string(4) ",,,," -} -int(24) -bool(false) - --- Testing fgetcsv() with file opened using a+t mode -- -array(6) { - [0]=> - string(6) "&""""&" - [1]=> - string(3) "&"&" - [2]=> - string(1) "," - [3]=> - string(1) """ - [4]=> - string(3) "&,&" - [5]=> - string(4) ",,,," -} -int(24) -bool(false) - --- Testing fgetcsv() with file opened using w+ mode -- -array(6) { - [0]=> - string(6) "&""""&" - [1]=> - string(3) "&"&" - [2]=> - string(1) "," - [3]=> - string(1) """ - [4]=> - string(3) "&,&" - [5]=> - string(4) ",,,," -} -int(24) -bool(false) - --- Testing fgetcsv() with file opened using w+b mode -- -array(6) { - [0]=> - string(6) "&""""&" - [1]=> - string(3) "&"&" - [2]=> - string(1) "," - [3]=> - string(1) """ - [4]=> - string(3) "&,&" - [5]=> - string(4) ",,,," -} -int(24) -bool(false) - --- Testing fgetcsv() with file opened using w+t mode -- -array(6) { - [0]=> - string(6) "&""""&" - [1]=> - string(3) "&"&" - [2]=> - string(1) "," - [3]=> - string(1) """ - [4]=> - string(3) "&,&" - [5]=> - string(4) ",,,," -} -int(24) -bool(false) - --- Testing fgetcsv() with file opened using x+ mode -- -array(6) { - [0]=> - string(6) "&""""&" - [1]=> - string(3) "&"&" - [2]=> - string(1) "," - [3]=> - string(1) """ - [4]=> - string(3) "&,&" - [5]=> - string(4) ",,,," -} -int(24) -bool(false) - --- Testing fgetcsv() with file opened using x+b mode -- -array(6) { - [0]=> - string(6) "&""""&" - [1]=> - string(3) "&"&" - [2]=> - string(1) "," - [3]=> - string(1) """ - [4]=> - string(3) "&,&" - [5]=> - string(4) ",,,," -} -int(24) -bool(false) - --- Testing fgetcsv() with file opened using x+t mode -- -array(6) { - [0]=> - string(6) "&""""&" - [1]=> - string(3) "&"&" - [2]=> - string(1) "," - [3]=> - string(1) """ - [4]=> - string(3) "&,&" - [5]=> - string(4) ",,,," -} -int(24) -bool(false) -Done - ---UEXPECT-- -*** Testing fgetcsv() : with different enclosure but same delimiter char *** - --- Testing fgetcsv() with file opened using r mode -- -array(2) { - [0]=> - string(7) ""water"" - [1]=> - string(5) "fruit" -} -int(14) -bool(false) - --- Testing fgetcsv() with file opened using rb mode -- -array(2) { - [0]=> - string(7) ""water"" - [1]=> - string(5) "fruit" -} -int(14) -bool(false) - -- Testing fgetcsv() with file opened using rt mode -- array(2) { [0]=> @@ -3576,4 +1832,4 @@ array(6) { } int(24) bool(false) -Done \ No newline at end of file +Done diff --git a/ext/standard/tests/file/fgetcsv_variation12.phpt b/ext/standard/tests/file/fgetcsv_variation12.phpt index 90dd303b21..77ba4fe8f5 100644 --- a/ext/standard/tests/file/fgetcsv_variation12.phpt +++ b/ext/standard/tests/file/fgetcsv_variation12.phpt @@ -118,874 +118,6 @@ bool(false) Notice: fgetcsv(): delimiter must be a single character in %s on line %d -Notice: fgetcsv(): enclosure must be a single character in %s on line %d -array(1) { - [0]=> - string(13) ""water",fruit" -} -int(14) -bool(false) - --- Testing fgetcsv() with file opened using r+ mode -- - -Notice: fgetcsv(): delimiter must be a single character in %s on line %d - -Notice: fgetcsv(): enclosure must be a single character in %s on line %d -array(1) { - [0]=> - string(13) ""water",fruit" -} -int(14) -bool(false) - --- Testing fgetcsv() with file opened using r+b mode -- - -Notice: fgetcsv(): delimiter must be a single character in %s on line %d - -Notice: fgetcsv(): enclosure must be a single character in %s on line %d -array(1) { - [0]=> - string(13) ""water",fruit" -} -int(14) -bool(false) - --- Testing fgetcsv() with file opened using r+t mode -- - -Notice: fgetcsv(): delimiter must be a single character in %s on line %d - -Notice: fgetcsv(): enclosure must be a single character in %s on line %d -array(1) { - [0]=> - string(13) ""water",fruit" -} -int(14) -bool(false) - --- Testing fgetcsv() with file opened using a+ mode -- - -Notice: fgetcsv(): delimiter must be a single character in %s on line %d - -Notice: fgetcsv(): enclosure must be a single character in %s on line %d -array(1) { - [0]=> - string(13) ""water",fruit" -} -int(14) -bool(false) - --- Testing fgetcsv() with file opened using a+b mode -- - -Notice: fgetcsv(): delimiter must be a single character in %s on line %d - -Notice: fgetcsv(): enclosure must be a single character in %s on line %d -array(1) { - [0]=> - string(13) ""water",fruit" -} -int(14) -bool(false) - --- Testing fgetcsv() with file opened using a+t mode -- - -Notice: fgetcsv(): delimiter must be a single character in %s on line %d - -Notice: fgetcsv(): enclosure must be a single character in %s on line %d -array(1) { - [0]=> - string(13) ""water",fruit" -} -int(14) -bool(false) - --- Testing fgetcsv() with file opened using r mode -- - -Notice: fgetcsv(): delimiter must be a single character in %s on line %d - -Notice: fgetcsv(): enclosure must be a single character in %s on line %d -array(1) { - [0]=> - string(15) ""water","fruit"" -} -int(16) -bool(false) - --- Testing fgetcsv() with file opened using rb mode -- - -Notice: fgetcsv(): delimiter must be a single character in %s on line %d - -Notice: fgetcsv(): enclosure must be a single character in %s on line %d -array(1) { - [0]=> - string(15) ""water","fruit"" -} -int(16) -bool(false) - --- Testing fgetcsv() with file opened using rt mode -- - -Notice: fgetcsv(): delimiter must be a single character in %s on line %d - -Notice: fgetcsv(): enclosure must be a single character in %s on line %d -array(1) { - [0]=> - string(15) ""water","fruit"" -} -int(16) -bool(false) - --- Testing fgetcsv() with file opened using r+ mode -- - -Notice: fgetcsv(): delimiter must be a single character in %s on line %d - -Notice: fgetcsv(): enclosure must be a single character in %s on line %d -array(1) { - [0]=> - string(15) ""water","fruit"" -} -int(16) -bool(false) - --- Testing fgetcsv() with file opened using r+b mode -- - -Notice: fgetcsv(): delimiter must be a single character in %s on line %d - -Notice: fgetcsv(): enclosure must be a single character in %s on line %d -array(1) { - [0]=> - string(15) ""water","fruit"" -} -int(16) -bool(false) - --- Testing fgetcsv() with file opened using r+t mode -- - -Notice: fgetcsv(): delimiter must be a single character in %s on line %d - -Notice: fgetcsv(): enclosure must be a single character in %s on line %d -array(1) { - [0]=> - string(15) ""water","fruit"" -} -int(16) -bool(false) - --- Testing fgetcsv() with file opened using a+ mode -- - -Notice: fgetcsv(): delimiter must be a single character in %s on line %d - -Notice: fgetcsv(): enclosure must be a single character in %s on line %d -array(1) { - [0]=> - string(15) ""water","fruit"" -} -int(16) -bool(false) - --- Testing fgetcsv() with file opened using a+b mode -- - -Notice: fgetcsv(): delimiter must be a single character in %s on line %d - -Notice: fgetcsv(): enclosure must be a single character in %s on line %d -array(1) { - [0]=> - string(15) ""water","fruit"" -} -int(16) -bool(false) - --- Testing fgetcsv() with file opened using a+t mode -- - -Notice: fgetcsv(): delimiter must be a single character in %s on line %d - -Notice: fgetcsv(): enclosure must be a single character in %s on line %d -array(1) { - [0]=> - string(15) ""water","fruit"" -} -int(16) -bool(false) - --- Testing fgetcsv() with file opened using r mode -- - -Notice: fgetcsv(): delimiter must be a single character in %s on line %d - -Notice: fgetcsv(): enclosure must be a single character in %s on line %d -array(1) { - [0]=> - string(15) "^water^ ^fruit^" -} -int(16) -bool(false) - --- Testing fgetcsv() with file opened using rb mode -- - -Notice: fgetcsv(): delimiter must be a single character in %s on line %d - -Notice: fgetcsv(): enclosure must be a single character in %s on line %d -array(1) { - [0]=> - string(15) "^water^ ^fruit^" -} -int(16) -bool(false) - --- Testing fgetcsv() with file opened using rt mode -- - -Notice: fgetcsv(): delimiter must be a single character in %s on line %d - -Notice: fgetcsv(): enclosure must be a single character in %s on line %d -array(1) { - [0]=> - string(15) "^water^ ^fruit^" -} -int(16) -bool(false) - --- Testing fgetcsv() with file opened using r+ mode -- - -Notice: fgetcsv(): delimiter must be a single character in %s on line %d - -Notice: fgetcsv(): enclosure must be a single character in %s on line %d -array(1) { - [0]=> - string(15) "^water^ ^fruit^" -} -int(16) -bool(false) - --- Testing fgetcsv() with file opened using r+b mode -- - -Notice: fgetcsv(): delimiter must be a single character in %s on line %d - -Notice: fgetcsv(): enclosure must be a single character in %s on line %d -array(1) { - [0]=> - string(15) "^water^ ^fruit^" -} -int(16) -bool(false) - --- Testing fgetcsv() with file opened using r+t mode -- - -Notice: fgetcsv(): delimiter must be a single character in %s on line %d - -Notice: fgetcsv(): enclosure must be a single character in %s on line %d -array(1) { - [0]=> - string(15) "^water^ ^fruit^" -} -int(16) -bool(false) - --- Testing fgetcsv() with file opened using a+ mode -- - -Notice: fgetcsv(): delimiter must be a single character in %s on line %d - -Notice: fgetcsv(): enclosure must be a single character in %s on line %d -array(1) { - [0]=> - string(15) "^water^ ^fruit^" -} -int(16) -bool(false) - --- Testing fgetcsv() with file opened using a+b mode -- - -Notice: fgetcsv(): delimiter must be a single character in %s on line %d - -Notice: fgetcsv(): enclosure must be a single character in %s on line %d -array(1) { - [0]=> - string(15) "^water^ ^fruit^" -} -int(16) -bool(false) - --- Testing fgetcsv() with file opened using a+t mode -- - -Notice: fgetcsv(): delimiter must be a single character in %s on line %d - -Notice: fgetcsv(): enclosure must be a single character in %s on line %d -array(1) { - [0]=> - string(15) "^water^ ^fruit^" -} -int(16) -bool(false) - --- Testing fgetcsv() with file opened using r mode -- - -Notice: fgetcsv(): delimiter must be a single character in %s on line %d - -Notice: fgetcsv(): enclosure must be a single character in %s on line %d -array(1) { - [0]=> - string(15) "&water&:&fruit&" -} -int(16) -bool(false) - --- Testing fgetcsv() with file opened using rb mode -- - -Notice: fgetcsv(): delimiter must be a single character in %s on line %d - -Notice: fgetcsv(): enclosure must be a single character in %s on line %d -array(1) { - [0]=> - string(15) "&water&:&fruit&" -} -int(16) -bool(false) - --- Testing fgetcsv() with file opened using rt mode -- - -Notice: fgetcsv(): delimiter must be a single character in %s on line %d - -Notice: fgetcsv(): enclosure must be a single character in %s on line %d -array(1) { - [0]=> - string(15) "&water&:&fruit&" -} -int(16) -bool(false) - --- Testing fgetcsv() with file opened using r+ mode -- - -Notice: fgetcsv(): delimiter must be a single character in %s on line %d - -Notice: fgetcsv(): enclosure must be a single character in %s on line %d -array(1) { - [0]=> - string(15) "&water&:&fruit&" -} -int(16) -bool(false) - --- Testing fgetcsv() with file opened using r+b mode -- - -Notice: fgetcsv(): delimiter must be a single character in %s on line %d - -Notice: fgetcsv(): enclosure must be a single character in %s on line %d -array(1) { - [0]=> - string(15) "&water&:&fruit&" -} -int(16) -bool(false) - --- Testing fgetcsv() with file opened using r+t mode -- - -Notice: fgetcsv(): delimiter must be a single character in %s on line %d - -Notice: fgetcsv(): enclosure must be a single character in %s on line %d -array(1) { - [0]=> - string(15) "&water&:&fruit&" -} -int(16) -bool(false) - --- Testing fgetcsv() with file opened using a+ mode -- - -Notice: fgetcsv(): delimiter must be a single character in %s on line %d - -Notice: fgetcsv(): enclosure must be a single character in %s on line %d -array(1) { - [0]=> - string(15) "&water&:&fruit&" -} -int(16) -bool(false) - --- Testing fgetcsv() with file opened using a+b mode -- - -Notice: fgetcsv(): delimiter must be a single character in %s on line %d - -Notice: fgetcsv(): enclosure must be a single character in %s on line %d -array(1) { - [0]=> - string(15) "&water&:&fruit&" -} -int(16) -bool(false) - --- Testing fgetcsv() with file opened using a+t mode -- - -Notice: fgetcsv(): delimiter must be a single character in %s on line %d - -Notice: fgetcsv(): enclosure must be a single character in %s on line %d -array(1) { - [0]=> - string(15) "&water&:&fruit&" -} -int(16) -bool(false) - --- Testing fgetcsv() with file opened using r mode -- - -Notice: fgetcsv(): delimiter must be a single character in %s on line %d - -Notice: fgetcsv(): enclosure must be a single character in %s on line %d -array(1) { - [0]=> - string(15) "=water===fruit=" -} -int(16) -bool(false) - --- Testing fgetcsv() with file opened using rb mode -- - -Notice: fgetcsv(): delimiter must be a single character in %s on line %d - -Notice: fgetcsv(): enclosure must be a single character in %s on line %d -array(1) { - [0]=> - string(15) "=water===fruit=" -} -int(16) -bool(false) - --- Testing fgetcsv() with file opened using rt mode -- - -Notice: fgetcsv(): delimiter must be a single character in %s on line %d - -Notice: fgetcsv(): enclosure must be a single character in %s on line %d -array(1) { - [0]=> - string(15) "=water===fruit=" -} -int(16) -bool(false) - --- Testing fgetcsv() with file opened using r+ mode -- - -Notice: fgetcsv(): delimiter must be a single character in %s on line %d - -Notice: fgetcsv(): enclosure must be a single character in %s on line %d -array(1) { - [0]=> - string(15) "=water===fruit=" -} -int(16) -bool(false) - --- Testing fgetcsv() with file opened using r+b mode -- - -Notice: fgetcsv(): delimiter must be a single character in %s on line %d - -Notice: fgetcsv(): enclosure must be a single character in %s on line %d -array(1) { - [0]=> - string(15) "=water===fruit=" -} -int(16) -bool(false) - --- Testing fgetcsv() with file opened using r+t mode -- - -Notice: fgetcsv(): delimiter must be a single character in %s on line %d - -Notice: fgetcsv(): enclosure must be a single character in %s on line %d -array(1) { - [0]=> - string(15) "=water===fruit=" -} -int(16) -bool(false) - --- Testing fgetcsv() with file opened using a+ mode -- - -Notice: fgetcsv(): delimiter must be a single character in %s on line %d - -Notice: fgetcsv(): enclosure must be a single character in %s on line %d -array(1) { - [0]=> - string(15) "=water===fruit=" -} -int(16) -bool(false) - --- Testing fgetcsv() with file opened using a+b mode -- - -Notice: fgetcsv(): delimiter must be a single character in %s on line %d - -Notice: fgetcsv(): enclosure must be a single character in %s on line %d -array(1) { - [0]=> - string(15) "=water===fruit=" -} -int(16) -bool(false) - --- Testing fgetcsv() with file opened using a+t mode -- - -Notice: fgetcsv(): delimiter must be a single character in %s on line %d - -Notice: fgetcsv(): enclosure must be a single character in %s on line %d -array(1) { - [0]=> - string(15) "=water===fruit=" -} -int(16) -bool(false) - --- Testing fgetcsv() with file opened using r mode -- - -Notice: fgetcsv(): delimiter must be a single character in %s on line %d - -Notice: fgetcsv(): enclosure must be a single character in %s on line %d -array(1) { - [0]=> - string(17) "-water--fruit-air" -} -int(18) -bool(false) - --- Testing fgetcsv() with file opened using rb mode -- - -Notice: fgetcsv(): delimiter must be a single character in %s on line %d - -Notice: fgetcsv(): enclosure must be a single character in %s on line %d -array(1) { - [0]=> - string(17) "-water--fruit-air" -} -int(18) -bool(false) - --- Testing fgetcsv() with file opened using rt mode -- - -Notice: fgetcsv(): delimiter must be a single character in %s on line %d - -Notice: fgetcsv(): enclosure must be a single character in %s on line %d -array(1) { - [0]=> - string(17) "-water--fruit-air" -} -int(18) -bool(false) - --- Testing fgetcsv() with file opened using r+ mode -- - -Notice: fgetcsv(): delimiter must be a single character in %s on line %d - -Notice: fgetcsv(): enclosure must be a single character in %s on line %d -array(1) { - [0]=> - string(17) "-water--fruit-air" -} -int(18) -bool(false) - --- Testing fgetcsv() with file opened using r+b mode -- - -Notice: fgetcsv(): delimiter must be a single character in %s on line %d - -Notice: fgetcsv(): enclosure must be a single character in %s on line %d -array(1) { - [0]=> - string(17) "-water--fruit-air" -} -int(18) -bool(false) - --- Testing fgetcsv() with file opened using r+t mode -- - -Notice: fgetcsv(): delimiter must be a single character in %s on line %d - -Notice: fgetcsv(): enclosure must be a single character in %s on line %d -array(1) { - [0]=> - string(17) "-water--fruit-air" -} -int(18) -bool(false) - --- Testing fgetcsv() with file opened using a+ mode -- - -Notice: fgetcsv(): delimiter must be a single character in %s on line %d - -Notice: fgetcsv(): enclosure must be a single character in %s on line %d -array(1) { - [0]=> - string(17) "-water--fruit-air" -} -int(18) -bool(false) - --- Testing fgetcsv() with file opened using a+b mode -- - -Notice: fgetcsv(): delimiter must be a single character in %s on line %d - -Notice: fgetcsv(): enclosure must be a single character in %s on line %d -array(1) { - [0]=> - string(17) "-water--fruit-air" -} -int(18) -bool(false) - --- Testing fgetcsv() with file opened using a+t mode -- - -Notice: fgetcsv(): delimiter must be a single character in %s on line %d - -Notice: fgetcsv(): enclosure must be a single character in %s on line %d -array(1) { - [0]=> - string(17) "-water--fruit-air" -} -int(18) -bool(false) - --- Testing fgetcsv() with file opened using r mode -- - -Notice: fgetcsv(): delimiter must be a single character in %s on line %d - -Notice: fgetcsv(): enclosure must be a single character in %s on line %d -array(1) { - [0]=> - string(21) "-water---fruit---air-" -} -int(22) -bool(false) - --- Testing fgetcsv() with file opened using rb mode -- - -Notice: fgetcsv(): delimiter must be a single character in %s on line %d - -Notice: fgetcsv(): enclosure must be a single character in %s on line %d -array(1) { - [0]=> - string(21) "-water---fruit---air-" -} -int(22) -bool(false) - --- Testing fgetcsv() with file opened using rt mode -- - -Notice: fgetcsv(): delimiter must be a single character in %s on line %d - -Notice: fgetcsv(): enclosure must be a single character in %s on line %d -array(1) { - [0]=> - string(21) "-water---fruit---air-" -} -int(22) -bool(false) - --- Testing fgetcsv() with file opened using r+ mode -- - -Notice: fgetcsv(): delimiter must be a single character in %s on line %d - -Notice: fgetcsv(): enclosure must be a single character in %s on line %d -array(1) { - [0]=> - string(21) "-water---fruit---air-" -} -int(22) -bool(false) - --- Testing fgetcsv() with file opened using r+b mode -- - -Notice: fgetcsv(): delimiter must be a single character in %s on line %d - -Notice: fgetcsv(): enclosure must be a single character in %s on line %d -array(1) { - [0]=> - string(21) "-water---fruit---air-" -} -int(22) -bool(false) - --- Testing fgetcsv() with file opened using r+t mode -- - -Notice: fgetcsv(): delimiter must be a single character in %s on line %d - -Notice: fgetcsv(): enclosure must be a single character in %s on line %d -array(1) { - [0]=> - string(21) "-water---fruit---air-" -} -int(22) -bool(false) - --- Testing fgetcsv() with file opened using a+ mode -- - -Notice: fgetcsv(): delimiter must be a single character in %s on line %d - -Notice: fgetcsv(): enclosure must be a single character in %s on line %d -array(1) { - [0]=> - string(21) "-water---fruit---air-" -} -int(22) -bool(false) - --- Testing fgetcsv() with file opened using a+b mode -- - -Notice: fgetcsv(): delimiter must be a single character in %s on line %d - -Notice: fgetcsv(): enclosure must be a single character in %s on line %d -array(1) { - [0]=> - string(21) "-water---fruit---air-" -} -int(22) -bool(false) - --- Testing fgetcsv() with file opened using a+t mode -- - -Notice: fgetcsv(): delimiter must be a single character in %s on line %d - -Notice: fgetcsv(): enclosure must be a single character in %s on line %d -array(1) { - [0]=> - string(21) "-water---fruit---air-" -} -int(22) -bool(false) - --- Testing fgetcsv() with file opened using r mode -- - -Notice: fgetcsv(): delimiter must be a single character in %s on line %d - -Notice: fgetcsv(): enclosure must be a single character in %s on line %d -array(1) { - [0]=> - string(23) "&""""&:&"&:,:":&,&:,,,," -} -int(24) -bool(false) - --- Testing fgetcsv() with file opened using rb mode -- - -Notice: fgetcsv(): delimiter must be a single character in %s on line %d - -Notice: fgetcsv(): enclosure must be a single character in %s on line %d -array(1) { - [0]=> - string(23) "&""""&:&"&:,:":&,&:,,,," -} -int(24) -bool(false) - --- Testing fgetcsv() with file opened using rt mode -- - -Notice: fgetcsv(): delimiter must be a single character in %s on line %d - -Notice: fgetcsv(): enclosure must be a single character in %s on line %d -array(1) { - [0]=> - string(23) "&""""&:&"&:,:":&,&:,,,," -} -int(24) -bool(false) - --- Testing fgetcsv() with file opened using r+ mode -- - -Notice: fgetcsv(): delimiter must be a single character in %s on line %d - -Notice: fgetcsv(): enclosure must be a single character in %s on line %d -array(1) { - [0]=> - string(23) "&""""&:&"&:,:":&,&:,,,," -} -int(24) -bool(false) - --- Testing fgetcsv() with file opened using r+b mode -- - -Notice: fgetcsv(): delimiter must be a single character in %s on line %d - -Notice: fgetcsv(): enclosure must be a single character in %s on line %d -array(1) { - [0]=> - string(23) "&""""&:&"&:,:":&,&:,,,," -} -int(24) -bool(false) - --- Testing fgetcsv() with file opened using r+t mode -- - -Notice: fgetcsv(): delimiter must be a single character in %s on line %d - -Notice: fgetcsv(): enclosure must be a single character in %s on line %d -array(1) { - [0]=> - string(23) "&""""&:&"&:,:":&,&:,,,," -} -int(24) -bool(false) - --- Testing fgetcsv() with file opened using a+ mode -- - -Notice: fgetcsv(): delimiter must be a single character in %s on line %d - -Notice: fgetcsv(): enclosure must be a single character in %s on line %d -array(1) { - [0]=> - string(23) "&""""&:&"&:,:":&,&:,,,," -} -int(24) -bool(false) - --- Testing fgetcsv() with file opened using a+b mode -- - -Notice: fgetcsv(): delimiter must be a single character in %s on line %d - -Notice: fgetcsv(): enclosure must be a single character in %s on line %d -array(1) { - [0]=> - string(23) "&""""&:&"&:,:":&,&:,,,," -} -int(24) -bool(false) - --- Testing fgetcsv() with file opened using a+t mode -- - -Notice: fgetcsv(): delimiter must be a single character in %s on line %d - -Notice: fgetcsv(): enclosure must be a single character in %s on line %d -array(1) { - [0]=> - string(23) "&""""&:&"&:,:":&,&:,,,," -} -int(24) -bool(false) -Done - ---UEXPECTF-- -*** Testing fgetcsv() : with two chars as enclosure & delimiter *** - --- Testing fgetcsv() with file opened using r mode -- - -Notice: fgetcsv(): delimiter must be a single character in %s on line %d - -Notice: fgetcsv(): enclosure must be a single character in %s on line %d -array(1) { - [0]=> - string(13) ""water",fruit" -} -int(14) -bool(false) - --- Testing fgetcsv() with file opened using rb mode -- - -Notice: fgetcsv(): delimiter must be a single character in %s on line %d - -Notice: fgetcsv(): enclosure must be a single character in %s on line %d -array(1) { - [0]=> - string(13) ""water",fruit" -} -int(14) -bool(false) - --- Testing fgetcsv() with file opened using rt mode -- - -Notice: fgetcsv(): delimiter must be a single character in %s on line %d - Notice: fgetcsv(): enclosure must be a single character in %s on line %d array(1) { [0]=> diff --git a/ext/standard/tests/file/fgetcsv_variation13.phpt b/ext/standard/tests/file/fgetcsv_variation13.phpt index c765984028..227d265516 100644 --- a/ext/standard/tests/file/fgetcsv_variation13.phpt +++ b/ext/standard/tests/file/fgetcsv_variation13.phpt @@ -85,130 +85,6 @@ array(1) { int(40) bool(false) --- Testing fgetcsv() with file opened using rt mode -- -array(1) { - [0]=> - string(39) "This is line of text without csv fields" -} -int(40) -bool(false) - --- Testing fgetcsv() with file opened using r+ mode -- -array(1) { - [0]=> - string(39) "This is line of text without csv fields" -} -int(40) -bool(false) - --- Testing fgetcsv() with file opened using r+b mode -- -array(1) { - [0]=> - string(39) "This is line of text without csv fields" -} -int(40) -bool(false) - --- Testing fgetcsv() with file opened using r+t mode -- -array(1) { - [0]=> - string(39) "This is line of text without csv fields" -} -int(40) -bool(false) - --- Testing fgetcsv() with file opened using a+ mode -- -array(1) { - [0]=> - string(39) "This is line of text without csv fields" -} -int(40) -bool(false) - --- Testing fgetcsv() with file opened using a+b mode -- -array(1) { - [0]=> - string(39) "This is line of text without csv fields" -} -int(40) -bool(false) - --- Testing fgetcsv() with file opened using a+t mode -- -array(1) { - [0]=> - string(39) "This is line of text without csv fields" -} -int(40) -bool(false) - --- Testing fgetcsv() with file opened using w+ mode -- -array(1) { - [0]=> - string(39) "This is line of text without csv fields" -} -int(40) -bool(false) - --- Testing fgetcsv() with file opened using w+b mode -- -array(1) { - [0]=> - string(39) "This is line of text without csv fields" -} -int(40) -bool(false) - --- Testing fgetcsv() with file opened using w+t mode -- -array(1) { - [0]=> - string(39) "This is line of text without csv fields" -} -int(40) -bool(false) - --- Testing fgetcsv() with file opened using x+ mode -- -array(1) { - [0]=> - string(39) "This is line of text without csv fields" -} -int(40) -bool(false) - --- Testing fgetcsv() with file opened using x+b mode -- -array(1) { - [0]=> - string(39) "This is line of text without csv fields" -} -int(40) -bool(false) - --- Testing fgetcsv() with file opened using x+t mode -- -array(1) { - [0]=> - string(39) "This is line of text without csv fields" -} -int(40) -bool(false) -Done - ---UEXPECTF-- -*** Testing fgetcsv() : reading the line which is without csv fields *** - --- Testing fgetcsv() with file opened using r mode -- -array(1) { - [0]=> - string(39) "This is line of text without csv fields" -} -int(40) -bool(false) - --- Testing fgetcsv() with file opened using rb mode -- -array(1) { - [0]=> - string(39) "This is line of text without csv fields" -} -int(40) -bool(false) - -- Testing fgetcsv() with file opened using rt mode -- array(1) { [0]=> diff --git a/ext/standard/tests/file/fgetcsv_variation14.phpt b/ext/standard/tests/file/fgetcsv_variation14.phpt index 4dd562260b..0679e2b1c7 100644 --- a/ext/standard/tests/file/fgetcsv_variation14.phpt +++ b/ext/standard/tests/file/fgetcsv_variation14.phpt @@ -95,175 +95,6 @@ bool(false) int(1) bool(true) --- Testing fgetcsv() with file opened using rt mode -- -array(1) { - [0]=> - string(0) "" -} -int(1) -bool(false) -bool(false) -int(1) -bool(true) - --- Testing fgetcsv() with file opened using r+ mode -- -array(1) { - [0]=> - string(0) "" -} -int(1) -bool(false) -bool(false) -int(1) -bool(true) - --- Testing fgetcsv() with file opened using r+b mode -- -array(1) { - [0]=> - string(0) "" -} -int(1) -bool(false) -bool(false) -int(1) -bool(true) - --- Testing fgetcsv() with file opened using r+t mode -- -array(1) { - [0]=> - string(0) "" -} -int(1) -bool(false) -bool(false) -int(1) -bool(true) - --- Testing fgetcsv() with file opened using a+ mode -- -array(1) { - [0]=> - string(0) "" -} -int(1) -bool(false) -bool(false) -int(1) -bool(true) - --- Testing fgetcsv() with file opened using a+b mode -- -array(1) { - [0]=> - string(0) "" -} -int(1) -bool(false) -bool(false) -int(1) -bool(true) - --- Testing fgetcsv() with file opened using a+t mode -- -array(1) { - [0]=> - string(0) "" -} -int(1) -bool(false) -bool(false) -int(1) -bool(true) - --- Testing fgetcsv() with file opened using w+ mode -- -array(1) { - [0]=> - string(0) "" -} -int(1) -bool(false) -bool(false) -int(1) -bool(true) - --- Testing fgetcsv() with file opened using w+b mode -- -array(1) { - [0]=> - string(0) "" -} -int(1) -bool(false) -bool(false) -int(1) -bool(true) - --- Testing fgetcsv() with file opened using w+t mode -- -array(1) { - [0]=> - string(0) "" -} -int(1) -bool(false) -bool(false) -int(1) -bool(true) - --- Testing fgetcsv() with file opened using x+ mode -- -array(1) { - [0]=> - string(0) "" -} -int(1) -bool(false) -bool(false) -int(1) -bool(true) - --- Testing fgetcsv() with file opened using x+b mode -- -array(1) { - [0]=> - string(0) "" -} -int(1) -bool(false) -bool(false) -int(1) -bool(true) - --- Testing fgetcsv() with file opened using x+t mode -- -array(1) { - [0]=> - string(0) "" -} -int(1) -bool(false) -bool(false) -int(1) -bool(true) -Done - ---UEXPECT-- -*** Testing fgetcsv() : reading the blank line *** - --- Testing fgetcsv() with file opened using r mode -- -array(1) { - [0]=> - string(0) "" -} -int(1) -bool(false) -bool(false) -int(1) -bool(true) - --- Testing fgetcsv() with file opened using rb mode -- -array(1) { - [0]=> - string(0) "" -} -int(1) -bool(false) -bool(false) -int(1) -bool(true) - -- Testing fgetcsv() with file opened using rt mode -- array(1) { [0]=> diff --git a/ext/standard/tests/file/fgetcsv_variation15.phpt b/ext/standard/tests/file/fgetcsv_variation15.phpt index bbc1180df6..57c756564c 100644 --- a/ext/standard/tests/file/fgetcsv_variation15.phpt +++ b/ext/standard/tests/file/fgetcsv_variation15.phpt @@ -938,862 +938,3 @@ This is line of text without csv fields int(61) bool(true) Done - ---UEXPECT-- -*** Testing fgetcsv() : with default enclosure *** - --- Testing fgetcsv() with file opened using r mode -- -array(2) { - [0]=> - string(5) "water" - [1]=> - string(5) "fruit" -} -int(12) -bool(false) - --- Testing fgetcsv() with file opened using rb mode -- -array(2) { - [0]=> - string(5) "water" - [1]=> - string(5) "fruit" -} -int(12) -bool(false) - --- Testing fgetcsv() with file opened using rt mode -- -array(2) { - [0]=> - string(5) "water" - [1]=> - string(5) "fruit" -} -int(12) -bool(false) - --- Testing fgetcsv() with file opened using r+ mode -- -array(2) { - [0]=> - string(5) "water" - [1]=> - string(5) "fruit" -} -int(12) -bool(false) - --- Testing fgetcsv() with file opened using r+b mode -- -array(2) { - [0]=> - string(5) "water" - [1]=> - string(5) "fruit" -} -int(12) -bool(false) - --- Testing fgetcsv() with file opened using r+t mode -- -array(2) { - [0]=> - string(5) "water" - [1]=> - string(5) "fruit" -} -int(12) -bool(false) - --- Testing fgetcsv() with file opened using a+ mode -- -array(2) { - [0]=> - string(5) "water" - [1]=> - string(5) "fruit" -} -int(12) -bool(false) - --- Testing fgetcsv() with file opened using a+b mode -- -array(2) { - [0]=> - string(5) "water" - [1]=> - string(5) "fruit" -} -int(12) -bool(false) - --- Testing fgetcsv() with file opened using a+t mode -- -array(2) { - [0]=> - string(5) "water" - [1]=> - string(5) "fruit" -} -int(12) -bool(false) - --- Testing fgetcsv() with file opened using w+ mode -- -array(2) { - [0]=> - string(5) "water" - [1]=> - string(5) "fruit" -} -int(12) -bool(false) - --- Testing fgetcsv() with file opened using w+b mode -- -array(2) { - [0]=> - string(5) "water" - [1]=> - string(5) "fruit" -} -int(12) -bool(false) - --- Testing fgetcsv() with file opened using w+t mode -- -array(2) { - [0]=> - string(5) "water" - [1]=> - string(5) "fruit" -} -int(12) -bool(false) - --- Testing fgetcsv() with file opened using x+ mode -- -array(2) { - [0]=> - string(5) "water" - [1]=> - string(5) "fruit" -} -int(12) -bool(false) - --- Testing fgetcsv() with file opened using x+b mode -- -array(2) { - [0]=> - string(5) "water" - [1]=> - string(5) "fruit" -} -int(12) -bool(false) - --- Testing fgetcsv() with file opened using x+t mode -- -array(2) { - [0]=> - string(5) "water" - [1]=> - string(5) "fruit" -} -int(12) -bool(false) - --- Testing fgetcsv() with file opened using r mode -- -array(2) { - [0]=> - string(5) "water" - [1]=> - string(5) "fruit" -} -int(12) -bool(false) - --- Testing fgetcsv() with file opened using rb mode -- -array(2) { - [0]=> - string(5) "water" - [1]=> - string(5) "fruit" -} -int(12) -bool(false) - --- Testing fgetcsv() with file opened using rt mode -- -array(2) { - [0]=> - string(5) "water" - [1]=> - string(5) "fruit" -} -int(12) -bool(false) - --- Testing fgetcsv() with file opened using r+ mode -- -array(2) { - [0]=> - string(5) "water" - [1]=> - string(5) "fruit" -} -int(12) -bool(false) - --- Testing fgetcsv() with file opened using r+b mode -- -array(2) { - [0]=> - string(5) "water" - [1]=> - string(5) "fruit" -} -int(12) -bool(false) - --- Testing fgetcsv() with file opened using r+t mode -- -array(2) { - [0]=> - string(5) "water" - [1]=> - string(5) "fruit" -} -int(12) -bool(false) - --- Testing fgetcsv() with file opened using a+ mode -- -array(2) { - [0]=> - string(5) "water" - [1]=> - string(5) "fruit" -} -int(12) -bool(false) - --- Testing fgetcsv() with file opened using a+b mode -- -array(2) { - [0]=> - string(5) "water" - [1]=> - string(5) "fruit" -} -int(12) -bool(false) - --- Testing fgetcsv() with file opened using a+t mode -- -array(2) { - [0]=> - string(5) "water" - [1]=> - string(5) "fruit" -} -int(12) -bool(false) - --- Testing fgetcsv() with file opened using w+ mode -- -array(2) { - [0]=> - string(5) "water" - [1]=> - string(5) "fruit" -} -int(12) -bool(false) - --- Testing fgetcsv() with file opened using w+b mode -- -array(2) { - [0]=> - string(5) "water" - [1]=> - string(5) "fruit" -} -int(12) -bool(false) - --- Testing fgetcsv() with file opened using w+t mode -- -array(2) { - [0]=> - string(5) "water" - [1]=> - string(5) "fruit" -} -int(12) -bool(false) - --- Testing fgetcsv() with file opened using x+ mode -- -array(2) { - [0]=> - string(5) "water" - [1]=> - string(5) "fruit" -} -int(12) -bool(false) - --- Testing fgetcsv() with file opened using x+b mode -- -array(2) { - [0]=> - string(5) "water" - [1]=> - string(5) "fruit" -} -int(12) -bool(false) - --- Testing fgetcsv() with file opened using x+t mode -- -array(2) { - [0]=> - string(5) "water" - [1]=> - string(5) "fruit" -} -int(12) -bool(false) - --- Testing fgetcsv() with file opened using r mode -- -array(2) { - [0]=> - string(5) "water" - [1]=> - string(5) "fruit" -} -int(16) -bool(false) - --- Testing fgetcsv() with file opened using rb mode -- -array(2) { - [0]=> - string(5) "water" - [1]=> - string(5) "fruit" -} -int(16) -bool(false) - --- Testing fgetcsv() with file opened using rt mode -- -array(2) { - [0]=> - string(5) "water" - [1]=> - string(5) "fruit" -} -int(16) -bool(false) - --- Testing fgetcsv() with file opened using r+ mode -- -array(2) { - [0]=> - string(5) "water" - [1]=> - string(5) "fruit" -} -int(16) -bool(false) - --- Testing fgetcsv() with file opened using r+b mode -- -array(2) { - [0]=> - string(5) "water" - [1]=> - string(5) "fruit" -} -int(16) -bool(false) - --- Testing fgetcsv() with file opened using r+t mode -- -array(2) { - [0]=> - string(5) "water" - [1]=> - string(5) "fruit" -} -int(16) -bool(false) - --- Testing fgetcsv() with file opened using a+ mode -- -array(2) { - [0]=> - string(5) "water" - [1]=> - string(5) "fruit" -} -int(16) -bool(false) - --- Testing fgetcsv() with file opened using a+b mode -- -array(2) { - [0]=> - string(5) "water" - [1]=> - string(5) "fruit" -} -int(16) -bool(false) - --- Testing fgetcsv() with file opened using a+t mode -- -array(2) { - [0]=> - string(5) "water" - [1]=> - string(5) "fruit" -} -int(16) -bool(false) - --- Testing fgetcsv() with file opened using w+ mode -- -array(2) { - [0]=> - string(5) "water" - [1]=> - string(5) "fruit" -} -int(16) -bool(false) - --- Testing fgetcsv() with file opened using w+b mode -- -array(2) { - [0]=> - string(5) "water" - [1]=> - string(5) "fruit" -} -int(16) -bool(false) - --- Testing fgetcsv() with file opened using w+t mode -- -array(2) { - [0]=> - string(5) "water" - [1]=> - string(5) "fruit" -} -int(16) -bool(false) - --- Testing fgetcsv() with file opened using x+ mode -- -array(2) { - [0]=> - string(5) "water" - [1]=> - string(5) "fruit" -} -int(16) -bool(false) - --- Testing fgetcsv() with file opened using x+b mode -- -array(2) { - [0]=> - string(5) "water" - [1]=> - string(5) "fruit" -} -int(16) -bool(false) - --- Testing fgetcsv() with file opened using x+t mode -- -array(2) { - [0]=> - string(5) "water" - [1]=> - string(5) "fruit" -} -int(16) -bool(false) - --- Testing fgetcsv() with file opened using r mode -- -array(3) { - [0]=> - string(5) "water" - [1]=> - string(5) "fruit" - [2]=> - string(3) "air" -} -int(20) -bool(false) - --- Testing fgetcsv() with file opened using rb mode -- -array(3) { - [0]=> - string(5) "water" - [1]=> - string(5) "fruit" - [2]=> - string(3) "air" -} -int(20) -bool(false) - --- Testing fgetcsv() with file opened using rt mode -- -array(3) { - [0]=> - string(5) "water" - [1]=> - string(5) "fruit" - [2]=> - string(3) "air" -} -int(20) -bool(false) - --- Testing fgetcsv() with file opened using r+ mode -- -array(3) { - [0]=> - string(5) "water" - [1]=> - string(5) "fruit" - [2]=> - string(3) "air" -} -int(20) -bool(false) - --- Testing fgetcsv() with file opened using r+b mode -- -array(3) { - [0]=> - string(5) "water" - [1]=> - string(5) "fruit" - [2]=> - string(3) "air" -} -int(20) -bool(false) - --- Testing fgetcsv() with file opened using r+t mode -- -array(3) { - [0]=> - string(5) "water" - [1]=> - string(5) "fruit" - [2]=> - string(3) "air" -} -int(20) -bool(false) - --- Testing fgetcsv() with file opened using a+ mode -- -array(3) { - [0]=> - string(5) "water" - [1]=> - string(5) "fruit" - [2]=> - string(3) "air" -} -int(20) -bool(false) - --- Testing fgetcsv() with file opened using a+b mode -- -array(3) { - [0]=> - string(5) "water" - [1]=> - string(5) "fruit" - [2]=> - string(3) "air" -} -int(20) -bool(false) - --- Testing fgetcsv() with file opened using a+t mode -- -array(3) { - [0]=> - string(5) "water" - [1]=> - string(5) "fruit" - [2]=> - string(3) "air" -} -int(20) -bool(false) - --- Testing fgetcsv() with file opened using w+ mode -- -array(3) { - [0]=> - string(5) "water" - [1]=> - string(5) "fruit" - [2]=> - string(3) "air" -} -int(20) -bool(false) - --- Testing fgetcsv() with file opened using w+b mode -- -array(3) { - [0]=> - string(5) "water" - [1]=> - string(5) "fruit" - [2]=> - string(3) "air" -} -int(20) -bool(false) - --- Testing fgetcsv() with file opened using w+t mode -- -array(3) { - [0]=> - string(5) "water" - [1]=> - string(5) "fruit" - [2]=> - string(3) "air" -} -int(20) -bool(false) - --- Testing fgetcsv() with file opened using x+ mode -- -array(3) { - [0]=> - string(5) "water" - [1]=> - string(5) "fruit" - [2]=> - string(3) "air" -} -int(20) -bool(false) - --- Testing fgetcsv() with file opened using x+b mode -- -array(3) { - [0]=> - string(5) "water" - [1]=> - string(5) "fruit" - [2]=> - string(3) "air" -} -int(20) -bool(false) - --- Testing fgetcsv() with file opened using x+t mode -- -array(3) { - [0]=> - string(5) "water" - [1]=> - string(5) "fruit" - [2]=> - string(3) "air" -} -int(20) -bool(false) - --- Testing fgetcsv() with file opened using r mode -- -array(3) { - [0]=> - string(5) "water" - [1]=> - string(5) "fruit" - [2]=> - string(43) "" -This is line of text without csv fields - -" -} -int(61) -bool(true) - --- Testing fgetcsv() with file opened using rb mode -- -array(3) { - [0]=> - string(5) "water" - [1]=> - string(5) "fruit" - [2]=> - string(43) "" -This is line of text without csv fields - -" -} -int(61) -bool(true) - --- Testing fgetcsv() with file opened using rt mode -- -array(3) { - [0]=> - string(5) "water" - [1]=> - string(5) "fruit" - [2]=> - string(43) "" -This is line of text without csv fields - -" -} -int(61) -bool(true) - --- Testing fgetcsv() with file opened using r+ mode -- -array(3) { - [0]=> - string(5) "water" - [1]=> - string(5) "fruit" - [2]=> - string(43) "" -This is line of text without csv fields - -" -} -int(61) -bool(true) - --- Testing fgetcsv() with file opened using r+b mode -- -array(3) { - [0]=> - string(5) "water" - [1]=> - string(5) "fruit" - [2]=> - string(43) "" -This is line of text without csv fields - -" -} -int(61) -bool(true) - --- Testing fgetcsv() with file opened using r+t mode -- -array(3) { - [0]=> - string(5) "water" - [1]=> - string(5) "fruit" - [2]=> - string(43) "" -This is line of text without csv fields - -" -} -int(61) -bool(true) - --- Testing fgetcsv() with file opened using a+ mode -- -array(3) { - [0]=> - string(5) "water" - [1]=> - string(5) "fruit" - [2]=> - string(43) "" -This is line of text without csv fields - -" -} -int(61) -bool(true) - --- Testing fgetcsv() with file opened using a+b mode -- -array(3) { - [0]=> - string(5) "water" - [1]=> - string(5) "fruit" - [2]=> - string(43) "" -This is line of text without csv fields - -" -} -int(61) -bool(true) - --- Testing fgetcsv() with file opened using a+t mode -- -array(3) { - [0]=> - string(5) "water" - [1]=> - string(5) "fruit" - [2]=> - string(43) "" -This is line of text without csv fields - -" -} -int(61) -bool(true) - --- Testing fgetcsv() with file opened using w+ mode -- -array(3) { - [0]=> - string(5) "water" - [1]=> - string(5) "fruit" - [2]=> - string(43) "" -This is line of text without csv fields - -" -} -int(61) -bool(true) - --- Testing fgetcsv() with file opened using w+b mode -- -array(3) { - [0]=> - string(5) "water" - [1]=> - string(5) "fruit" - [2]=> - string(43) "" -This is line of text without csv fields - -" -} -int(61) -bool(true) - --- Testing fgetcsv() with file opened using w+t mode -- -array(3) { - [0]=> - string(5) "water" - [1]=> - string(5) "fruit" - [2]=> - string(43) "" -This is line of text without csv fields - -" -} -int(61) -bool(true) - --- Testing fgetcsv() with file opened using x+ mode -- -array(3) { - [0]=> - string(5) "water" - [1]=> - string(5) "fruit" - [2]=> - string(43) "" -This is line of text without csv fields - -" -} -int(61) -bool(true) - --- Testing fgetcsv() with file opened using x+b mode -- -array(3) { - [0]=> - string(5) "water" - [1]=> - string(5) "fruit" - [2]=> - string(43) "" -This is line of text without csv fields - -" -} -int(61) -bool(true) - --- Testing fgetcsv() with file opened using x+t mode -- -array(3) { - [0]=> - string(5) "water" - [1]=> - string(5) "fruit" - [2]=> - string(43) "" -This is line of text without csv fields - -" -} -int(61) -bool(true) -Done diff --git a/ext/standard/tests/file/fgetcsv_variation16.phpt b/ext/standard/tests/file/fgetcsv_variation16.phpt index d3ba4ccfd6..2209ce1efe 100644 --- a/ext/standard/tests/file/fgetcsv_variation16.phpt +++ b/ext/standard/tests/file/fgetcsv_variation16.phpt @@ -942,862 +942,3 @@ This is line of text without csv fields int(61) bool(true) Done - ---UEXPECT-- -*** Testing fgetcsv() : with default enclosure & length as 0 *** - --- Testing fgetcsv() with file opened using r mode -- -array(2) { - [0]=> - string(5) "water" - [1]=> - string(5) "fruit" -} -int(12) -bool(false) - --- Testing fgetcsv() with file opened using rb mode -- -array(2) { - [0]=> - string(5) "water" - [1]=> - string(5) "fruit" -} -int(12) -bool(false) - --- Testing fgetcsv() with file opened using rt mode -- -array(2) { - [0]=> - string(5) "water" - [1]=> - string(5) "fruit" -} -int(12) -bool(false) - --- Testing fgetcsv() with file opened using r+ mode -- -array(2) { - [0]=> - string(5) "water" - [1]=> - string(5) "fruit" -} -int(12) -bool(false) - --- Testing fgetcsv() with file opened using r+b mode -- -array(2) { - [0]=> - string(5) "water" - [1]=> - string(5) "fruit" -} -int(12) -bool(false) - --- Testing fgetcsv() with file opened using r+t mode -- -array(2) { - [0]=> - string(5) "water" - [1]=> - string(5) "fruit" -} -int(12) -bool(false) - --- Testing fgetcsv() with file opened using a+ mode -- -array(2) { - [0]=> - string(5) "water" - [1]=> - string(5) "fruit" -} -int(12) -bool(false) - --- Testing fgetcsv() with file opened using a+b mode -- -array(2) { - [0]=> - string(5) "water" - [1]=> - string(5) "fruit" -} -int(12) -bool(false) - --- Testing fgetcsv() with file opened using a+t mode -- -array(2) { - [0]=> - string(5) "water" - [1]=> - string(5) "fruit" -} -int(12) -bool(false) - --- Testing fgetcsv() with file opened using w+ mode -- -array(2) { - [0]=> - string(5) "water" - [1]=> - string(5) "fruit" -} -int(12) -bool(false) - --- Testing fgetcsv() with file opened using w+b mode -- -array(2) { - [0]=> - string(5) "water" - [1]=> - string(5) "fruit" -} -int(12) -bool(false) - --- Testing fgetcsv() with file opened using w+t mode -- -array(2) { - [0]=> - string(5) "water" - [1]=> - string(5) "fruit" -} -int(12) -bool(false) - --- Testing fgetcsv() with file opened using x+ mode -- -array(2) { - [0]=> - string(5) "water" - [1]=> - string(5) "fruit" -} -int(12) -bool(false) - --- Testing fgetcsv() with file opened using x+b mode -- -array(2) { - [0]=> - string(5) "water" - [1]=> - string(5) "fruit" -} -int(12) -bool(false) - --- Testing fgetcsv() with file opened using x+t mode -- -array(2) { - [0]=> - string(5) "water" - [1]=> - string(5) "fruit" -} -int(12) -bool(false) - --- Testing fgetcsv() with file opened using r mode -- -array(2) { - [0]=> - string(5) "water" - [1]=> - string(5) "fruit" -} -int(12) -bool(false) - --- Testing fgetcsv() with file opened using rb mode -- -array(2) { - [0]=> - string(5) "water" - [1]=> - string(5) "fruit" -} -int(12) -bool(false) - --- Testing fgetcsv() with file opened using rt mode -- -array(2) { - [0]=> - string(5) "water" - [1]=> - string(5) "fruit" -} -int(12) -bool(false) - --- Testing fgetcsv() with file opened using r+ mode -- -array(2) { - [0]=> - string(5) "water" - [1]=> - string(5) "fruit" -} -int(12) -bool(false) - --- Testing fgetcsv() with file opened using r+b mode -- -array(2) { - [0]=> - string(5) "water" - [1]=> - string(5) "fruit" -} -int(12) -bool(false) - --- Testing fgetcsv() with file opened using r+t mode -- -array(2) { - [0]=> - string(5) "water" - [1]=> - string(5) "fruit" -} -int(12) -bool(false) - --- Testing fgetcsv() with file opened using a+ mode -- -array(2) { - [0]=> - string(5) "water" - [1]=> - string(5) "fruit" -} -int(12) -bool(false) - --- Testing fgetcsv() with file opened using a+b mode -- -array(2) { - [0]=> - string(5) "water" - [1]=> - string(5) "fruit" -} -int(12) -bool(false) - --- Testing fgetcsv() with file opened using a+t mode -- -array(2) { - [0]=> - string(5) "water" - [1]=> - string(5) "fruit" -} -int(12) -bool(false) - --- Testing fgetcsv() with file opened using w+ mode -- -array(2) { - [0]=> - string(5) "water" - [1]=> - string(5) "fruit" -} -int(12) -bool(false) - --- Testing fgetcsv() with file opened using w+b mode -- -array(2) { - [0]=> - string(5) "water" - [1]=> - string(5) "fruit" -} -int(12) -bool(false) - --- Testing fgetcsv() with file opened using w+t mode -- -array(2) { - [0]=> - string(5) "water" - [1]=> - string(5) "fruit" -} -int(12) -bool(false) - --- Testing fgetcsv() with file opened using x+ mode -- -array(2) { - [0]=> - string(5) "water" - [1]=> - string(5) "fruit" -} -int(12) -bool(false) - --- Testing fgetcsv() with file opened using x+b mode -- -array(2) { - [0]=> - string(5) "water" - [1]=> - string(5) "fruit" -} -int(12) -bool(false) - --- Testing fgetcsv() with file opened using x+t mode -- -array(2) { - [0]=> - string(5) "water" - [1]=> - string(5) "fruit" -} -int(12) -bool(false) - --- Testing fgetcsv() with file opened using r mode -- -array(2) { - [0]=> - string(5) "water" - [1]=> - string(5) "fruit" -} -int(16) -bool(false) - --- Testing fgetcsv() with file opened using rb mode -- -array(2) { - [0]=> - string(5) "water" - [1]=> - string(5) "fruit" -} -int(16) -bool(false) - --- Testing fgetcsv() with file opened using rt mode -- -array(2) { - [0]=> - string(5) "water" - [1]=> - string(5) "fruit" -} -int(16) -bool(false) - --- Testing fgetcsv() with file opened using r+ mode -- -array(2) { - [0]=> - string(5) "water" - [1]=> - string(5) "fruit" -} -int(16) -bool(false) - --- Testing fgetcsv() with file opened using r+b mode -- -array(2) { - [0]=> - string(5) "water" - [1]=> - string(5) "fruit" -} -int(16) -bool(false) - --- Testing fgetcsv() with file opened using r+t mode -- -array(2) { - [0]=> - string(5) "water" - [1]=> - string(5) "fruit" -} -int(16) -bool(false) - --- Testing fgetcsv() with file opened using a+ mode -- -array(2) { - [0]=> - string(5) "water" - [1]=> - string(5) "fruit" -} -int(16) -bool(false) - --- Testing fgetcsv() with file opened using a+b mode -- -array(2) { - [0]=> - string(5) "water" - [1]=> - string(5) "fruit" -} -int(16) -bool(false) - --- Testing fgetcsv() with file opened using a+t mode -- -array(2) { - [0]=> - string(5) "water" - [1]=> - string(5) "fruit" -} -int(16) -bool(false) - --- Testing fgetcsv() with file opened using w+ mode -- -array(2) { - [0]=> - string(5) "water" - [1]=> - string(5) "fruit" -} -int(16) -bool(false) - --- Testing fgetcsv() with file opened using w+b mode -- -array(2) { - [0]=> - string(5) "water" - [1]=> - string(5) "fruit" -} -int(16) -bool(false) - --- Testing fgetcsv() with file opened using w+t mode -- -array(2) { - [0]=> - string(5) "water" - [1]=> - string(5) "fruit" -} -int(16) -bool(false) - --- Testing fgetcsv() with file opened using x+ mode -- -array(2) { - [0]=> - string(5) "water" - [1]=> - string(5) "fruit" -} -int(16) -bool(false) - --- Testing fgetcsv() with file opened using x+b mode -- -array(2) { - [0]=> - string(5) "water" - [1]=> - string(5) "fruit" -} -int(16) -bool(false) - --- Testing fgetcsv() with file opened using x+t mode -- -array(2) { - [0]=> - string(5) "water" - [1]=> - string(5) "fruit" -} -int(16) -bool(false) - --- Testing fgetcsv() with file opened using r mode -- -array(3) { - [0]=> - string(5) "water" - [1]=> - string(5) "fruit" - [2]=> - string(3) "air" -} -int(20) -bool(false) - --- Testing fgetcsv() with file opened using rb mode -- -array(3) { - [0]=> - string(5) "water" - [1]=> - string(5) "fruit" - [2]=> - string(3) "air" -} -int(20) -bool(false) - --- Testing fgetcsv() with file opened using rt mode -- -array(3) { - [0]=> - string(5) "water" - [1]=> - string(5) "fruit" - [2]=> - string(3) "air" -} -int(20) -bool(false) - --- Testing fgetcsv() with file opened using r+ mode -- -array(3) { - [0]=> - string(5) "water" - [1]=> - string(5) "fruit" - [2]=> - string(3) "air" -} -int(20) -bool(false) - --- Testing fgetcsv() with file opened using r+b mode -- -array(3) { - [0]=> - string(5) "water" - [1]=> - string(5) "fruit" - [2]=> - string(3) "air" -} -int(20) -bool(false) - --- Testing fgetcsv() with file opened using r+t mode -- -array(3) { - [0]=> - string(5) "water" - [1]=> - string(5) "fruit" - [2]=> - string(3) "air" -} -int(20) -bool(false) - --- Testing fgetcsv() with file opened using a+ mode -- -array(3) { - [0]=> - string(5) "water" - [1]=> - string(5) "fruit" - [2]=> - string(3) "air" -} -int(20) -bool(false) - --- Testing fgetcsv() with file opened using a+b mode -- -array(3) { - [0]=> - string(5) "water" - [1]=> - string(5) "fruit" - [2]=> - string(3) "air" -} -int(20) -bool(false) - --- Testing fgetcsv() with file opened using a+t mode -- -array(3) { - [0]=> - string(5) "water" - [1]=> - string(5) "fruit" - [2]=> - string(3) "air" -} -int(20) -bool(false) - --- Testing fgetcsv() with file opened using w+ mode -- -array(3) { - [0]=> - string(5) "water" - [1]=> - string(5) "fruit" - [2]=> - string(3) "air" -} -int(20) -bool(false) - --- Testing fgetcsv() with file opened using w+b mode -- -array(3) { - [0]=> - string(5) "water" - [1]=> - string(5) "fruit" - [2]=> - string(3) "air" -} -int(20) -bool(false) - --- Testing fgetcsv() with file opened using w+t mode -- -array(3) { - [0]=> - string(5) "water" - [1]=> - string(5) "fruit" - [2]=> - string(3) "air" -} -int(20) -bool(false) - --- Testing fgetcsv() with file opened using x+ mode -- -array(3) { - [0]=> - string(5) "water" - [1]=> - string(5) "fruit" - [2]=> - string(3) "air" -} -int(20) -bool(false) - --- Testing fgetcsv() with file opened using x+b mode -- -array(3) { - [0]=> - string(5) "water" - [1]=> - string(5) "fruit" - [2]=> - string(3) "air" -} -int(20) -bool(false) - --- Testing fgetcsv() with file opened using x+t mode -- -array(3) { - [0]=> - string(5) "water" - [1]=> - string(5) "fruit" - [2]=> - string(3) "air" -} -int(20) -bool(false) - --- Testing fgetcsv() with file opened using r mode -- -array(3) { - [0]=> - string(5) "water" - [1]=> - string(5) "fruit" - [2]=> - string(43) "" -This is line of text without csv fields - -" -} -int(61) -bool(true) - --- Testing fgetcsv() with file opened using rb mode -- -array(3) { - [0]=> - string(5) "water" - [1]=> - string(5) "fruit" - [2]=> - string(43) "" -This is line of text without csv fields - -" -} -int(61) -bool(true) - --- Testing fgetcsv() with file opened using rt mode -- -array(3) { - [0]=> - string(5) "water" - [1]=> - string(5) "fruit" - [2]=> - string(43) "" -This is line of text without csv fields - -" -} -int(61) -bool(true) - --- Testing fgetcsv() with file opened using r+ mode -- -array(3) { - [0]=> - string(5) "water" - [1]=> - string(5) "fruit" - [2]=> - string(43) "" -This is line of text without csv fields - -" -} -int(61) -bool(true) - --- Testing fgetcsv() with file opened using r+b mode -- -array(3) { - [0]=> - string(5) "water" - [1]=> - string(5) "fruit" - [2]=> - string(43) "" -This is line of text without csv fields - -" -} -int(61) -bool(true) - --- Testing fgetcsv() with file opened using r+t mode -- -array(3) { - [0]=> - string(5) "water" - [1]=> - string(5) "fruit" - [2]=> - string(43) "" -This is line of text without csv fields - -" -} -int(61) -bool(true) - --- Testing fgetcsv() with file opened using a+ mode -- -array(3) { - [0]=> - string(5) "water" - [1]=> - string(5) "fruit" - [2]=> - string(43) "" -This is line of text without csv fields - -" -} -int(61) -bool(true) - --- Testing fgetcsv() with file opened using a+b mode -- -array(3) { - [0]=> - string(5) "water" - [1]=> - string(5) "fruit" - [2]=> - string(43) "" -This is line of text without csv fields - -" -} -int(61) -bool(true) - --- Testing fgetcsv() with file opened using a+t mode -- -array(3) { - [0]=> - string(5) "water" - [1]=> - string(5) "fruit" - [2]=> - string(43) "" -This is line of text without csv fields - -" -} -int(61) -bool(true) - --- Testing fgetcsv() with file opened using w+ mode -- -array(3) { - [0]=> - string(5) "water" - [1]=> - string(5) "fruit" - [2]=> - string(43) "" -This is line of text without csv fields - -" -} -int(61) -bool(true) - --- Testing fgetcsv() with file opened using w+b mode -- -array(3) { - [0]=> - string(5) "water" - [1]=> - string(5) "fruit" - [2]=> - string(43) "" -This is line of text without csv fields - -" -} -int(61) -bool(true) - --- Testing fgetcsv() with file opened using w+t mode -- -array(3) { - [0]=> - string(5) "water" - [1]=> - string(5) "fruit" - [2]=> - string(43) "" -This is line of text without csv fields - -" -} -int(61) -bool(true) - --- Testing fgetcsv() with file opened using x+ mode -- -array(3) { - [0]=> - string(5) "water" - [1]=> - string(5) "fruit" - [2]=> - string(43) "" -This is line of text without csv fields - -" -} -int(61) -bool(true) - --- Testing fgetcsv() with file opened using x+b mode -- -array(3) { - [0]=> - string(5) "water" - [1]=> - string(5) "fruit" - [2]=> - string(43) "" -This is line of text without csv fields - -" -} -int(61) -bool(true) - --- Testing fgetcsv() with file opened using x+t mode -- -array(3) { - [0]=> - string(5) "water" - [1]=> - string(5) "fruit" - [2]=> - string(43) "" -This is line of text without csv fields - -" -} -int(61) -bool(true) -Done diff --git a/ext/standard/tests/file/fgetcsv_variation17.phpt b/ext/standard/tests/file/fgetcsv_variation17.phpt index c99017324f..4e37de25b6 100644 --- a/ext/standard/tests/file/fgetcsv_variation17.phpt +++ b/ext/standard/tests/file/fgetcsv_variation17.phpt @@ -1563,1477 +1563,3 @@ bool(false) int(61) bool(true) Done - ---UEXPECT-- -*** Testing fgetcsv() : with default enclosure & length less than line size *** - --- Testing fgetcsv() with file opened using r mode -- -array(2) { - [0]=> - string(5) "water" - [1]=> - string(3) "fru" -} -int(9) -bool(false) -array(1) { - [0]=> - string(2) "it" -} -int(12) -bool(false) - --- Testing fgetcsv() with file opened using rb mode -- -array(2) { - [0]=> - string(5) "water" - [1]=> - string(3) "fru" -} -int(9) -bool(false) -array(1) { - [0]=> - string(2) "it" -} -int(12) -bool(false) - --- Testing fgetcsv() with file opened using rt mode -- -array(2) { - [0]=> - string(5) "water" - [1]=> - string(3) "fru" -} -int(9) -bool(false) -array(1) { - [0]=> - string(2) "it" -} -int(12) -bool(false) - --- Testing fgetcsv() with file opened using r+ mode -- -array(2) { - [0]=> - string(5) "water" - [1]=> - string(3) "fru" -} -int(9) -bool(false) -array(1) { - [0]=> - string(2) "it" -} -int(12) -bool(false) - --- Testing fgetcsv() with file opened using r+b mode -- -array(2) { - [0]=> - string(5) "water" - [1]=> - string(3) "fru" -} -int(9) -bool(false) -array(1) { - [0]=> - string(2) "it" -} -int(12) -bool(false) - --- Testing fgetcsv() with file opened using r+t mode -- -array(2) { - [0]=> - string(5) "water" - [1]=> - string(3) "fru" -} -int(9) -bool(false) -array(1) { - [0]=> - string(2) "it" -} -int(12) -bool(false) - --- Testing fgetcsv() with file opened using a+ mode -- -array(2) { - [0]=> - string(5) "water" - [1]=> - string(3) "fru" -} -int(9) -bool(false) -array(1) { - [0]=> - string(2) "it" -} -int(12) -bool(false) - --- Testing fgetcsv() with file opened using a+b mode -- -array(2) { - [0]=> - string(5) "water" - [1]=> - string(3) "fru" -} -int(9) -bool(false) -array(1) { - [0]=> - string(2) "it" -} -int(12) -bool(false) - --- Testing fgetcsv() with file opened using a+t mode -- -array(2) { - [0]=> - string(5) "water" - [1]=> - string(3) "fru" -} -int(9) -bool(false) -array(1) { - [0]=> - string(2) "it" -} -int(12) -bool(false) - --- Testing fgetcsv() with file opened using w+ mode -- -array(2) { - [0]=> - string(5) "water" - [1]=> - string(3) "fru" -} -int(9) -bool(false) -array(1) { - [0]=> - string(2) "it" -} -int(12) -bool(false) - --- Testing fgetcsv() with file opened using w+b mode -- -array(2) { - [0]=> - string(5) "water" - [1]=> - string(3) "fru" -} -int(9) -bool(false) -array(1) { - [0]=> - string(2) "it" -} -int(12) -bool(false) - --- Testing fgetcsv() with file opened using w+t mode -- -array(2) { - [0]=> - string(5) "water" - [1]=> - string(3) "fru" -} -int(9) -bool(false) -array(1) { - [0]=> - string(2) "it" -} -int(12) -bool(false) - --- Testing fgetcsv() with file opened using x+ mode -- -array(2) { - [0]=> - string(5) "water" - [1]=> - string(3) "fru" -} -int(9) -bool(false) -array(1) { - [0]=> - string(2) "it" -} -int(12) -bool(false) - --- Testing fgetcsv() with file opened using x+b mode -- -array(2) { - [0]=> - string(5) "water" - [1]=> - string(3) "fru" -} -int(9) -bool(false) -array(1) { - [0]=> - string(2) "it" -} -int(12) -bool(false) - --- Testing fgetcsv() with file opened using x+t mode -- -array(2) { - [0]=> - string(5) "water" - [1]=> - string(3) "fru" -} -int(9) -bool(false) -array(1) { - [0]=> - string(2) "it" -} -int(12) -bool(false) - --- Testing fgetcsv() with file opened using r mode -- -array(2) { - [0]=> - string(5) "water" - [1]=> - string(3) "fru" -} -int(9) -bool(false) -array(1) { - [0]=> - string(2) "it" -} -int(12) -bool(false) - --- Testing fgetcsv() with file opened using rb mode -- -array(2) { - [0]=> - string(5) "water" - [1]=> - string(3) "fru" -} -int(9) -bool(false) -array(1) { - [0]=> - string(2) "it" -} -int(12) -bool(false) - --- Testing fgetcsv() with file opened using rt mode -- -array(2) { - [0]=> - string(5) "water" - [1]=> - string(3) "fru" -} -int(9) -bool(false) -array(1) { - [0]=> - string(2) "it" -} -int(12) -bool(false) - --- Testing fgetcsv() with file opened using r+ mode -- -array(2) { - [0]=> - string(5) "water" - [1]=> - string(3) "fru" -} -int(9) -bool(false) -array(1) { - [0]=> - string(2) "it" -} -int(12) -bool(false) - --- Testing fgetcsv() with file opened using r+b mode -- -array(2) { - [0]=> - string(5) "water" - [1]=> - string(3) "fru" -} -int(9) -bool(false) -array(1) { - [0]=> - string(2) "it" -} -int(12) -bool(false) - --- Testing fgetcsv() with file opened using r+t mode -- -array(2) { - [0]=> - string(5) "water" - [1]=> - string(3) "fru" -} -int(9) -bool(false) -array(1) { - [0]=> - string(2) "it" -} -int(12) -bool(false) - --- Testing fgetcsv() with file opened using a+ mode -- -array(2) { - [0]=> - string(5) "water" - [1]=> - string(3) "fru" -} -int(9) -bool(false) -array(1) { - [0]=> - string(2) "it" -} -int(12) -bool(false) - --- Testing fgetcsv() with file opened using a+b mode -- -array(2) { - [0]=> - string(5) "water" - [1]=> - string(3) "fru" -} -int(9) -bool(false) -array(1) { - [0]=> - string(2) "it" -} -int(12) -bool(false) - --- Testing fgetcsv() with file opened using a+t mode -- -array(2) { - [0]=> - string(5) "water" - [1]=> - string(3) "fru" -} -int(9) -bool(false) -array(1) { - [0]=> - string(2) "it" -} -int(12) -bool(false) - --- Testing fgetcsv() with file opened using w+ mode -- -array(2) { - [0]=> - string(5) "water" - [1]=> - string(3) "fru" -} -int(9) -bool(false) -array(1) { - [0]=> - string(2) "it" -} -int(12) -bool(false) - --- Testing fgetcsv() with file opened using w+b mode -- -array(2) { - [0]=> - string(5) "water" - [1]=> - string(3) "fru" -} -int(9) -bool(false) -array(1) { - [0]=> - string(2) "it" -} -int(12) -bool(false) - --- Testing fgetcsv() with file opened using w+t mode -- -array(2) { - [0]=> - string(5) "water" - [1]=> - string(3) "fru" -} -int(9) -bool(false) -array(1) { - [0]=> - string(2) "it" -} -int(12) -bool(false) - --- Testing fgetcsv() with file opened using x+ mode -- -array(2) { - [0]=> - string(5) "water" - [1]=> - string(3) "fru" -} -int(9) -bool(false) -array(1) { - [0]=> - string(2) "it" -} -int(12) -bool(false) - --- Testing fgetcsv() with file opened using x+b mode -- -array(2) { - [0]=> - string(5) "water" - [1]=> - string(3) "fru" -} -int(9) -bool(false) -array(1) { - [0]=> - string(2) "it" -} -int(12) -bool(false) - --- Testing fgetcsv() with file opened using x+t mode -- -array(2) { - [0]=> - string(5) "water" - [1]=> - string(3) "fru" -} -int(9) -bool(false) -array(1) { - [0]=> - string(2) "it" -} -int(12) -bool(false) - --- Testing fgetcsv() with file opened using r mode -- -array(2) { - [0]=> - string(5) "water" - [1]=> - string(5) "fruit" -} -int(16) -bool(false) -array(8) { - [0]=> - string(4) "This" - [1]=> - string(2) "is" - [2]=> - string(4) "line" - [3]=> - string(2) "of" - [4]=> - string(4) "text" - [5]=> - string(7) "without" - [6]=> - string(3) "csv" - [7]=> - string(6) "fields" -} -int(56) -bool(false) - --- Testing fgetcsv() with file opened using rb mode -- -array(2) { - [0]=> - string(5) "water" - [1]=> - string(5) "fruit" -} -int(16) -bool(false) -array(8) { - [0]=> - string(4) "This" - [1]=> - string(2) "is" - [2]=> - string(4) "line" - [3]=> - string(2) "of" - [4]=> - string(4) "text" - [5]=> - string(7) "without" - [6]=> - string(3) "csv" - [7]=> - string(6) "fields" -} -int(56) -bool(false) - --- Testing fgetcsv() with file opened using rt mode -- -array(2) { - [0]=> - string(5) "water" - [1]=> - string(5) "fruit" -} -int(16) -bool(false) -array(8) { - [0]=> - string(4) "This" - [1]=> - string(2) "is" - [2]=> - string(4) "line" - [3]=> - string(2) "of" - [4]=> - string(4) "text" - [5]=> - string(7) "without" - [6]=> - string(3) "csv" - [7]=> - string(6) "fields" -} -int(56) -bool(false) - --- Testing fgetcsv() with file opened using r+ mode -- -array(2) { - [0]=> - string(5) "water" - [1]=> - string(5) "fruit" -} -int(16) -bool(false) -array(8) { - [0]=> - string(4) "This" - [1]=> - string(2) "is" - [2]=> - string(4) "line" - [3]=> - string(2) "of" - [4]=> - string(4) "text" - [5]=> - string(7) "without" - [6]=> - string(3) "csv" - [7]=> - string(6) "fields" -} -int(56) -bool(false) - --- Testing fgetcsv() with file opened using r+b mode -- -array(2) { - [0]=> - string(5) "water" - [1]=> - string(5) "fruit" -} -int(16) -bool(false) -array(8) { - [0]=> - string(4) "This" - [1]=> - string(2) "is" - [2]=> - string(4) "line" - [3]=> - string(2) "of" - [4]=> - string(4) "text" - [5]=> - string(7) "without" - [6]=> - string(3) "csv" - [7]=> - string(6) "fields" -} -int(56) -bool(false) - --- Testing fgetcsv() with file opened using r+t mode -- -array(2) { - [0]=> - string(5) "water" - [1]=> - string(5) "fruit" -} -int(16) -bool(false) -array(8) { - [0]=> - string(4) "This" - [1]=> - string(2) "is" - [2]=> - string(4) "line" - [3]=> - string(2) "of" - [4]=> - string(4) "text" - [5]=> - string(7) "without" - [6]=> - string(3) "csv" - [7]=> - string(6) "fields" -} -int(56) -bool(false) - --- Testing fgetcsv() with file opened using a+ mode -- -array(2) { - [0]=> - string(5) "water" - [1]=> - string(5) "fruit" -} -int(16) -bool(false) -array(8) { - [0]=> - string(4) "This" - [1]=> - string(2) "is" - [2]=> - string(4) "line" - [3]=> - string(2) "of" - [4]=> - string(4) "text" - [5]=> - string(7) "without" - [6]=> - string(3) "csv" - [7]=> - string(6) "fields" -} -int(56) -bool(false) - --- Testing fgetcsv() with file opened using a+b mode -- -array(2) { - [0]=> - string(5) "water" - [1]=> - string(5) "fruit" -} -int(16) -bool(false) -array(8) { - [0]=> - string(4) "This" - [1]=> - string(2) "is" - [2]=> - string(4) "line" - [3]=> - string(2) "of" - [4]=> - string(4) "text" - [5]=> - string(7) "without" - [6]=> - string(3) "csv" - [7]=> - string(6) "fields" -} -int(56) -bool(false) - --- Testing fgetcsv() with file opened using a+t mode -- -array(2) { - [0]=> - string(5) "water" - [1]=> - string(5) "fruit" -} -int(16) -bool(false) -array(8) { - [0]=> - string(4) "This" - [1]=> - string(2) "is" - [2]=> - string(4) "line" - [3]=> - string(2) "of" - [4]=> - string(4) "text" - [5]=> - string(7) "without" - [6]=> - string(3) "csv" - [7]=> - string(6) "fields" -} -int(56) -bool(false) - --- Testing fgetcsv() with file opened using w+ mode -- -array(2) { - [0]=> - string(5) "water" - [1]=> - string(5) "fruit" -} -int(16) -bool(false) -array(8) { - [0]=> - string(4) "This" - [1]=> - string(2) "is" - [2]=> - string(4) "line" - [3]=> - string(2) "of" - [4]=> - string(4) "text" - [5]=> - string(7) "without" - [6]=> - string(3) "csv" - [7]=> - string(6) "fields" -} -int(56) -bool(false) - --- Testing fgetcsv() with file opened using w+b mode -- -array(2) { - [0]=> - string(5) "water" - [1]=> - string(5) "fruit" -} -int(16) -bool(false) -array(8) { - [0]=> - string(4) "This" - [1]=> - string(2) "is" - [2]=> - string(4) "line" - [3]=> - string(2) "of" - [4]=> - string(4) "text" - [5]=> - string(7) "without" - [6]=> - string(3) "csv" - [7]=> - string(6) "fields" -} -int(56) -bool(false) - --- Testing fgetcsv() with file opened using w+t mode -- -array(2) { - [0]=> - string(5) "water" - [1]=> - string(5) "fruit" -} -int(16) -bool(false) -array(8) { - [0]=> - string(4) "This" - [1]=> - string(2) "is" - [2]=> - string(4) "line" - [3]=> - string(2) "of" - [4]=> - string(4) "text" - [5]=> - string(7) "without" - [6]=> - string(3) "csv" - [7]=> - string(6) "fields" -} -int(56) -bool(false) - --- Testing fgetcsv() with file opened using x+ mode -- -array(2) { - [0]=> - string(5) "water" - [1]=> - string(5) "fruit" -} -int(16) -bool(false) -array(8) { - [0]=> - string(4) "This" - [1]=> - string(2) "is" - [2]=> - string(4) "line" - [3]=> - string(2) "of" - [4]=> - string(4) "text" - [5]=> - string(7) "without" - [6]=> - string(3) "csv" - [7]=> - string(6) "fields" -} -int(56) -bool(false) - --- Testing fgetcsv() with file opened using x+b mode -- -array(2) { - [0]=> - string(5) "water" - [1]=> - string(5) "fruit" -} -int(16) -bool(false) -array(8) { - [0]=> - string(4) "This" - [1]=> - string(2) "is" - [2]=> - string(4) "line" - [3]=> - string(2) "of" - [4]=> - string(4) "text" - [5]=> - string(7) "without" - [6]=> - string(3) "csv" - [7]=> - string(6) "fields" -} -int(56) -bool(false) - --- Testing fgetcsv() with file opened using x+t mode -- -array(2) { - [0]=> - string(5) "water" - [1]=> - string(5) "fruit" -} -int(16) -bool(false) -array(8) { - [0]=> - string(4) "This" - [1]=> - string(2) "is" - [2]=> - string(4) "line" - [3]=> - string(2) "of" - [4]=> - string(4) "text" - [5]=> - string(7) "without" - [6]=> - string(3) "csv" - [7]=> - string(6) "fields" -} -int(56) -bool(false) - --- Testing fgetcsv() with file opened using r mode -- -array(3) { - [0]=> - string(5) "water" - [1]=> - string(5) "fruit" - [2]=> - string(3) "air" -} -int(20) -bool(false) -array(1) { - [0]=> - string(39) "This is line of text without csv fields" -} -int(60) -bool(false) - --- Testing fgetcsv() with file opened using rb mode -- -array(3) { - [0]=> - string(5) "water" - [1]=> - string(5) "fruit" - [2]=> - string(3) "air" -} -int(20) -bool(false) -array(1) { - [0]=> - string(39) "This is line of text without csv fields" -} -int(60) -bool(false) - --- Testing fgetcsv() with file opened using rt mode -- -array(3) { - [0]=> - string(5) "water" - [1]=> - string(5) "fruit" - [2]=> - string(3) "air" -} -int(20) -bool(false) -array(1) { - [0]=> - string(39) "This is line of text without csv fields" -} -int(60) -bool(false) - --- Testing fgetcsv() with file opened using r+ mode -- -array(3) { - [0]=> - string(5) "water" - [1]=> - string(5) "fruit" - [2]=> - string(3) "air" -} -int(20) -bool(false) -array(1) { - [0]=> - string(39) "This is line of text without csv fields" -} -int(60) -bool(false) - --- Testing fgetcsv() with file opened using r+b mode -- -array(3) { - [0]=> - string(5) "water" - [1]=> - string(5) "fruit" - [2]=> - string(3) "air" -} -int(20) -bool(false) -array(1) { - [0]=> - string(39) "This is line of text without csv fields" -} -int(60) -bool(false) - --- Testing fgetcsv() with file opened using r+t mode -- -array(3) { - [0]=> - string(5) "water" - [1]=> - string(5) "fruit" - [2]=> - string(3) "air" -} -int(20) -bool(false) -array(1) { - [0]=> - string(39) "This is line of text without csv fields" -} -int(60) -bool(false) - --- Testing fgetcsv() with file opened using a+ mode -- -array(3) { - [0]=> - string(5) "water" - [1]=> - string(5) "fruit" - [2]=> - string(3) "air" -} -int(20) -bool(false) -array(1) { - [0]=> - string(39) "This is line of text without csv fields" -} -int(60) -bool(false) - --- Testing fgetcsv() with file opened using a+b mode -- -array(3) { - [0]=> - string(5) "water" - [1]=> - string(5) "fruit" - [2]=> - string(3) "air" -} -int(20) -bool(false) -array(1) { - [0]=> - string(39) "This is line of text without csv fields" -} -int(60) -bool(false) - --- Testing fgetcsv() with file opened using a+t mode -- -array(3) { - [0]=> - string(5) "water" - [1]=> - string(5) "fruit" - [2]=> - string(3) "air" -} -int(20) -bool(false) -array(1) { - [0]=> - string(39) "This is line of text without csv fields" -} -int(60) -bool(false) - --- Testing fgetcsv() with file opened using w+ mode -- -array(3) { - [0]=> - string(5) "water" - [1]=> - string(5) "fruit" - [2]=> - string(3) "air" -} -int(20) -bool(false) -array(1) { - [0]=> - string(39) "This is line of text without csv fields" -} -int(60) -bool(false) - --- Testing fgetcsv() with file opened using w+b mode -- -array(3) { - [0]=> - string(5) "water" - [1]=> - string(5) "fruit" - [2]=> - string(3) "air" -} -int(20) -bool(false) -array(1) { - [0]=> - string(39) "This is line of text without csv fields" -} -int(60) -bool(false) - --- Testing fgetcsv() with file opened using w+t mode -- -array(3) { - [0]=> - string(5) "water" - [1]=> - string(5) "fruit" - [2]=> - string(3) "air" -} -int(20) -bool(false) -array(1) { - [0]=> - string(39) "This is line of text without csv fields" -} -int(60) -bool(false) - --- Testing fgetcsv() with file opened using x+ mode -- -array(3) { - [0]=> - string(5) "water" - [1]=> - string(5) "fruit" - [2]=> - string(3) "air" -} -int(20) -bool(false) -array(1) { - [0]=> - string(39) "This is line of text without csv fields" -} -int(60) -bool(false) - --- Testing fgetcsv() with file opened using x+b mode -- -array(3) { - [0]=> - string(5) "water" - [1]=> - string(5) "fruit" - [2]=> - string(3) "air" -} -int(20) -bool(false) -array(1) { - [0]=> - string(39) "This is line of text without csv fields" -} -int(60) -bool(false) - --- Testing fgetcsv() with file opened using x+t mode -- -array(3) { - [0]=> - string(5) "water" - [1]=> - string(5) "fruit" - [2]=> - string(3) "air" -} -int(20) -bool(false) -array(1) { - [0]=> - string(39) "This is line of text without csv fields" -} -int(60) -bool(false) - --- Testing fgetcsv() with file opened using r mode -- -array(3) { - [0]=> - string(5) "water" - [1]=> - string(5) "fruit" - [2]=> - string(43) "" -This is line of text without csv fields - -" -} -int(61) -bool(true) -bool(false) -int(61) -bool(true) - --- Testing fgetcsv() with file opened using rb mode -- -array(3) { - [0]=> - string(5) "water" - [1]=> - string(5) "fruit" - [2]=> - string(43) "" -This is line of text without csv fields - -" -} -int(61) -bool(true) -bool(false) -int(61) -bool(true) - --- Testing fgetcsv() with file opened using rt mode -- -array(3) { - [0]=> - string(5) "water" - [1]=> - string(5) "fruit" - [2]=> - string(43) "" -This is line of text without csv fields - -" -} -int(61) -bool(true) -bool(false) -int(61) -bool(true) - --- Testing fgetcsv() with file opened using r+ mode -- -array(3) { - [0]=> - string(5) "water" - [1]=> - string(5) "fruit" - [2]=> - string(43) "" -This is line of text without csv fields - -" -} -int(61) -bool(true) -bool(false) -int(61) -bool(true) - --- Testing fgetcsv() with file opened using r+b mode -- -array(3) { - [0]=> - string(5) "water" - [1]=> - string(5) "fruit" - [2]=> - string(43) "" -This is line of text without csv fields - -" -} -int(61) -bool(true) -bool(false) -int(61) -bool(true) - --- Testing fgetcsv() with file opened using r+t mode -- -array(3) { - [0]=> - string(5) "water" - [1]=> - string(5) "fruit" - [2]=> - string(43) "" -This is line of text without csv fields - -" -} -int(61) -bool(true) -bool(false) -int(61) -bool(true) - --- Testing fgetcsv() with file opened using a+ mode -- -array(3) { - [0]=> - string(5) "water" - [1]=> - string(5) "fruit" - [2]=> - string(43) "" -This is line of text without csv fields - -" -} -int(61) -bool(true) -bool(false) -int(61) -bool(true) - --- Testing fgetcsv() with file opened using a+b mode -- -array(3) { - [0]=> - string(5) "water" - [1]=> - string(5) "fruit" - [2]=> - string(43) "" -This is line of text without csv fields - -" -} -int(61) -bool(true) -bool(false) -int(61) -bool(true) - --- Testing fgetcsv() with file opened using a+t mode -- -array(3) { - [0]=> - string(5) "water" - [1]=> - string(5) "fruit" - [2]=> - string(43) "" -This is line of text without csv fields - -" -} -int(61) -bool(true) -bool(false) -int(61) -bool(true) - --- Testing fgetcsv() with file opened using w+ mode -- -array(3) { - [0]=> - string(5) "water" - [1]=> - string(5) "fruit" - [2]=> - string(43) "" -This is line of text without csv fields - -" -} -int(61) -bool(true) -bool(false) -int(61) -bool(true) - --- Testing fgetcsv() with file opened using w+b mode -- -array(3) { - [0]=> - string(5) "water" - [1]=> - string(5) "fruit" - [2]=> - string(43) "" -This is line of text without csv fields - -" -} -int(61) -bool(true) -bool(false) -int(61) -bool(true) - --- Testing fgetcsv() with file opened using w+t mode -- -array(3) { - [0]=> - string(5) "water" - [1]=> - string(5) "fruit" - [2]=> - string(43) "" -This is line of text without csv fields - -" -} -int(61) -bool(true) -bool(false) -int(61) -bool(true) - --- Testing fgetcsv() with file opened using x+ mode -- -array(3) { - [0]=> - string(5) "water" - [1]=> - string(5) "fruit" - [2]=> - string(43) "" -This is line of text without csv fields - -" -} -int(61) -bool(true) -bool(false) -int(61) -bool(true) - --- Testing fgetcsv() with file opened using x+b mode -- -array(3) { - [0]=> - string(5) "water" - [1]=> - string(5) "fruit" - [2]=> - string(43) "" -This is line of text without csv fields - -" -} -int(61) -bool(true) -bool(false) -int(61) -bool(true) - --- Testing fgetcsv() with file opened using x+t mode -- -array(3) { - [0]=> - string(5) "water" - [1]=> - string(5) "fruit" - [2]=> - string(43) "" -This is line of text without csv fields - -" -} -int(61) -bool(true) -bool(false) -int(61) -bool(true) -Done diff --git a/ext/standard/tests/file/fgetcsv_variation18.phpt b/ext/standard/tests/file/fgetcsv_variation18.phpt index 17d9d3ac20..aaadb627ac 100644 --- a/ext/standard/tests/file/fgetcsv_variation18.phpt +++ b/ext/standard/tests/file/fgetcsv_variation18.phpt @@ -1290,1209 +1290,3 @@ array(1) { int(20) bool(false) Done - ---UEXPECT-- -*** Testing fgetcsv() : with default enclosure and different delimiter *** - --- Testing fgetcsv() with file opened using r mode -- -array(1) { - [0]=> - string(11) "water,fruit" -} -int(12) -bool(false) - --- Testing fgetcsv() with file opened using rb mode -- -array(1) { - [0]=> - string(11) "water,fruit" -} -int(12) -bool(false) - --- Testing fgetcsv() with file opened using rt mode -- -array(1) { - [0]=> - string(11) "water,fruit" -} -int(12) -bool(false) - --- Testing fgetcsv() with file opened using r+ mode -- -array(1) { - [0]=> - string(11) "water,fruit" -} -int(12) -bool(false) - --- Testing fgetcsv() with file opened using r+b mode -- -array(1) { - [0]=> - string(11) "water,fruit" -} -int(12) -bool(false) - --- Testing fgetcsv() with file opened using r+t mode -- -array(1) { - [0]=> - string(11) "water,fruit" -} -int(12) -bool(false) - --- Testing fgetcsv() with file opened using a+ mode -- -array(1) { - [0]=> - string(11) "water,fruit" -} -int(12) -bool(false) - --- Testing fgetcsv() with file opened using a+b mode -- -array(1) { - [0]=> - string(11) "water,fruit" -} -int(12) -bool(false) - --- Testing fgetcsv() with file opened using a+t mode -- -array(1) { - [0]=> - string(11) "water,fruit" -} -int(12) -bool(false) - --- Testing fgetcsv() with file opened using w+ mode -- -array(1) { - [0]=> - string(11) "water,fruit" -} -int(12) -bool(false) - --- Testing fgetcsv() with file opened using w+b mode -- -array(1) { - [0]=> - string(11) "water,fruit" -} -int(12) -bool(false) - --- Testing fgetcsv() with file opened using w+t mode -- -array(1) { - [0]=> - string(11) "water,fruit" -} -int(12) -bool(false) - --- Testing fgetcsv() with file opened using x+ mode -- -array(1) { - [0]=> - string(11) "water,fruit" -} -int(12) -bool(false) - --- Testing fgetcsv() with file opened using x+b mode -- -array(1) { - [0]=> - string(11) "water,fruit" -} -int(12) -bool(false) - --- Testing fgetcsv() with file opened using x+t mode -- -array(1) { - [0]=> - string(11) "water,fruit" -} -int(12) -bool(false) - --- Testing fgetcsv() with file opened using r mode -- -array(1) { - [0]=> - string(11) "water fruit" -} -int(12) -bool(false) - --- Testing fgetcsv() with file opened using rb mode -- -array(1) { - [0]=> - string(11) "water fruit" -} -int(12) -bool(false) - --- Testing fgetcsv() with file opened using rt mode -- -array(1) { - [0]=> - string(11) "water fruit" -} -int(12) -bool(false) - --- Testing fgetcsv() with file opened using r+ mode -- -array(1) { - [0]=> - string(11) "water fruit" -} -int(12) -bool(false) - --- Testing fgetcsv() with file opened using r+b mode -- -array(1) { - [0]=> - string(11) "water fruit" -} -int(12) -bool(false) - --- Testing fgetcsv() with file opened using r+t mode -- -array(1) { - [0]=> - string(11) "water fruit" -} -int(12) -bool(false) - --- Testing fgetcsv() with file opened using a+ mode -- -array(1) { - [0]=> - string(11) "water fruit" -} -int(12) -bool(false) - --- Testing fgetcsv() with file opened using a+b mode -- -array(1) { - [0]=> - string(11) "water fruit" -} -int(12) -bool(false) - --- Testing fgetcsv() with file opened using a+t mode -- -array(1) { - [0]=> - string(11) "water fruit" -} -int(12) -bool(false) - --- Testing fgetcsv() with file opened using w+ mode -- -array(1) { - [0]=> - string(11) "water fruit" -} -int(12) -bool(false) - --- Testing fgetcsv() with file opened using w+b mode -- -array(1) { - [0]=> - string(11) "water fruit" -} -int(12) -bool(false) - --- Testing fgetcsv() with file opened using w+t mode -- -array(1) { - [0]=> - string(11) "water fruit" -} -int(12) -bool(false) - --- Testing fgetcsv() with file opened using x+ mode -- -array(1) { - [0]=> - string(11) "water fruit" -} -int(12) -bool(false) - --- Testing fgetcsv() with file opened using x+b mode -- -array(1) { - [0]=> - string(11) "water fruit" -} -int(12) -bool(false) - --- Testing fgetcsv() with file opened using x+t mode -- -array(1) { - [0]=> - string(11) "water fruit" -} -int(12) -bool(false) - --- Testing fgetcsv() with file opened using r mode -- -array(1) { - [0]=> - string(13) "water "fruit"" -} -int(16) -bool(false) - --- Testing fgetcsv() with file opened using rb mode -- -array(1) { - [0]=> - string(13) "water "fruit"" -} -int(16) -bool(false) - --- Testing fgetcsv() with file opened using rt mode -- -array(1) { - [0]=> - string(13) "water "fruit"" -} -int(16) -bool(false) - --- Testing fgetcsv() with file opened using r+ mode -- -array(1) { - [0]=> - string(13) "water "fruit"" -} -int(16) -bool(false) - --- Testing fgetcsv() with file opened using r+b mode -- -array(1) { - [0]=> - string(13) "water "fruit"" -} -int(16) -bool(false) - --- Testing fgetcsv() with file opened using r+t mode -- -array(1) { - [0]=> - string(13) "water "fruit"" -} -int(16) -bool(false) - --- Testing fgetcsv() with file opened using a+ mode -- -array(1) { - [0]=> - string(13) "water "fruit"" -} -int(16) -bool(false) - --- Testing fgetcsv() with file opened using a+b mode -- -array(1) { - [0]=> - string(13) "water "fruit"" -} -int(16) -bool(false) - --- Testing fgetcsv() with file opened using a+t mode -- -array(1) { - [0]=> - string(13) "water "fruit"" -} -int(16) -bool(false) - --- Testing fgetcsv() with file opened using w+ mode -- -array(1) { - [0]=> - string(13) "water "fruit"" -} -int(16) -bool(false) - --- Testing fgetcsv() with file opened using w+b mode -- -array(1) { - [0]=> - string(13) "water "fruit"" -} -int(16) -bool(false) - --- Testing fgetcsv() with file opened using w+t mode -- -array(1) { - [0]=> - string(13) "water "fruit"" -} -int(16) -bool(false) - --- Testing fgetcsv() with file opened using x+ mode -- -array(1) { - [0]=> - string(13) "water "fruit"" -} -int(16) -bool(false) - --- Testing fgetcsv() with file opened using x+b mode -- -array(1) { - [0]=> - string(13) "water "fruit"" -} -int(16) -bool(false) - --- Testing fgetcsv() with file opened using x+t mode -- -array(1) { - [0]=> - string(13) "water "fruit"" -} -int(16) -bool(false) - --- Testing fgetcsv() with file opened using r mode -- -array(1) { - [0]=> - string(19) "water\"fruit"\"air"" -} -int(20) -bool(false) - --- Testing fgetcsv() with file opened using rb mode -- -array(1) { - [0]=> - string(19) "water\"fruit"\"air"" -} -int(20) -bool(false) - --- Testing fgetcsv() with file opened using rt mode -- -array(1) { - [0]=> - string(19) "water\"fruit"\"air"" -} -int(20) -bool(false) - --- Testing fgetcsv() with file opened using r+ mode -- -array(1) { - [0]=> - string(19) "water\"fruit"\"air"" -} -int(20) -bool(false) - --- Testing fgetcsv() with file opened using r+b mode -- -array(1) { - [0]=> - string(19) "water\"fruit"\"air"" -} -int(20) -bool(false) - --- Testing fgetcsv() with file opened using r+t mode -- -array(1) { - [0]=> - string(19) "water\"fruit"\"air"" -} -int(20) -bool(false) - --- Testing fgetcsv() with file opened using a+ mode -- -array(1) { - [0]=> - string(19) "water\"fruit"\"air"" -} -int(20) -bool(false) - --- Testing fgetcsv() with file opened using a+b mode -- -array(1) { - [0]=> - string(19) "water\"fruit"\"air"" -} -int(20) -bool(false) - --- Testing fgetcsv() with file opened using a+t mode -- -array(1) { - [0]=> - string(19) "water\"fruit"\"air"" -} -int(20) -bool(false) - --- Testing fgetcsv() with file opened using w+ mode -- -array(1) { - [0]=> - string(19) "water\"fruit"\"air"" -} -int(20) -bool(false) - --- Testing fgetcsv() with file opened using w+b mode -- -array(1) { - [0]=> - string(19) "water\"fruit"\"air"" -} -int(20) -bool(false) - --- Testing fgetcsv() with file opened using w+t mode -- -array(1) { - [0]=> - string(19) "water\"fruit"\"air"" -} -int(20) -bool(false) - --- Testing fgetcsv() with file opened using x+ mode -- -array(1) { - [0]=> - string(19) "water\"fruit"\"air"" -} -int(20) -bool(false) - --- Testing fgetcsv() with file opened using x+b mode -- -array(1) { - [0]=> - string(19) "water\"fruit"\"air"" -} -int(20) -bool(false) - --- Testing fgetcsv() with file opened using x+t mode -- -array(1) { - [0]=> - string(19) "water\"fruit"\"air"" -} -int(20) -bool(false) - --- Testing fgetcsv() with file opened using r mode -- -array(1) { - [0]=> - string(17) "water\"fruit"\"""" -} -int(20) -bool(false) - --- Testing fgetcsv() with file opened using rb mode -- -array(1) { - [0]=> - string(17) "water\"fruit"\"""" -} -int(20) -bool(false) - --- Testing fgetcsv() with file opened using rt mode -- -array(1) { - [0]=> - string(17) "water\"fruit"\"""" -} -int(20) -bool(false) - --- Testing fgetcsv() with file opened using r+ mode -- -array(1) { - [0]=> - string(17) "water\"fruit"\"""" -} -int(20) -bool(false) - --- Testing fgetcsv() with file opened using r+b mode -- -array(1) { - [0]=> - string(17) "water\"fruit"\"""" -} -int(20) -bool(false) - --- Testing fgetcsv() with file opened using r+t mode -- -array(1) { - [0]=> - string(17) "water\"fruit"\"""" -} -int(20) -bool(false) - --- Testing fgetcsv() with file opened using a+ mode -- -array(1) { - [0]=> - string(17) "water\"fruit"\"""" -} -int(20) -bool(false) - --- Testing fgetcsv() with file opened using a+b mode -- -array(1) { - [0]=> - string(17) "water\"fruit"\"""" -} -int(20) -bool(false) - --- Testing fgetcsv() with file opened using a+t mode -- -array(1) { - [0]=> - string(17) "water\"fruit"\"""" -} -int(20) -bool(false) - --- Testing fgetcsv() with file opened using w+ mode -- -array(1) { - [0]=> - string(17) "water\"fruit"\"""" -} -int(20) -bool(false) - --- Testing fgetcsv() with file opened using w+b mode -- -array(1) { - [0]=> - string(17) "water\"fruit"\"""" -} -int(20) -bool(false) - --- Testing fgetcsv() with file opened using w+t mode -- -array(1) { - [0]=> - string(17) "water\"fruit"\"""" -} -int(20) -bool(false) - --- Testing fgetcsv() with file opened using x+ mode -- -array(1) { - [0]=> - string(17) "water\"fruit"\"""" -} -int(20) -bool(false) - --- Testing fgetcsv() with file opened using x+b mode -- -array(1) { - [0]=> - string(17) "water\"fruit"\"""" -} -int(20) -bool(false) - --- Testing fgetcsv() with file opened using x+t mode -- -array(1) { - [0]=> - string(17) "water\"fruit"\"""" -} -int(20) -bool(false) -Done -*** Testing fgetcsv() : with default enclosure and different delimiter *** - --- Testing fgetcsv() with file opened using r mode -- -array(1) { - [0]=> - string(11) "water,fruit" -} -int(12) -bool(false) - --- Testing fgetcsv() with file opened using rb mode -- -array(1) { - [0]=> - string(11) "water,fruit" -} -int(12) -bool(false) - --- Testing fgetcsv() with file opened using rt mode -- -array(1) { - [0]=> - unicode(11) "water,fruit" -} -int(12) -bool(false) - --- Testing fgetcsv() with file opened using r+ mode -- -array(1) { - [0]=> - string(11) "water,fruit" -} -int(12) -bool(false) - --- Testing fgetcsv() with file opened using r+b mode -- -array(1) { - [0]=> - string(11) "water,fruit" -} -int(12) -bool(false) - --- Testing fgetcsv() with file opened using r+t mode -- -array(1) { - [0]=> - unicode(11) "water,fruit" -} -int(12) -bool(false) - --- Testing fgetcsv() with file opened using a+ mode -- -array(1) { - [0]=> - string(11) "water,fruit" -} -int(12) -bool(false) - --- Testing fgetcsv() with file opened using a+b mode -- -array(1) { - [0]=> - string(11) "water,fruit" -} -int(12) -bool(false) - --- Testing fgetcsv() with file opened using a+t mode -- -array(1) { - [0]=> - unicode(11) "water,fruit" -} -int(12) -bool(false) - --- Testing fgetcsv() with file opened using w+ mode -- -array(1) { - [0]=> - string(11) "water,fruit" -} -int(12) -bool(false) - --- Testing fgetcsv() with file opened using w+b mode -- -array(1) { - [0]=> - string(11) "water,fruit" -} -int(12) -bool(false) - --- Testing fgetcsv() with file opened using w+t mode -- -array(1) { - [0]=> - unicode(11) "water,fruit" -} -int(12) -bool(false) - --- Testing fgetcsv() with file opened using x+ mode -- -array(1) { - [0]=> - string(11) "water,fruit" -} -int(12) -bool(false) - --- Testing fgetcsv() with file opened using x+b mode -- -array(1) { - [0]=> - string(11) "water,fruit" -} -int(12) -bool(false) - --- Testing fgetcsv() with file opened using x+t mode -- -array(1) { - [0]=> - unicode(11) "water,fruit" -} -int(12) -bool(false) - --- Testing fgetcsv() with file opened using r mode -- -array(1) { - [0]=> - string(11) "water fruit" -} -int(12) -bool(false) - --- Testing fgetcsv() with file opened using rb mode -- -array(1) { - [0]=> - string(11) "water fruit" -} -int(12) -bool(false) - --- Testing fgetcsv() with file opened using rt mode -- -array(1) { - [0]=> - unicode(11) "water fruit" -} -int(12) -bool(false) - --- Testing fgetcsv() with file opened using r+ mode -- -array(1) { - [0]=> - string(11) "water fruit" -} -int(12) -bool(false) - --- Testing fgetcsv() with file opened using r+b mode -- -array(1) { - [0]=> - string(11) "water fruit" -} -int(12) -bool(false) - --- Testing fgetcsv() with file opened using r+t mode -- -array(1) { - [0]=> - unicode(11) "water fruit" -} -int(12) -bool(false) - --- Testing fgetcsv() with file opened using a+ mode -- -array(1) { - [0]=> - string(11) "water fruit" -} -int(12) -bool(false) - --- Testing fgetcsv() with file opened using a+b mode -- -array(1) { - [0]=> - string(11) "water fruit" -} -int(12) -bool(false) - --- Testing fgetcsv() with file opened using a+t mode -- -array(1) { - [0]=> - unicode(11) "water fruit" -} -int(12) -bool(false) - --- Testing fgetcsv() with file opened using w+ mode -- -array(1) { - [0]=> - string(11) "water fruit" -} -int(12) -bool(false) - --- Testing fgetcsv() with file opened using w+b mode -- -array(1) { - [0]=> - string(11) "water fruit" -} -int(12) -bool(false) - --- Testing fgetcsv() with file opened using w+t mode -- -array(1) { - [0]=> - unicode(11) "water fruit" -} -int(12) -bool(false) - --- Testing fgetcsv() with file opened using x+ mode -- -array(1) { - [0]=> - string(11) "water fruit" -} -int(12) -bool(false) - --- Testing fgetcsv() with file opened using x+b mode -- -array(1) { - [0]=> - string(11) "water fruit" -} -int(12) -bool(false) - --- Testing fgetcsv() with file opened using x+t mode -- -array(1) { - [0]=> - unicode(11) "water fruit" -} -int(12) -bool(false) - --- Testing fgetcsv() with file opened using r mode -- -array(1) { - [0]=> - string(13) "water "fruit"" -} -int(16) -bool(false) - --- Testing fgetcsv() with file opened using rb mode -- -array(1) { - [0]=> - string(13) "water "fruit"" -} -int(16) -bool(false) - --- Testing fgetcsv() with file opened using rt mode -- -array(1) { - [0]=> - unicode(13) "water "fruit"" -} -int(16) -bool(false) - --- Testing fgetcsv() with file opened using r+ mode -- -array(1) { - [0]=> - string(13) "water "fruit"" -} -int(16) -bool(false) - --- Testing fgetcsv() with file opened using r+b mode -- -array(1) { - [0]=> - string(13) "water "fruit"" -} -int(16) -bool(false) - --- Testing fgetcsv() with file opened using r+t mode -- -array(1) { - [0]=> - unicode(13) "water "fruit"" -} -int(16) -bool(false) - --- Testing fgetcsv() with file opened using a+ mode -- -array(1) { - [0]=> - string(13) "water "fruit"" -} -int(16) -bool(false) - --- Testing fgetcsv() with file opened using a+b mode -- -array(1) { - [0]=> - string(13) "water "fruit"" -} -int(16) -bool(false) - --- Testing fgetcsv() with file opened using a+t mode -- -array(1) { - [0]=> - unicode(13) "water "fruit"" -} -int(16) -bool(false) - --- Testing fgetcsv() with file opened using w+ mode -- -array(1) { - [0]=> - string(13) "water "fruit"" -} -int(16) -bool(false) - --- Testing fgetcsv() with file opened using w+b mode -- -array(1) { - [0]=> - string(13) "water "fruit"" -} -int(16) -bool(false) - --- Testing fgetcsv() with file opened using w+t mode -- -array(1) { - [0]=> - unicode(13) "water "fruit"" -} -int(16) -bool(false) - --- Testing fgetcsv() with file opened using x+ mode -- -array(1) { - [0]=> - string(13) "water "fruit"" -} -int(16) -bool(false) - --- Testing fgetcsv() with file opened using x+b mode -- -array(1) { - [0]=> - string(13) "water "fruit"" -} -int(16) -bool(false) - --- Testing fgetcsv() with file opened using x+t mode -- -array(1) { - [0]=> - unicode(13) "water "fruit"" -} -int(16) -bool(false) - --- Testing fgetcsv() with file opened using r mode -- -array(1) { - [0]=> - string(19) "water\"fruit"\"air"" -} -int(20) -bool(false) - --- Testing fgetcsv() with file opened using rb mode -- -array(1) { - [0]=> - string(19) "water\"fruit"\"air"" -} -int(20) -bool(false) - --- Testing fgetcsv() with file opened using rt mode -- -array(1) { - [0]=> - unicode(19) "water\"fruit"\"air"" -} -int(20) -bool(false) - --- Testing fgetcsv() with file opened using r+ mode -- -array(1) { - [0]=> - string(19) "water\"fruit"\"air"" -} -int(20) -bool(false) - --- Testing fgetcsv() with file opened using r+b mode -- -array(1) { - [0]=> - string(19) "water\"fruit"\"air"" -} -int(20) -bool(false) - --- Testing fgetcsv() with file opened using r+t mode -- -array(1) { - [0]=> - unicode(19) "water\"fruit"\"air"" -} -int(20) -bool(false) - --- Testing fgetcsv() with file opened using a+ mode -- -array(1) { - [0]=> - string(19) "water\"fruit"\"air"" -} -int(20) -bool(false) - --- Testing fgetcsv() with file opened using a+b mode -- -array(1) { - [0]=> - string(19) "water\"fruit"\"air"" -} -int(20) -bool(false) - --- Testing fgetcsv() with file opened using a+t mode -- -array(1) { - [0]=> - unicode(19) "water\"fruit"\"air"" -} -int(20) -bool(false) - --- Testing fgetcsv() with file opened using w+ mode -- -array(1) { - [0]=> - string(19) "water\"fruit"\"air"" -} -int(20) -bool(false) - --- Testing fgetcsv() with file opened using w+b mode -- -array(1) { - [0]=> - string(19) "water\"fruit"\"air"" -} -int(20) -bool(false) - --- Testing fgetcsv() with file opened using w+t mode -- -array(1) { - [0]=> - unicode(19) "water\"fruit"\"air"" -} -int(20) -bool(false) - --- Testing fgetcsv() with file opened using x+ mode -- -array(1) { - [0]=> - string(19) "water\"fruit"\"air"" -} -int(20) -bool(false) - --- Testing fgetcsv() with file opened using x+b mode -- -array(1) { - [0]=> - string(19) "water\"fruit"\"air"" -} -int(20) -bool(false) - --- Testing fgetcsv() with file opened using x+t mode -- -array(1) { - [0]=> - unicode(19) "water\"fruit"\"air"" -} -int(20) -bool(false) - --- Testing fgetcsv() with file opened using r mode -- -array(1) { - [0]=> - string(17) "water\"fruit"\"""" -} -int(20) -bool(false) - --- Testing fgetcsv() with file opened using rb mode -- -array(1) { - [0]=> - string(17) "water\"fruit"\"""" -} -int(20) -bool(false) - --- Testing fgetcsv() with file opened using rt mode -- -array(1) { - [0]=> - unicode(17) "water\"fruit"\"""" -} -int(20) -bool(false) - --- Testing fgetcsv() with file opened using r+ mode -- -array(1) { - [0]=> - string(17) "water\"fruit"\"""" -} -int(20) -bool(false) - --- Testing fgetcsv() with file opened using r+b mode -- -array(1) { - [0]=> - string(17) "water\"fruit"\"""" -} -int(20) -bool(false) - --- Testing fgetcsv() with file opened using r+t mode -- -array(1) { - [0]=> - unicode(17) "water\"fruit"\"""" -} -int(20) -bool(false) - --- Testing fgetcsv() with file opened using a+ mode -- -array(1) { - [0]=> - string(17) "water\"fruit"\"""" -} -int(20) -bool(false) - --- Testing fgetcsv() with file opened using a+b mode -- -array(1) { - [0]=> - string(17) "water\"fruit"\"""" -} -int(20) -bool(false) - --- Testing fgetcsv() with file opened using a+t mode -- -array(1) { - [0]=> - unicode(17) "water\"fruit"\"""" -} -int(20) -bool(false) - --- Testing fgetcsv() with file opened using w+ mode -- -array(1) { - [0]=> - string(17) "water\"fruit"\"""" -} -int(20) -bool(false) - --- Testing fgetcsv() with file opened using w+b mode -- -array(1) { - [0]=> - string(17) "water\"fruit"\"""" -} -int(20) -bool(false) - --- Testing fgetcsv() with file opened using w+t mode -- -array(1) { - [0]=> - unicode(17) "water\"fruit"\"""" -} -int(20) -bool(false) - --- Testing fgetcsv() with file opened using x+ mode -- -array(1) { - [0]=> - string(17) "water\"fruit"\"""" -} -int(20) -bool(false) - --- Testing fgetcsv() with file opened using x+b mode -- -array(1) { - [0]=> - string(17) "water\"fruit"\"""" -} -int(20) -bool(false) - --- Testing fgetcsv() with file opened using x+t mode -- -array(1) { - [0]=> - unicode(17) "water\"fruit"\"""" -} -int(20) -bool(false) -Done diff --git a/ext/standard/tests/file/fgetcsv_variation19.phpt b/ext/standard/tests/file/fgetcsv_variation19.phpt index 42b256d93c..872f1a64d7 100644 --- a/ext/standard/tests/file/fgetcsv_variation19.phpt +++ b/ext/standard/tests/file/fgetcsv_variation19.phpt @@ -1591,1509 +1591,3 @@ array(1) { int(20) bool(false) Done - ---UEXPECTF-- -*** Testing fgetcsv() : with default enclosure & delimiter of two chars *** - --- Testing fgetcsv() with file opened using r mode -- - -Notice: fgetcsv(): delimiter must be a single character in %s on line %d -array(1) { - [0]=> - string(11) "water,fruit" -} -int(12) -bool(false) - --- Testing fgetcsv() with file opened using rb mode -- - -Notice: fgetcsv(): delimiter must be a single character in %s on line %d -array(1) { - [0]=> - string(11) "water,fruit" -} -int(12) -bool(false) - --- Testing fgetcsv() with file opened using rt mode -- - -Notice: fgetcsv(): delimiter must be a single character in %s on line %d -array(1) { - [0]=> - string(11) "water,fruit" -} -int(12) -bool(false) - --- Testing fgetcsv() with file opened using r+ mode -- - -Notice: fgetcsv(): delimiter must be a single character in %s on line %d -array(1) { - [0]=> - string(11) "water,fruit" -} -int(12) -bool(false) - --- Testing fgetcsv() with file opened using r+b mode -- - -Notice: fgetcsv(): delimiter must be a single character in %s on line %d -array(1) { - [0]=> - string(11) "water,fruit" -} -int(12) -bool(false) - --- Testing fgetcsv() with file opened using r+t mode -- - -Notice: fgetcsv(): delimiter must be a single character in %s on line %d -array(1) { - [0]=> - string(11) "water,fruit" -} -int(12) -bool(false) - --- Testing fgetcsv() with file opened using a+ mode -- - -Notice: fgetcsv(): delimiter must be a single character in %s on line %d -array(1) { - [0]=> - string(11) "water,fruit" -} -int(12) -bool(false) - --- Testing fgetcsv() with file opened using a+b mode -- - -Notice: fgetcsv(): delimiter must be a single character in %s on line %d -array(1) { - [0]=> - string(11) "water,fruit" -} -int(12) -bool(false) - --- Testing fgetcsv() with file opened using a+t mode -- - -Notice: fgetcsv(): delimiter must be a single character in %s on line %d -array(1) { - [0]=> - string(11) "water,fruit" -} -int(12) -bool(false) - --- Testing fgetcsv() with file opened using w+ mode -- - -Notice: fgetcsv(): delimiter must be a single character in %s on line %d -array(1) { - [0]=> - string(11) "water,fruit" -} -int(12) -bool(false) - --- Testing fgetcsv() with file opened using w+b mode -- - -Notice: fgetcsv(): delimiter must be a single character in %s on line %d -array(1) { - [0]=> - string(11) "water,fruit" -} -int(12) -bool(false) - --- Testing fgetcsv() with file opened using w+t mode -- - -Notice: fgetcsv(): delimiter must be a single character in %s on line %d -array(1) { - [0]=> - string(11) "water,fruit" -} -int(12) -bool(false) - --- Testing fgetcsv() with file opened using x+ mode -- - -Notice: fgetcsv(): delimiter must be a single character in %s on line %d -array(1) { - [0]=> - string(11) "water,fruit" -} -int(12) -bool(false) - --- Testing fgetcsv() with file opened using x+b mode -- - -Notice: fgetcsv(): delimiter must be a single character in %s on line %d -array(1) { - [0]=> - string(11) "water,fruit" -} -int(12) -bool(false) - --- Testing fgetcsv() with file opened using x+t mode -- - -Notice: fgetcsv(): delimiter must be a single character in %s on line %d -array(1) { - [0]=> - string(11) "water,fruit" -} -int(12) -bool(false) - --- Testing fgetcsv() with file opened using r mode -- - -Notice: fgetcsv(): delimiter must be a single character in %s on line %d -array(1) { - [0]=> - string(11) "water fruit" -} -int(12) -bool(false) - --- Testing fgetcsv() with file opened using rb mode -- - -Notice: fgetcsv(): delimiter must be a single character in %s on line %d -array(1) { - [0]=> - string(11) "water fruit" -} -int(12) -bool(false) - --- Testing fgetcsv() with file opened using rt mode -- - -Notice: fgetcsv(): delimiter must be a single character in %s on line %d -array(1) { - [0]=> - string(11) "water fruit" -} -int(12) -bool(false) - --- Testing fgetcsv() with file opened using r+ mode -- - -Notice: fgetcsv(): delimiter must be a single character in %s on line %d -array(1) { - [0]=> - string(11) "water fruit" -} -int(12) -bool(false) - --- Testing fgetcsv() with file opened using r+b mode -- - -Notice: fgetcsv(): delimiter must be a single character in %s on line %d -array(1) { - [0]=> - string(11) "water fruit" -} -int(12) -bool(false) - --- Testing fgetcsv() with file opened using r+t mode -- - -Notice: fgetcsv(): delimiter must be a single character in %s on line %d -array(1) { - [0]=> - string(11) "water fruit" -} -int(12) -bool(false) - --- Testing fgetcsv() with file opened using a+ mode -- - -Notice: fgetcsv(): delimiter must be a single character in %s on line %d -array(1) { - [0]=> - string(11) "water fruit" -} -int(12) -bool(false) - --- Testing fgetcsv() with file opened using a+b mode -- - -Notice: fgetcsv(): delimiter must be a single character in %s on line %d -array(1) { - [0]=> - string(11) "water fruit" -} -int(12) -bool(false) - --- Testing fgetcsv() with file opened using a+t mode -- - -Notice: fgetcsv(): delimiter must be a single character in %s on line %d -array(1) { - [0]=> - string(11) "water fruit" -} -int(12) -bool(false) - --- Testing fgetcsv() with file opened using w+ mode -- - -Notice: fgetcsv(): delimiter must be a single character in %s on line %d -array(1) { - [0]=> - string(11) "water fruit" -} -int(12) -bool(false) - --- Testing fgetcsv() with file opened using w+b mode -- - -Notice: fgetcsv(): delimiter must be a single character in %s on line %d -array(1) { - [0]=> - string(11) "water fruit" -} -int(12) -bool(false) - --- Testing fgetcsv() with file opened using w+t mode -- - -Notice: fgetcsv(): delimiter must be a single character in %s on line %d -array(1) { - [0]=> - string(11) "water fruit" -} -int(12) -bool(false) - --- Testing fgetcsv() with file opened using x+ mode -- - -Notice: fgetcsv(): delimiter must be a single character in %s on line %d -array(1) { - [0]=> - string(11) "water fruit" -} -int(12) -bool(false) - --- Testing fgetcsv() with file opened using x+b mode -- - -Notice: fgetcsv(): delimiter must be a single character in %s on line %d -array(1) { - [0]=> - string(11) "water fruit" -} -int(12) -bool(false) - --- Testing fgetcsv() with file opened using x+t mode -- - -Notice: fgetcsv(): delimiter must be a single character in %s on line %d -array(1) { - [0]=> - string(11) "water fruit" -} -int(12) -bool(false) - --- Testing fgetcsv() with file opened using r mode -- - -Notice: fgetcsv(): delimiter must be a single character in %s on line %d -array(1) { - [0]=> - string(13) "water "fruit"" -} -int(16) -bool(false) - --- Testing fgetcsv() with file opened using rb mode -- - -Notice: fgetcsv(): delimiter must be a single character in %s on line %d -array(1) { - [0]=> - string(13) "water "fruit"" -} -int(16) -bool(false) - --- Testing fgetcsv() with file opened using rt mode -- - -Notice: fgetcsv(): delimiter must be a single character in %s on line %d -array(1) { - [0]=> - string(13) "water "fruit"" -} -int(16) -bool(false) - --- Testing fgetcsv() with file opened using r+ mode -- - -Notice: fgetcsv(): delimiter must be a single character in %s on line %d -array(1) { - [0]=> - string(13) "water "fruit"" -} -int(16) -bool(false) - --- Testing fgetcsv() with file opened using r+b mode -- - -Notice: fgetcsv(): delimiter must be a single character in %s on line %d -array(1) { - [0]=> - string(13) "water "fruit"" -} -int(16) -bool(false) - --- Testing fgetcsv() with file opened using r+t mode -- - -Notice: fgetcsv(): delimiter must be a single character in %s on line %d -array(1) { - [0]=> - string(13) "water "fruit"" -} -int(16) -bool(false) - --- Testing fgetcsv() with file opened using a+ mode -- - -Notice: fgetcsv(): delimiter must be a single character in %s on line %d -array(1) { - [0]=> - string(13) "water "fruit"" -} -int(16) -bool(false) - --- Testing fgetcsv() with file opened using a+b mode -- - -Notice: fgetcsv(): delimiter must be a single character in %s on line %d -array(1) { - [0]=> - string(13) "water "fruit"" -} -int(16) -bool(false) - --- Testing fgetcsv() with file opened using a+t mode -- - -Notice: fgetcsv(): delimiter must be a single character in %s on line %d -array(1) { - [0]=> - string(13) "water "fruit"" -} -int(16) -bool(false) - --- Testing fgetcsv() with file opened using w+ mode -- - -Notice: fgetcsv(): delimiter must be a single character in %s on line %d -array(1) { - [0]=> - string(13) "water "fruit"" -} -int(16) -bool(false) - --- Testing fgetcsv() with file opened using w+b mode -- - -Notice: fgetcsv(): delimiter must be a single character in %s on line %d -array(1) { - [0]=> - string(13) "water "fruit"" -} -int(16) -bool(false) - --- Testing fgetcsv() with file opened using w+t mode -- - -Notice: fgetcsv(): delimiter must be a single character in %s on line %d -array(1) { - [0]=> - string(13) "water "fruit"" -} -int(16) -bool(false) - --- Testing fgetcsv() with file opened using x+ mode -- - -Notice: fgetcsv(): delimiter must be a single character in %s on line %d -array(1) { - [0]=> - string(13) "water "fruit"" -} -int(16) -bool(false) - --- Testing fgetcsv() with file opened using x+b mode -- - -Notice: fgetcsv(): delimiter must be a single character in %s on line %d -array(1) { - [0]=> - string(13) "water "fruit"" -} -int(16) -bool(false) - --- Testing fgetcsv() with file opened using x+t mode -- - -Notice: fgetcsv(): delimiter must be a single character in %s on line %d -array(1) { - [0]=> - string(13) "water "fruit"" -} -int(16) -bool(false) - --- Testing fgetcsv() with file opened using r mode -- - -Notice: fgetcsv(): delimiter must be a single character in %s on line %d -array(1) { - [0]=> - string(19) "water\"fruit"\"air"" -} -int(20) -bool(false) - --- Testing fgetcsv() with file opened using rb mode -- - -Notice: fgetcsv(): delimiter must be a single character in %s on line %d -array(1) { - [0]=> - string(19) "water\"fruit"\"air"" -} -int(20) -bool(false) - --- Testing fgetcsv() with file opened using rt mode -- - -Notice: fgetcsv(): delimiter must be a single character in %s on line %d -array(1) { - [0]=> - string(19) "water\"fruit"\"air"" -} -int(20) -bool(false) - --- Testing fgetcsv() with file opened using r+ mode -- - -Notice: fgetcsv(): delimiter must be a single character in %s on line %d -array(1) { - [0]=> - string(19) "water\"fruit"\"air"" -} -int(20) -bool(false) - --- Testing fgetcsv() with file opened using r+b mode -- - -Notice: fgetcsv(): delimiter must be a single character in %s on line %d -array(1) { - [0]=> - string(19) "water\"fruit"\"air"" -} -int(20) -bool(false) - --- Testing fgetcsv() with file opened using r+t mode -- - -Notice: fgetcsv(): delimiter must be a single character in %s on line %d -array(1) { - [0]=> - string(19) "water\"fruit"\"air"" -} -int(20) -bool(false) - --- Testing fgetcsv() with file opened using a+ mode -- - -Notice: fgetcsv(): delimiter must be a single character in %s on line %d -array(1) { - [0]=> - string(19) "water\"fruit"\"air"" -} -int(20) -bool(false) - --- Testing fgetcsv() with file opened using a+b mode -- - -Notice: fgetcsv(): delimiter must be a single character in %s on line %d -array(1) { - [0]=> - string(19) "water\"fruit"\"air"" -} -int(20) -bool(false) - --- Testing fgetcsv() with file opened using a+t mode -- - -Notice: fgetcsv(): delimiter must be a single character in %s on line %d -array(1) { - [0]=> - string(19) "water\"fruit"\"air"" -} -int(20) -bool(false) - --- Testing fgetcsv() with file opened using w+ mode -- - -Notice: fgetcsv(): delimiter must be a single character in %s on line %d -array(1) { - [0]=> - string(19) "water\"fruit"\"air"" -} -int(20) -bool(false) - --- Testing fgetcsv() with file opened using w+b mode -- - -Notice: fgetcsv(): delimiter must be a single character in %s on line %d -array(1) { - [0]=> - string(19) "water\"fruit"\"air"" -} -int(20) -bool(false) - --- Testing fgetcsv() with file opened using w+t mode -- - -Notice: fgetcsv(): delimiter must be a single character in %s on line %d -array(1) { - [0]=> - string(19) "water\"fruit"\"air"" -} -int(20) -bool(false) - --- Testing fgetcsv() with file opened using x+ mode -- - -Notice: fgetcsv(): delimiter must be a single character in %s on line %d -array(1) { - [0]=> - string(19) "water\"fruit"\"air"" -} -int(20) -bool(false) - --- Testing fgetcsv() with file opened using x+b mode -- - -Notice: fgetcsv(): delimiter must be a single character in %s on line %d -array(1) { - [0]=> - string(19) "water\"fruit"\"air"" -} -int(20) -bool(false) - --- Testing fgetcsv() with file opened using x+t mode -- - -Notice: fgetcsv(): delimiter must be a single character in %s on line %d -array(1) { - [0]=> - string(19) "water\"fruit"\"air"" -} -int(20) -bool(false) - --- Testing fgetcsv() with file opened using r mode -- - -Notice: fgetcsv(): delimiter must be a single character in %s on line %d -array(1) { - [0]=> - string(17) "water\"fruit"\"""" -} -int(20) -bool(false) - --- Testing fgetcsv() with file opened using rb mode -- - -Notice: fgetcsv(): delimiter must be a single character in %s on line %d -array(1) { - [0]=> - string(17) "water\"fruit"\"""" -} -int(20) -bool(false) - --- Testing fgetcsv() with file opened using rt mode -- - -Notice: fgetcsv(): delimiter must be a single character in %s on line %d -array(1) { - [0]=> - string(17) "water\"fruit"\"""" -} -int(20) -bool(false) - --- Testing fgetcsv() with file opened using r+ mode -- - -Notice: fgetcsv(): delimiter must be a single character in %s on line %d -array(1) { - [0]=> - string(17) "water\"fruit"\"""" -} -int(20) -bool(false) - --- Testing fgetcsv() with file opened using r+b mode -- - -Notice: fgetcsv(): delimiter must be a single character in %s on line %d -array(1) { - [0]=> - string(17) "water\"fruit"\"""" -} -int(20) -bool(false) - --- Testing fgetcsv() with file opened using r+t mode -- - -Notice: fgetcsv(): delimiter must be a single character in %s on line %d -array(1) { - [0]=> - string(17) "water\"fruit"\"""" -} -int(20) -bool(false) - --- Testing fgetcsv() with file opened using a+ mode -- - -Notice: fgetcsv(): delimiter must be a single character in %s on line %d -array(1) { - [0]=> - string(17) "water\"fruit"\"""" -} -int(20) -bool(false) - --- Testing fgetcsv() with file opened using a+b mode -- - -Notice: fgetcsv(): delimiter must be a single character in %s on line %d -array(1) { - [0]=> - string(17) "water\"fruit"\"""" -} -int(20) -bool(false) - --- Testing fgetcsv() with file opened using a+t mode -- - -Notice: fgetcsv(): delimiter must be a single character in %s on line %d -array(1) { - [0]=> - string(17) "water\"fruit"\"""" -} -int(20) -bool(false) - --- Testing fgetcsv() with file opened using w+ mode -- - -Notice: fgetcsv(): delimiter must be a single character in %s on line %d -array(1) { - [0]=> - string(17) "water\"fruit"\"""" -} -int(20) -bool(false) - --- Testing fgetcsv() with file opened using w+b mode -- - -Notice: fgetcsv(): delimiter must be a single character in %s on line %d -array(1) { - [0]=> - string(17) "water\"fruit"\"""" -} -int(20) -bool(false) - --- Testing fgetcsv() with file opened using w+t mode -- - -Notice: fgetcsv(): delimiter must be a single character in %s on line %d -array(1) { - [0]=> - string(17) "water\"fruit"\"""" -} -int(20) -bool(false) - --- Testing fgetcsv() with file opened using x+ mode -- - -Notice: fgetcsv(): delimiter must be a single character in %s on line %d -array(1) { - [0]=> - string(17) "water\"fruit"\"""" -} -int(20) -bool(false) - --- Testing fgetcsv() with file opened using x+b mode -- - -Notice: fgetcsv(): delimiter must be a single character in %s on line %d -array(1) { - [0]=> - string(17) "water\"fruit"\"""" -} -int(20) -bool(false) - --- Testing fgetcsv() with file opened using x+t mode -- - -Notice: fgetcsv(): delimiter must be a single character in %s on line %d -array(1) { - [0]=> - string(17) "water\"fruit"\"""" -} -int(20) -bool(false) -Done -*** Testing fgetcsv() : with default enclosure & delimiter of two chars *** - --- Testing fgetcsv() with file opened using r mode -- - -Notice: fgetcsv(): delimiter must be a single character in %s on line %d -array(1) { - [0]=> - string(11) "water,fruit" -} -int(12) -bool(false) - --- Testing fgetcsv() with file opened using rb mode -- - -Notice: fgetcsv(): delimiter must be a single character in %s on line %d -array(1) { - [0]=> - string(11) "water,fruit" -} -int(12) -bool(false) - --- Testing fgetcsv() with file opened using rt mode -- - -Notice: fgetcsv(): delimiter must be a single character in %s on line %d -array(1) { - [0]=> - unicode(11) "water,fruit" -} -int(12) -bool(false) - --- Testing fgetcsv() with file opened using r+ mode -- - -Notice: fgetcsv(): delimiter must be a single character in %s on line %d -array(1) { - [0]=> - string(11) "water,fruit" -} -int(12) -bool(false) - --- Testing fgetcsv() with file opened using r+b mode -- - -Notice: fgetcsv(): delimiter must be a single character in %s on line %d -array(1) { - [0]=> - string(11) "water,fruit" -} -int(12) -bool(false) - --- Testing fgetcsv() with file opened using r+t mode -- - -Notice: fgetcsv(): delimiter must be a single character in %s on line %d -array(1) { - [0]=> - unicode(11) "water,fruit" -} -int(12) -bool(false) - --- Testing fgetcsv() with file opened using a+ mode -- - -Notice: fgetcsv(): delimiter must be a single character in %s on line %d -array(1) { - [0]=> - string(11) "water,fruit" -} -int(12) -bool(false) - --- Testing fgetcsv() with file opened using a+b mode -- - -Notice: fgetcsv(): delimiter must be a single character in %s on line %d -array(1) { - [0]=> - string(11) "water,fruit" -} -int(12) -bool(false) - --- Testing fgetcsv() with file opened using a+t mode -- - -Notice: fgetcsv(): delimiter must be a single character in %s on line %d -array(1) { - [0]=> - unicode(11) "water,fruit" -} -int(12) -bool(false) - --- Testing fgetcsv() with file opened using w+ mode -- - -Notice: fgetcsv(): delimiter must be a single character in %s on line %d -array(1) { - [0]=> - string(11) "water,fruit" -} -int(12) -bool(false) - --- Testing fgetcsv() with file opened using w+b mode -- - -Notice: fgetcsv(): delimiter must be a single character in %s on line %d -array(1) { - [0]=> - string(11) "water,fruit" -} -int(12) -bool(false) - --- Testing fgetcsv() with file opened using w+t mode -- - -Notice: fgetcsv(): delimiter must be a single character in %s on line %d -array(1) { - [0]=> - unicode(11) "water,fruit" -} -int(12) -bool(false) - --- Testing fgetcsv() with file opened using x+ mode -- - -Notice: fgetcsv(): delimiter must be a single character in %s on line %d -array(1) { - [0]=> - string(11) "water,fruit" -} -int(12) -bool(false) - --- Testing fgetcsv() with file opened using x+b mode -- - -Notice: fgetcsv(): delimiter must be a single character in %s on line %d -array(1) { - [0]=> - string(11) "water,fruit" -} -int(12) -bool(false) - --- Testing fgetcsv() with file opened using x+t mode -- - -Notice: fgetcsv(): delimiter must be a single character in %s on line %d -array(1) { - [0]=> - unicode(11) "water,fruit" -} -int(12) -bool(false) - --- Testing fgetcsv() with file opened using r mode -- - -Notice: fgetcsv(): delimiter must be a single character in %s on line %d -array(1) { - [0]=> - string(11) "water fruit" -} -int(12) -bool(false) - --- Testing fgetcsv() with file opened using rb mode -- - -Notice: fgetcsv(): delimiter must be a single character in %s on line %d -array(1) { - [0]=> - string(11) "water fruit" -} -int(12) -bool(false) - --- Testing fgetcsv() with file opened using rt mode -- - -Notice: fgetcsv(): delimiter must be a single character in %s on line %d -array(1) { - [0]=> - unicode(11) "water fruit" -} -int(12) -bool(false) - --- Testing fgetcsv() with file opened using r+ mode -- - -Notice: fgetcsv(): delimiter must be a single character in %s on line %d -array(1) { - [0]=> - string(11) "water fruit" -} -int(12) -bool(false) - --- Testing fgetcsv() with file opened using r+b mode -- - -Notice: fgetcsv(): delimiter must be a single character in %s on line %d -array(1) { - [0]=> - string(11) "water fruit" -} -int(12) -bool(false) - --- Testing fgetcsv() with file opened using r+t mode -- - -Notice: fgetcsv(): delimiter must be a single character in %s on line %d -array(1) { - [0]=> - unicode(11) "water fruit" -} -int(12) -bool(false) - --- Testing fgetcsv() with file opened using a+ mode -- - -Notice: fgetcsv(): delimiter must be a single character in %s on line %d -array(1) { - [0]=> - string(11) "water fruit" -} -int(12) -bool(false) - --- Testing fgetcsv() with file opened using a+b mode -- - -Notice: fgetcsv(): delimiter must be a single character in %s on line %d -array(1) { - [0]=> - string(11) "water fruit" -} -int(12) -bool(false) - --- Testing fgetcsv() with file opened using a+t mode -- - -Notice: fgetcsv(): delimiter must be a single character in %s on line %d -array(1) { - [0]=> - unicode(11) "water fruit" -} -int(12) -bool(false) - --- Testing fgetcsv() with file opened using w+ mode -- - -Notice: fgetcsv(): delimiter must be a single character in %s on line %d -array(1) { - [0]=> - string(11) "water fruit" -} -int(12) -bool(false) - --- Testing fgetcsv() with file opened using w+b mode -- - -Notice: fgetcsv(): delimiter must be a single character in %s on line %d -array(1) { - [0]=> - string(11) "water fruit" -} -int(12) -bool(false) - --- Testing fgetcsv() with file opened using w+t mode -- - -Notice: fgetcsv(): delimiter must be a single character in %s on line %d -array(1) { - [0]=> - unicode(11) "water fruit" -} -int(12) -bool(false) - --- Testing fgetcsv() with file opened using x+ mode -- - -Notice: fgetcsv(): delimiter must be a single character in %s on line %d -array(1) { - [0]=> - string(11) "water fruit" -} -int(12) -bool(false) - --- Testing fgetcsv() with file opened using x+b mode -- - -Notice: fgetcsv(): delimiter must be a single character in %s on line %d -array(1) { - [0]=> - string(11) "water fruit" -} -int(12) -bool(false) - --- Testing fgetcsv() with file opened using x+t mode -- - -Notice: fgetcsv(): delimiter must be a single character in %s on line %d -array(1) { - [0]=> - unicode(11) "water fruit" -} -int(12) -bool(false) - --- Testing fgetcsv() with file opened using r mode -- - -Notice: fgetcsv(): delimiter must be a single character in %s on line %d -array(1) { - [0]=> - string(13) "water "fruit"" -} -int(16) -bool(false) - --- Testing fgetcsv() with file opened using rb mode -- - -Notice: fgetcsv(): delimiter must be a single character in %s on line %d -array(1) { - [0]=> - string(13) "water "fruit"" -} -int(16) -bool(false) - --- Testing fgetcsv() with file opened using rt mode -- - -Notice: fgetcsv(): delimiter must be a single character in %s on line %d -array(1) { - [0]=> - unicode(13) "water "fruit"" -} -int(16) -bool(false) - --- Testing fgetcsv() with file opened using r+ mode -- - -Notice: fgetcsv(): delimiter must be a single character in %s on line %d -array(1) { - [0]=> - string(13) "water "fruit"" -} -int(16) -bool(false) - --- Testing fgetcsv() with file opened using r+b mode -- - -Notice: fgetcsv(): delimiter must be a single character in %s on line %d -array(1) { - [0]=> - string(13) "water "fruit"" -} -int(16) -bool(false) - --- Testing fgetcsv() with file opened using r+t mode -- - -Notice: fgetcsv(): delimiter must be a single character in %s on line %d -array(1) { - [0]=> - unicode(13) "water "fruit"" -} -int(16) -bool(false) - --- Testing fgetcsv() with file opened using a+ mode -- - -Notice: fgetcsv(): delimiter must be a single character in %s on line %d -array(1) { - [0]=> - string(13) "water "fruit"" -} -int(16) -bool(false) - --- Testing fgetcsv() with file opened using a+b mode -- - -Notice: fgetcsv(): delimiter must be a single character in %s on line %d -array(1) { - [0]=> - string(13) "water "fruit"" -} -int(16) -bool(false) - --- Testing fgetcsv() with file opened using a+t mode -- - -Notice: fgetcsv(): delimiter must be a single character in %s on line %d -array(1) { - [0]=> - unicode(13) "water "fruit"" -} -int(16) -bool(false) - --- Testing fgetcsv() with file opened using w+ mode -- - -Notice: fgetcsv(): delimiter must be a single character in %s on line %d -array(1) { - [0]=> - string(13) "water "fruit"" -} -int(16) -bool(false) - --- Testing fgetcsv() with file opened using w+b mode -- - -Notice: fgetcsv(): delimiter must be a single character in %s on line %d -array(1) { - [0]=> - string(13) "water "fruit"" -} -int(16) -bool(false) - --- Testing fgetcsv() with file opened using w+t mode -- - -Notice: fgetcsv(): delimiter must be a single character in %s on line %d -array(1) { - [0]=> - unicode(13) "water "fruit"" -} -int(16) -bool(false) - --- Testing fgetcsv() with file opened using x+ mode -- - -Notice: fgetcsv(): delimiter must be a single character in %s on line %d -array(1) { - [0]=> - string(13) "water "fruit"" -} -int(16) -bool(false) - --- Testing fgetcsv() with file opened using x+b mode -- - -Notice: fgetcsv(): delimiter must be a single character in %s on line %d -array(1) { - [0]=> - string(13) "water "fruit"" -} -int(16) -bool(false) - --- Testing fgetcsv() with file opened using x+t mode -- - -Notice: fgetcsv(): delimiter must be a single character in %s on line %d -array(1) { - [0]=> - unicode(13) "water "fruit"" -} -int(16) -bool(false) - --- Testing fgetcsv() with file opened using r mode -- - -Notice: fgetcsv(): delimiter must be a single character in %s on line %d -array(1) { - [0]=> - string(19) "water\"fruit"\"air"" -} -int(20) -bool(false) - --- Testing fgetcsv() with file opened using rb mode -- - -Notice: fgetcsv(): delimiter must be a single character in %s on line %d -array(1) { - [0]=> - string(19) "water\"fruit"\"air"" -} -int(20) -bool(false) - --- Testing fgetcsv() with file opened using rt mode -- - -Notice: fgetcsv(): delimiter must be a single character in %s on line %d -array(1) { - [0]=> - unicode(19) "water\"fruit"\"air"" -} -int(20) -bool(false) - --- Testing fgetcsv() with file opened using r+ mode -- - -Notice: fgetcsv(): delimiter must be a single character in %s on line %d -array(1) { - [0]=> - string(19) "water\"fruit"\"air"" -} -int(20) -bool(false) - --- Testing fgetcsv() with file opened using r+b mode -- - -Notice: fgetcsv(): delimiter must be a single character in %s on line %d -array(1) { - [0]=> - string(19) "water\"fruit"\"air"" -} -int(20) -bool(false) - --- Testing fgetcsv() with file opened using r+t mode -- - -Notice: fgetcsv(): delimiter must be a single character in %s on line %d -array(1) { - [0]=> - unicode(19) "water\"fruit"\"air"" -} -int(20) -bool(false) - --- Testing fgetcsv() with file opened using a+ mode -- - -Notice: fgetcsv(): delimiter must be a single character in %s on line %d -array(1) { - [0]=> - string(19) "water\"fruit"\"air"" -} -int(20) -bool(false) - --- Testing fgetcsv() with file opened using a+b mode -- - -Notice: fgetcsv(): delimiter must be a single character in %s on line %d -array(1) { - [0]=> - string(19) "water\"fruit"\"air"" -} -int(20) -bool(false) - --- Testing fgetcsv() with file opened using a+t mode -- - -Notice: fgetcsv(): delimiter must be a single character in %s on line %d -array(1) { - [0]=> - unicode(19) "water\"fruit"\"air"" -} -int(20) -bool(false) - --- Testing fgetcsv() with file opened using w+ mode -- - -Notice: fgetcsv(): delimiter must be a single character in %s on line %d -array(1) { - [0]=> - string(19) "water\"fruit"\"air"" -} -int(20) -bool(false) - --- Testing fgetcsv() with file opened using w+b mode -- - -Notice: fgetcsv(): delimiter must be a single character in %s on line %d -array(1) { - [0]=> - string(19) "water\"fruit"\"air"" -} -int(20) -bool(false) - --- Testing fgetcsv() with file opened using w+t mode -- - -Notice: fgetcsv(): delimiter must be a single character in %s on line %d -array(1) { - [0]=> - unicode(19) "water\"fruit"\"air"" -} -int(20) -bool(false) - --- Testing fgetcsv() with file opened using x+ mode -- - -Notice: fgetcsv(): delimiter must be a single character in %s on line %d -array(1) { - [0]=> - string(19) "water\"fruit"\"air"" -} -int(20) -bool(false) - --- Testing fgetcsv() with file opened using x+b mode -- - -Notice: fgetcsv(): delimiter must be a single character in %s on line %d -array(1) { - [0]=> - string(19) "water\"fruit"\"air"" -} -int(20) -bool(false) - --- Testing fgetcsv() with file opened using x+t mode -- - -Notice: fgetcsv(): delimiter must be a single character in %s on line %d -array(1) { - [0]=> - unicode(19) "water\"fruit"\"air"" -} -int(20) -bool(false) - --- Testing fgetcsv() with file opened using r mode -- - -Notice: fgetcsv(): delimiter must be a single character in %s on line %d -array(1) { - [0]=> - string(17) "water\"fruit"\"""" -} -int(20) -bool(false) - --- Testing fgetcsv() with file opened using rb mode -- - -Notice: fgetcsv(): delimiter must be a single character in %s on line %d -array(1) { - [0]=> - string(17) "water\"fruit"\"""" -} -int(20) -bool(false) - --- Testing fgetcsv() with file opened using rt mode -- - -Notice: fgetcsv(): delimiter must be a single character in %s on line %d -array(1) { - [0]=> - unicode(17) "water\"fruit"\"""" -} -int(20) -bool(false) - --- Testing fgetcsv() with file opened using r+ mode -- - -Notice: fgetcsv(): delimiter must be a single character in %s on line %d -array(1) { - [0]=> - string(17) "water\"fruit"\"""" -} -int(20) -bool(false) - --- Testing fgetcsv() with file opened using r+b mode -- - -Notice: fgetcsv(): delimiter must be a single character in %s on line %d -array(1) { - [0]=> - string(17) "water\"fruit"\"""" -} -int(20) -bool(false) - --- Testing fgetcsv() with file opened using r+t mode -- - -Notice: fgetcsv(): delimiter must be a single character in %s on line %d -array(1) { - [0]=> - unicode(17) "water\"fruit"\"""" -} -int(20) -bool(false) - --- Testing fgetcsv() with file opened using a+ mode -- - -Notice: fgetcsv(): delimiter must be a single character in %s on line %d -array(1) { - [0]=> - string(17) "water\"fruit"\"""" -} -int(20) -bool(false) - --- Testing fgetcsv() with file opened using a+b mode -- - -Notice: fgetcsv(): delimiter must be a single character in %s on line %d -array(1) { - [0]=> - string(17) "water\"fruit"\"""" -} -int(20) -bool(false) - --- Testing fgetcsv() with file opened using a+t mode -- - -Notice: fgetcsv(): delimiter must be a single character in %s on line %d -array(1) { - [0]=> - unicode(17) "water\"fruit"\"""" -} -int(20) -bool(false) - --- Testing fgetcsv() with file opened using w+ mode -- - -Notice: fgetcsv(): delimiter must be a single character in %s on line %d -array(1) { - [0]=> - string(17) "water\"fruit"\"""" -} -int(20) -bool(false) - --- Testing fgetcsv() with file opened using w+b mode -- - -Notice: fgetcsv(): delimiter must be a single character in %s on line %d -array(1) { - [0]=> - string(17) "water\"fruit"\"""" -} -int(20) -bool(false) - --- Testing fgetcsv() with file opened using w+t mode -- - -Notice: fgetcsv(): delimiter must be a single character in %s on line %d -array(1) { - [0]=> - unicode(17) "water\"fruit"\"""" -} -int(20) -bool(false) - --- Testing fgetcsv() with file opened using x+ mode -- - -Notice: fgetcsv(): delimiter must be a single character in %s on line %d -array(1) { - [0]=> - string(17) "water\"fruit"\"""" -} -int(20) -bool(false) - --- Testing fgetcsv() with file opened using x+b mode -- - -Notice: fgetcsv(): delimiter must be a single character in %s on line %d -array(1) { - [0]=> - string(17) "water\"fruit"\"""" -} -int(20) -bool(false) - --- Testing fgetcsv() with file opened using x+t mode -- - -Notice: fgetcsv(): delimiter must be a single character in %s on line %d -array(1) { - [0]=> - unicode(17) "water\"fruit"\"""" -} -int(20) -bool(false) -Done diff --git a/ext/standard/tests/file/fgetcsv_variation2.phpt b/ext/standard/tests/file/fgetcsv_variation2.phpt index ad08f4fc7c..32e6c1c40b 100644 --- a/ext/standard/tests/file/fgetcsv_variation2.phpt +++ b/ext/standard/tests/file/fgetcsv_variation2.phpt @@ -111,1330 +111,6 @@ array(2) { int(14) bool(false) --- Testing fgetcsv() with file opened using rt mode -- -array(2) { - [0]=> - string(5) "water" - [1]=> - string(5) "fruit" -} -int(14) -bool(false) - --- Testing fgetcsv() with file opened using r+ mode -- -array(2) { - [0]=> - string(5) "water" - [1]=> - string(5) "fruit" -} -int(14) -bool(false) - --- Testing fgetcsv() with file opened using r+b mode -- -array(2) { - [0]=> - string(5) "water" - [1]=> - string(5) "fruit" -} -int(14) -bool(false) - --- Testing fgetcsv() with file opened using r+t mode -- -array(2) { - [0]=> - string(5) "water" - [1]=> - string(5) "fruit" -} -int(14) -bool(false) - --- Testing fgetcsv() with file opened using a+ mode -- -array(2) { - [0]=> - string(5) "water" - [1]=> - string(5) "fruit" -} -int(14) -bool(false) - --- Testing fgetcsv() with file opened using a+b mode -- -array(2) { - [0]=> - string(5) "water" - [1]=> - string(5) "fruit" -} -int(14) -bool(false) - --- Testing fgetcsv() with file opened using a+t mode -- -array(2) { - [0]=> - string(5) "water" - [1]=> - string(5) "fruit" -} -int(14) -bool(false) - --- Testing fgetcsv() with file opened using w+ mode -- -array(2) { - [0]=> - string(5) "water" - [1]=> - string(5) "fruit" -} -int(14) -bool(false) - --- Testing fgetcsv() with file opened using w+b mode -- -array(2) { - [0]=> - string(5) "water" - [1]=> - string(5) "fruit" -} -int(14) -bool(false) - --- Testing fgetcsv() with file opened using w+t mode -- -array(2) { - [0]=> - string(5) "water" - [1]=> - string(5) "fruit" -} -int(14) -bool(false) - --- Testing fgetcsv() with file opened using x+ mode -- -array(2) { - [0]=> - string(5) "water" - [1]=> - string(5) "fruit" -} -int(14) -bool(false) - --- Testing fgetcsv() with file opened using x+b mode -- -array(2) { - [0]=> - string(5) "water" - [1]=> - string(5) "fruit" -} -int(14) -bool(false) - --- Testing fgetcsv() with file opened using x+t mode -- -array(2) { - [0]=> - string(5) "water" - [1]=> - string(5) "fruit" -} -int(14) -bool(false) - --- Testing fgetcsv() with file opened using r mode -- -array(2) { - [0]=> - string(5) "water" - [1]=> - string(5) "fruit" -} -int(16) -bool(false) - --- Testing fgetcsv() with file opened using rb mode -- -array(2) { - [0]=> - string(5) "water" - [1]=> - string(5) "fruit" -} -int(16) -bool(false) - --- Testing fgetcsv() with file opened using rt mode -- -array(2) { - [0]=> - string(5) "water" - [1]=> - string(5) "fruit" -} -int(16) -bool(false) - --- Testing fgetcsv() with file opened using r+ mode -- -array(2) { - [0]=> - string(5) "water" - [1]=> - string(5) "fruit" -} -int(16) -bool(false) - --- Testing fgetcsv() with file opened using r+b mode -- -array(2) { - [0]=> - string(5) "water" - [1]=> - string(5) "fruit" -} -int(16) -bool(false) - --- Testing fgetcsv() with file opened using r+t mode -- -array(2) { - [0]=> - string(5) "water" - [1]=> - string(5) "fruit" -} -int(16) -bool(false) - --- Testing fgetcsv() with file opened using a+ mode -- -array(2) { - [0]=> - string(5) "water" - [1]=> - string(5) "fruit" -} -int(16) -bool(false) - --- Testing fgetcsv() with file opened using a+b mode -- -array(2) { - [0]=> - string(5) "water" - [1]=> - string(5) "fruit" -} -int(16) -bool(false) - --- Testing fgetcsv() with file opened using a+t mode -- -array(2) { - [0]=> - string(5) "water" - [1]=> - string(5) "fruit" -} -int(16) -bool(false) - --- Testing fgetcsv() with file opened using w+ mode -- -array(2) { - [0]=> - string(5) "water" - [1]=> - string(5) "fruit" -} -int(16) -bool(false) - --- Testing fgetcsv() with file opened using w+b mode -- -array(2) { - [0]=> - string(5) "water" - [1]=> - string(5) "fruit" -} -int(16) -bool(false) - --- Testing fgetcsv() with file opened using w+t mode -- -array(2) { - [0]=> - string(5) "water" - [1]=> - string(5) "fruit" -} -int(16) -bool(false) - --- Testing fgetcsv() with file opened using x+ mode -- -array(2) { - [0]=> - string(5) "water" - [1]=> - string(5) "fruit" -} -int(16) -bool(false) - --- Testing fgetcsv() with file opened using x+b mode -- -array(2) { - [0]=> - string(5) "water" - [1]=> - string(5) "fruit" -} -int(16) -bool(false) - --- Testing fgetcsv() with file opened using x+t mode -- -array(2) { - [0]=> - string(5) "water" - [1]=> - string(5) "fruit" -} -int(16) -bool(false) - --- Testing fgetcsv() with file opened using r mode -- -array(2) { - [0]=> - string(5) "water" - [1]=> - string(5) "fruit" -} -int(16) -bool(false) - --- Testing fgetcsv() with file opened using rb mode -- -array(2) { - [0]=> - string(5) "water" - [1]=> - string(5) "fruit" -} -int(16) -bool(false) - --- Testing fgetcsv() with file opened using rt mode -- -array(2) { - [0]=> - string(5) "water" - [1]=> - string(5) "fruit" -} -int(16) -bool(false) - --- Testing fgetcsv() with file opened using r+ mode -- -array(2) { - [0]=> - string(5) "water" - [1]=> - string(5) "fruit" -} -int(16) -bool(false) - --- Testing fgetcsv() with file opened using r+b mode -- -array(2) { - [0]=> - string(5) "water" - [1]=> - string(5) "fruit" -} -int(16) -bool(false) - --- Testing fgetcsv() with file opened using r+t mode -- -array(2) { - [0]=> - string(5) "water" - [1]=> - string(5) "fruit" -} -int(16) -bool(false) - --- Testing fgetcsv() with file opened using a+ mode -- -array(2) { - [0]=> - string(5) "water" - [1]=> - string(5) "fruit" -} -int(16) -bool(false) - --- Testing fgetcsv() with file opened using a+b mode -- -array(2) { - [0]=> - string(5) "water" - [1]=> - string(5) "fruit" -} -int(16) -bool(false) - --- Testing fgetcsv() with file opened using a+t mode -- -array(2) { - [0]=> - string(5) "water" - [1]=> - string(5) "fruit" -} -int(16) -bool(false) - --- Testing fgetcsv() with file opened using w+ mode -- -array(2) { - [0]=> - string(5) "water" - [1]=> - string(5) "fruit" -} -int(16) -bool(false) - --- Testing fgetcsv() with file opened using w+b mode -- -array(2) { - [0]=> - string(5) "water" - [1]=> - string(5) "fruit" -} -int(16) -bool(false) - --- Testing fgetcsv() with file opened using w+t mode -- -array(2) { - [0]=> - string(5) "water" - [1]=> - string(5) "fruit" -} -int(16) -bool(false) - --- Testing fgetcsv() with file opened using x+ mode -- -array(2) { - [0]=> - string(5) "water" - [1]=> - string(5) "fruit" -} -int(16) -bool(false) - --- Testing fgetcsv() with file opened using x+b mode -- -array(2) { - [0]=> - string(5) "water" - [1]=> - string(5) "fruit" -} -int(16) -bool(false) - --- Testing fgetcsv() with file opened using x+t mode -- -array(2) { - [0]=> - string(5) "water" - [1]=> - string(5) "fruit" -} -int(16) -bool(false) - --- Testing fgetcsv() with file opened using r mode -- -array(2) { - [0]=> - string(5) "water" - [1]=> - string(5) "fruit" -} -int(16) -bool(false) - --- Testing fgetcsv() with file opened using rb mode -- -array(2) { - [0]=> - string(5) "water" - [1]=> - string(5) "fruit" -} -int(16) -bool(false) - --- Testing fgetcsv() with file opened using rt mode -- -array(2) { - [0]=> - string(5) "water" - [1]=> - string(5) "fruit" -} -int(16) -bool(false) - --- Testing fgetcsv() with file opened using r+ mode -- -array(2) { - [0]=> - string(5) "water" - [1]=> - string(5) "fruit" -} -int(16) -bool(false) - --- Testing fgetcsv() with file opened using r+b mode -- -array(2) { - [0]=> - string(5) "water" - [1]=> - string(5) "fruit" -} -int(16) -bool(false) - --- Testing fgetcsv() with file opened using r+t mode -- -array(2) { - [0]=> - string(5) "water" - [1]=> - string(5) "fruit" -} -int(16) -bool(false) - --- Testing fgetcsv() with file opened using a+ mode -- -array(2) { - [0]=> - string(5) "water" - [1]=> - string(5) "fruit" -} -int(16) -bool(false) - --- Testing fgetcsv() with file opened using a+b mode -- -array(2) { - [0]=> - string(5) "water" - [1]=> - string(5) "fruit" -} -int(16) -bool(false) - --- Testing fgetcsv() with file opened using a+t mode -- -array(2) { - [0]=> - string(5) "water" - [1]=> - string(5) "fruit" -} -int(16) -bool(false) - --- Testing fgetcsv() with file opened using w+ mode -- -array(2) { - [0]=> - string(5) "water" - [1]=> - string(5) "fruit" -} -int(16) -bool(false) - --- Testing fgetcsv() with file opened using w+b mode -- -array(2) { - [0]=> - string(5) "water" - [1]=> - string(5) "fruit" -} -int(16) -bool(false) - --- Testing fgetcsv() with file opened using w+t mode -- -array(2) { - [0]=> - string(5) "water" - [1]=> - string(5) "fruit" -} -int(16) -bool(false) - --- Testing fgetcsv() with file opened using x+ mode -- -array(2) { - [0]=> - string(5) "water" - [1]=> - string(5) "fruit" -} -int(16) -bool(false) - --- Testing fgetcsv() with file opened using x+b mode -- -array(2) { - [0]=> - string(5) "water" - [1]=> - string(5) "fruit" -} -int(16) -bool(false) - --- Testing fgetcsv() with file opened using x+t mode -- -array(2) { - [0]=> - string(5) "water" - [1]=> - string(5) "fruit" -} -int(16) -bool(false) - --- Testing fgetcsv() with file opened using r mode -- -array(2) { - [0]=> - string(11) "water=fruit" - [1]=> - string(0) "" -} -int(16) -bool(false) - --- Testing fgetcsv() with file opened using rb mode -- -array(2) { - [0]=> - string(11) "water=fruit" - [1]=> - string(0) "" -} -int(16) -bool(false) - --- Testing fgetcsv() with file opened using rt mode -- -array(2) { - [0]=> - string(11) "water=fruit" - [1]=> - string(0) "" -} -int(16) -bool(false) - --- Testing fgetcsv() with file opened using r+ mode -- -array(2) { - [0]=> - string(11) "water=fruit" - [1]=> - string(0) "" -} -int(16) -bool(false) - --- Testing fgetcsv() with file opened using r+b mode -- -array(2) { - [0]=> - string(11) "water=fruit" - [1]=> - string(0) "" -} -int(16) -bool(false) - --- Testing fgetcsv() with file opened using r+t mode -- -array(2) { - [0]=> - string(11) "water=fruit" - [1]=> - string(0) "" -} -int(16) -bool(false) - --- Testing fgetcsv() with file opened using a+ mode -- -array(2) { - [0]=> - string(11) "water=fruit" - [1]=> - string(0) "" -} -int(16) -bool(false) - --- Testing fgetcsv() with file opened using a+b mode -- -array(2) { - [0]=> - string(11) "water=fruit" - [1]=> - string(0) "" -} -int(16) -bool(false) - --- Testing fgetcsv() with file opened using a+t mode -- -array(2) { - [0]=> - string(11) "water=fruit" - [1]=> - string(0) "" -} -int(16) -bool(false) - --- Testing fgetcsv() with file opened using w+ mode -- -array(2) { - [0]=> - string(11) "water=fruit" - [1]=> - string(0) "" -} -int(16) -bool(false) - --- Testing fgetcsv() with file opened using w+b mode -- -array(2) { - [0]=> - string(11) "water=fruit" - [1]=> - string(0) "" -} -int(16) -bool(false) - --- Testing fgetcsv() with file opened using w+t mode -- -array(2) { - [0]=> - string(11) "water=fruit" - [1]=> - string(0) "" -} -int(16) -bool(false) - --- Testing fgetcsv() with file opened using x+ mode -- -array(2) { - [0]=> - string(11) "water=fruit" - [1]=> - string(0) "" -} -int(16) -bool(false) - --- Testing fgetcsv() with file opened using x+b mode -- -array(2) { - [0]=> - string(11) "water=fruit" - [1]=> - string(0) "" -} -int(16) -bool(false) - --- Testing fgetcsv() with file opened using x+t mode -- -array(2) { - [0]=> - string(11) "water=fruit" - [1]=> - string(0) "" -} -int(16) -bool(false) - --- Testing fgetcsv() with file opened using r mode -- -array(1) { - [0]=> - string(14) "water-fruitair" -} -int(18) -bool(false) - --- Testing fgetcsv() with file opened using rb mode -- -array(1) { - [0]=> - string(14) "water-fruitair" -} -int(18) -bool(false) - --- Testing fgetcsv() with file opened using rt mode -- -array(1) { - [0]=> - string(14) "water-fruitair" -} -int(18) -bool(false) - --- Testing fgetcsv() with file opened using r+ mode -- -array(1) { - [0]=> - string(14) "water-fruitair" -} -int(18) -bool(false) - --- Testing fgetcsv() with file opened using r+b mode -- -array(1) { - [0]=> - string(14) "water-fruitair" -} -int(18) -bool(false) - --- Testing fgetcsv() with file opened using r+t mode -- -array(1) { - [0]=> - string(14) "water-fruitair" -} -int(18) -bool(false) - --- Testing fgetcsv() with file opened using a+ mode -- -array(1) { - [0]=> - string(14) "water-fruitair" -} -int(18) -bool(false) - --- Testing fgetcsv() with file opened using a+b mode -- -array(1) { - [0]=> - string(14) "water-fruitair" -} -int(18) -bool(false) - --- Testing fgetcsv() with file opened using a+t mode -- -array(1) { - [0]=> - string(14) "water-fruitair" -} -int(18) -bool(false) - --- Testing fgetcsv() with file opened using w+ mode -- -array(1) { - [0]=> - string(14) "water-fruitair" -} -int(18) -bool(false) - --- Testing fgetcsv() with file opened using w+b mode -- -array(1) { - [0]=> - string(14) "water-fruitair" -} -int(18) -bool(false) - --- Testing fgetcsv() with file opened using w+t mode -- -array(1) { - [0]=> - string(14) "water-fruitair" -} -int(18) -bool(false) - --- Testing fgetcsv() with file opened using x+ mode -- -array(1) { - [0]=> - string(14) "water-fruitair" -} -int(18) -bool(false) - --- Testing fgetcsv() with file opened using x+b mode -- -array(1) { - [0]=> - string(14) "water-fruitair" -} -int(18) -bool(false) - --- Testing fgetcsv() with file opened using x+t mode -- -array(1) { - [0]=> - string(14) "water-fruitair" -} -int(18) -bool(false) - --- Testing fgetcsv() with file opened using r mode -- -array(3) { - [0]=> - string(11) "water-fruit" - [1]=> - string(3) "air" - [2]=> - string(0) "" -} -int(22) -bool(false) - --- Testing fgetcsv() with file opened using rb mode -- -array(3) { - [0]=> - string(11) "water-fruit" - [1]=> - string(3) "air" - [2]=> - string(0) "" -} -int(22) -bool(false) - --- Testing fgetcsv() with file opened using rt mode -- -array(3) { - [0]=> - string(11) "water-fruit" - [1]=> - string(3) "air" - [2]=> - string(0) "" -} -int(22) -bool(false) - --- Testing fgetcsv() with file opened using r+ mode -- -array(3) { - [0]=> - string(11) "water-fruit" - [1]=> - string(3) "air" - [2]=> - string(0) "" -} -int(22) -bool(false) - --- Testing fgetcsv() with file opened using r+b mode -- -array(3) { - [0]=> - string(11) "water-fruit" - [1]=> - string(3) "air" - [2]=> - string(0) "" -} -int(22) -bool(false) - --- Testing fgetcsv() with file opened using r+t mode -- -array(3) { - [0]=> - string(11) "water-fruit" - [1]=> - string(3) "air" - [2]=> - string(0) "" -} -int(22) -bool(false) - --- Testing fgetcsv() with file opened using a+ mode -- -array(3) { - [0]=> - string(11) "water-fruit" - [1]=> - string(3) "air" - [2]=> - string(0) "" -} -int(22) -bool(false) - --- Testing fgetcsv() with file opened using a+b mode -- -array(3) { - [0]=> - string(11) "water-fruit" - [1]=> - string(3) "air" - [2]=> - string(0) "" -} -int(22) -bool(false) - --- Testing fgetcsv() with file opened using a+t mode -- -array(3) { - [0]=> - string(11) "water-fruit" - [1]=> - string(3) "air" - [2]=> - string(0) "" -} -int(22) -bool(false) - --- Testing fgetcsv() with file opened using w+ mode -- -array(3) { - [0]=> - string(11) "water-fruit" - [1]=> - string(3) "air" - [2]=> - string(0) "" -} -int(22) -bool(false) - --- Testing fgetcsv() with file opened using w+b mode -- -array(3) { - [0]=> - string(11) "water-fruit" - [1]=> - string(3) "air" - [2]=> - string(0) "" -} -int(22) -bool(false) - --- Testing fgetcsv() with file opened using w+t mode -- -array(3) { - [0]=> - string(11) "water-fruit" - [1]=> - string(3) "air" - [2]=> - string(0) "" -} -int(22) -bool(false) - --- Testing fgetcsv() with file opened using x+ mode -- -array(3) { - [0]=> - string(11) "water-fruit" - [1]=> - string(3) "air" - [2]=> - string(0) "" -} -int(22) -bool(false) - --- Testing fgetcsv() with file opened using x+b mode -- -array(3) { - [0]=> - string(11) "water-fruit" - [1]=> - string(3) "air" - [2]=> - string(0) "" -} -int(22) -bool(false) - --- Testing fgetcsv() with file opened using x+t mode -- -array(3) { - [0]=> - string(11) "water-fruit" - [1]=> - string(3) "air" - [2]=> - string(0) "" -} -int(22) -bool(false) - --- Testing fgetcsv() with file opened using r mode -- -array(6) { - [0]=> - string(4) """""" - [1]=> - string(1) """ - [2]=> - string(1) "," - [3]=> - string(1) """ - [4]=> - string(1) "," - [5]=> - string(4) ",,,," -} -int(24) -bool(false) - --- Testing fgetcsv() with file opened using rb mode -- -array(6) { - [0]=> - string(4) """""" - [1]=> - string(1) """ - [2]=> - string(1) "," - [3]=> - string(1) """ - [4]=> - string(1) "," - [5]=> - string(4) ",,,," -} -int(24) -bool(false) - --- Testing fgetcsv() with file opened using rt mode -- -array(6) { - [0]=> - string(4) """""" - [1]=> - string(1) """ - [2]=> - string(1) "," - [3]=> - string(1) """ - [4]=> - string(1) "," - [5]=> - string(4) ",,,," -} -int(24) -bool(false) - --- Testing fgetcsv() with file opened using r+ mode -- -array(6) { - [0]=> - string(4) """""" - [1]=> - string(1) """ - [2]=> - string(1) "," - [3]=> - string(1) """ - [4]=> - string(1) "," - [5]=> - string(4) ",,,," -} -int(24) -bool(false) - --- Testing fgetcsv() with file opened using r+b mode -- -array(6) { - [0]=> - string(4) """""" - [1]=> - string(1) """ - [2]=> - string(1) "," - [3]=> - string(1) """ - [4]=> - string(1) "," - [5]=> - string(4) ",,,," -} -int(24) -bool(false) - --- Testing fgetcsv() with file opened using r+t mode -- -array(6) { - [0]=> - string(4) """""" - [1]=> - string(1) """ - [2]=> - string(1) "," - [3]=> - string(1) """ - [4]=> - string(1) "," - [5]=> - string(4) ",,,," -} -int(24) -bool(false) - --- Testing fgetcsv() with file opened using a+ mode -- -array(6) { - [0]=> - string(4) """""" - [1]=> - string(1) """ - [2]=> - string(1) "," - [3]=> - string(1) """ - [4]=> - string(1) "," - [5]=> - string(4) ",,,," -} -int(24) -bool(false) - --- Testing fgetcsv() with file opened using a+b mode -- -array(6) { - [0]=> - string(4) """""" - [1]=> - string(1) """ - [2]=> - string(1) "," - [3]=> - string(1) """ - [4]=> - string(1) "," - [5]=> - string(4) ",,,," -} -int(24) -bool(false) - --- Testing fgetcsv() with file opened using a+t mode -- -array(6) { - [0]=> - string(4) """""" - [1]=> - string(1) """ - [2]=> - string(1) "," - [3]=> - string(1) """ - [4]=> - string(1) "," - [5]=> - string(4) ",,,," -} -int(24) -bool(false) - --- Testing fgetcsv() with file opened using w+ mode -- -array(6) { - [0]=> - string(4) """""" - [1]=> - string(1) """ - [2]=> - string(1) "," - [3]=> - string(1) """ - [4]=> - string(1) "," - [5]=> - string(4) ",,,," -} -int(24) -bool(false) - --- Testing fgetcsv() with file opened using w+b mode -- -array(6) { - [0]=> - string(4) """""" - [1]=> - string(1) """ - [2]=> - string(1) "," - [3]=> - string(1) """ - [4]=> - string(1) "," - [5]=> - string(4) ",,,," -} -int(24) -bool(false) - --- Testing fgetcsv() with file opened using w+t mode -- -array(6) { - [0]=> - string(4) """""" - [1]=> - string(1) """ - [2]=> - string(1) "," - [3]=> - string(1) """ - [4]=> - string(1) "," - [5]=> - string(4) ",,,," -} -int(24) -bool(false) - --- Testing fgetcsv() with file opened using x+ mode -- -array(6) { - [0]=> - string(4) """""" - [1]=> - string(1) """ - [2]=> - string(1) "," - [3]=> - string(1) """ - [4]=> - string(1) "," - [5]=> - string(4) ",,,," -} -int(24) -bool(false) - --- Testing fgetcsv() with file opened using x+b mode -- -array(6) { - [0]=> - string(4) """""" - [1]=> - string(1) """ - [2]=> - string(1) "," - [3]=> - string(1) """ - [4]=> - string(1) "," - [5]=> - string(4) ",,,," -} -int(24) -bool(false) - --- Testing fgetcsv() with file opened using x+t mode -- -array(6) { - [0]=> - string(4) """""" - [1]=> - string(1) """ - [2]=> - string(1) "," - [3]=> - string(1) """ - [4]=> - string(1) "," - [5]=> - string(4) ",,,," -} -int(24) -bool(false) -Done - ---UEXPECTF-- -*** Testing fgetcsv() : with length as 0 *** - --- Testing fgetcsv() with file opened using r mode -- -array(2) { - [0]=> - string(5) "water" - [1]=> - string(5) "fruit" -} -int(14) -bool(false) - --- Testing fgetcsv() with file opened using rb mode -- -array(2) { - [0]=> - string(5) "water" - [1]=> - string(5) "fruit" -} -int(14) -bool(false) - -- Testing fgetcsv() with file opened using rt mode -- array(2) { [0]=> diff --git a/ext/standard/tests/file/fgetcsv_variation20.phpt b/ext/standard/tests/file/fgetcsv_variation20.phpt index 28891ca79a..771ed21597 100644 --- a/ext/standard/tests/file/fgetcsv_variation20.phpt +++ b/ext/standard/tests/file/fgetcsv_variation20.phpt @@ -85,130 +85,6 @@ array(1) { int(40) bool(false) --- Testing fgetcsv() with file opened using rt mode -- -array(1) { - [0]=> - string(39) "This is line of text without csv fields" -} -int(40) -bool(false) - --- Testing fgetcsv() with file opened using r+ mode -- -array(1) { - [0]=> - string(39) "This is line of text without csv fields" -} -int(40) -bool(false) - --- Testing fgetcsv() with file opened using r+b mode -- -array(1) { - [0]=> - string(39) "This is line of text without csv fields" -} -int(40) -bool(false) - --- Testing fgetcsv() with file opened using r+t mode -- -array(1) { - [0]=> - string(39) "This is line of text without csv fields" -} -int(40) -bool(false) - --- Testing fgetcsv() with file opened using a+ mode -- -array(1) { - [0]=> - string(39) "This is line of text without csv fields" -} -int(40) -bool(false) - --- Testing fgetcsv() with file opened using a+b mode -- -array(1) { - [0]=> - string(39) "This is line of text without csv fields" -} -int(40) -bool(false) - --- Testing fgetcsv() with file opened using a+t mode -- -array(1) { - [0]=> - string(39) "This is line of text without csv fields" -} -int(40) -bool(false) - --- Testing fgetcsv() with file opened using w+ mode -- -array(1) { - [0]=> - string(39) "This is line of text without csv fields" -} -int(40) -bool(false) - --- Testing fgetcsv() with file opened using w+b mode -- -array(1) { - [0]=> - string(39) "This is line of text without csv fields" -} -int(40) -bool(false) - --- Testing fgetcsv() with file opened using w+t mode -- -array(1) { - [0]=> - string(39) "This is line of text without csv fields" -} -int(40) -bool(false) - --- Testing fgetcsv() with file opened using x+ mode -- -array(1) { - [0]=> - string(39) "This is line of text without csv fields" -} -int(40) -bool(false) - --- Testing fgetcsv() with file opened using x+b mode -- -array(1) { - [0]=> - string(39) "This is line of text without csv fields" -} -int(40) -bool(false) - --- Testing fgetcsv() with file opened using x+t mode -- -array(1) { - [0]=> - string(39) "This is line of text without csv fields" -} -int(40) -bool(false) -Done - ---UEXPECT-- -*** Testing fgetcsv() : with default enclosure, line without any csv fields *** - --- Testing fgetcsv() with file opened using r mode -- -array(1) { - [0]=> - string(39) "This is line of text without csv fields" -} -int(40) -bool(false) - --- Testing fgetcsv() with file opened using rb mode -- -array(1) { - [0]=> - string(39) "This is line of text without csv fields" -} -int(40) -bool(false) - -- Testing fgetcsv() with file opened using rt mode -- array(1) { [0]=> diff --git a/ext/standard/tests/file/fgetcsv_variation21.phpt b/ext/standard/tests/file/fgetcsv_variation21.phpt index c4aeaf0eb7..5377110c8f 100644 --- a/ext/standard/tests/file/fgetcsv_variation21.phpt +++ b/ext/standard/tests/file/fgetcsv_variation21.phpt @@ -189,127 +189,3 @@ array(1) { int(1) bool(true) Done - ---UEXPECT-- -*** Testing fgetcsv() : with default enclosure, blank line *** - --- Testing fgetcsv() with file opened using r mode -- -array(1) { - [0]=> - string(0) "" -} -int(1) -bool(true) - --- Testing fgetcsv() with file opened using rb mode -- -array(1) { - [0]=> - string(0) "" -} -int(1) -bool(true) - --- Testing fgetcsv() with file opened using rt mode -- -array(1) { - [0]=> - string(0) "" -} -int(1) -bool(true) - --- Testing fgetcsv() with file opened using r+ mode -- -array(1) { - [0]=> - string(0) "" -} -int(1) -bool(true) - --- Testing fgetcsv() with file opened using r+b mode -- -array(1) { - [0]=> - string(0) "" -} -int(1) -bool(true) - --- Testing fgetcsv() with file opened using r+t mode -- -array(1) { - [0]=> - string(0) "" -} -int(1) -bool(true) - --- Testing fgetcsv() with file opened using a+ mode -- -array(1) { - [0]=> - string(0) "" -} -int(1) -bool(true) - --- Testing fgetcsv() with file opened using a+b mode -- -array(1) { - [0]=> - string(0) "" -} -int(1) -bool(true) - --- Testing fgetcsv() with file opened using a+t mode -- -array(1) { - [0]=> - string(0) "" -} -int(1) -bool(true) - --- Testing fgetcsv() with file opened using w+ mode -- -array(1) { - [0]=> - string(0) "" -} -int(1) -bool(true) - --- Testing fgetcsv() with file opened using w+b mode -- -array(1) { - [0]=> - string(0) "" -} -int(1) -bool(true) - --- Testing fgetcsv() with file opened using w+t mode -- -array(1) { - [0]=> - string(0) "" -} -int(1) -bool(true) - --- Testing fgetcsv() with file opened using x+ mode -- -array(1) { - [0]=> - string(0) "" -} -int(1) -bool(true) - --- Testing fgetcsv() with file opened using x+b mode -- -array(1) { - [0]=> - string(0) "" -} -int(1) -bool(true) - --- Testing fgetcsv() with file opened using x+t mode -- -array(1) { - [0]=> - string(0) "" -} -int(1) -bool(true) -Done diff --git a/ext/standard/tests/file/fgetcsv_variation22.phpt b/ext/standard/tests/file/fgetcsv_variation22.phpt index 74ec7237de..ec359cf0ef 100644 --- a/ext/standard/tests/file/fgetcsv_variation22.phpt +++ b/ext/standard/tests/file/fgetcsv_variation22.phpt @@ -612,532 +612,3 @@ bool(false) int(%d) bool(true) Done - ---UEXPECTF-- -*** Testing fgetcsv() : with default enclosure, file pointer pointing at end of file *** - --- Testing fgetcsv() with file opened using r mode -- -int(0) -bool(false) -bool(false) -int(53) -bool(true) - --- Testing fgetcsv() with file opened using rb mode -- -int(0) -bool(false) -bool(false) -int(53) -bool(true) - --- Testing fgetcsv() with file opened using rt mode -- -int(0) -bool(false) -bool(false) -int(%d) -bool(true) - --- Testing fgetcsv() with file opened using r+ mode -- -int(0) -bool(false) -bool(false) -int(53) -bool(true) - --- Testing fgetcsv() with file opened using r+b mode -- -int(0) -bool(false) -bool(false) -int(53) -bool(true) - --- Testing fgetcsv() with file opened using r+t mode -- -int(0) -bool(false) -bool(false) -int(%d) -bool(true) - --- Testing fgetcsv() with file opened using a+ mode -- -int(0) -bool(false) -bool(false) -int(53) -bool(true) - --- Testing fgetcsv() with file opened using a+b mode -- -int(0) -bool(false) -bool(false) -int(53) -bool(true) - --- Testing fgetcsv() with file opened using a+t mode -- -int(0) -bool(false) -bool(false) -int(%d) -bool(true) - --- Testing fgetcsv() with file opened using w+ mode -- -int(0) -bool(false) -bool(false) -int(53) -bool(true) - --- Testing fgetcsv() with file opened using w+b mode -- -int(0) -bool(false) -bool(false) -int(53) -bool(true) - --- Testing fgetcsv() with file opened using w+t mode -- -int(0) -bool(false) -bool(false) -int(%d) -bool(true) - --- Testing fgetcsv() with file opened using x+ mode -- -int(0) -bool(false) -bool(false) -int(53) -bool(true) - --- Testing fgetcsv() with file opened using x+b mode -- -int(0) -bool(false) -bool(false) -int(53) -bool(true) - --- Testing fgetcsv() with file opened using x+t mode -- -int(0) -bool(false) -bool(false) -int(%d) -bool(true) - --- Testing fgetcsv() with file opened using r mode -- -int(0) -bool(false) -bool(false) -int(53) -bool(true) - --- Testing fgetcsv() with file opened using rb mode -- -int(0) -bool(false) -bool(false) -int(53) -bool(true) - --- Testing fgetcsv() with file opened using rt mode -- -int(0) -bool(false) -bool(false) -int(%d) -bool(true) - --- Testing fgetcsv() with file opened using r+ mode -- -int(0) -bool(false) -bool(false) -int(53) -bool(true) - --- Testing fgetcsv() with file opened using r+b mode -- -int(0) -bool(false) -bool(false) -int(53) -bool(true) - --- Testing fgetcsv() with file opened using r+t mode -- -int(0) -bool(false) -bool(false) -int(%d) -bool(true) - --- Testing fgetcsv() with file opened using a+ mode -- -int(0) -bool(false) -bool(false) -int(53) -bool(true) - --- Testing fgetcsv() with file opened using a+b mode -- -int(0) -bool(false) -bool(false) -int(53) -bool(true) - --- Testing fgetcsv() with file opened using a+t mode -- -int(0) -bool(false) -bool(false) -int(%d) -bool(true) - --- Testing fgetcsv() with file opened using w+ mode -- -int(0) -bool(false) -bool(false) -int(53) -bool(true) - --- Testing fgetcsv() with file opened using w+b mode -- -int(0) -bool(false) -bool(false) -int(53) -bool(true) - --- Testing fgetcsv() with file opened using w+t mode -- -int(0) -bool(false) -bool(false) -int(%d) -bool(true) - --- Testing fgetcsv() with file opened using x+ mode -- -int(0) -bool(false) -bool(false) -int(53) -bool(true) - --- Testing fgetcsv() with file opened using x+b mode -- -int(0) -bool(false) -bool(false) -int(53) -bool(true) - --- Testing fgetcsv() with file opened using x+t mode -- -int(0) -bool(false) -bool(false) -int(%d) -bool(true) - --- Testing fgetcsv() with file opened using r mode -- -int(0) -bool(false) -bool(false) -int(57) -bool(true) - --- Testing fgetcsv() with file opened using rb mode -- -int(0) -bool(false) -bool(false) -int(57) -bool(true) - --- Testing fgetcsv() with file opened using rt mode -- -int(0) -bool(false) -bool(false) -int(%d) -bool(true) - --- Testing fgetcsv() with file opened using r+ mode -- -int(0) -bool(false) -bool(false) -int(57) -bool(true) - --- Testing fgetcsv() with file opened using r+b mode -- -int(0) -bool(false) -bool(false) -int(57) -bool(true) - --- Testing fgetcsv() with file opened using r+t mode -- -int(0) -bool(false) -bool(false) -int(%d) -bool(true) - --- Testing fgetcsv() with file opened using a+ mode -- -int(0) -bool(false) -bool(false) -int(57) -bool(true) - --- Testing fgetcsv() with file opened using a+b mode -- -int(0) -bool(false) -bool(false) -int(57) -bool(true) - --- Testing fgetcsv() with file opened using a+t mode -- -int(0) -bool(false) -bool(false) -int(%d) -bool(true) - --- Testing fgetcsv() with file opened using w+ mode -- -int(0) -bool(false) -bool(false) -int(57) -bool(true) - --- Testing fgetcsv() with file opened using w+b mode -- -int(0) -bool(false) -bool(false) -int(57) -bool(true) - --- Testing fgetcsv() with file opened using w+t mode -- -int(0) -bool(false) -bool(false) -int(%d) -bool(true) - --- Testing fgetcsv() with file opened using x+ mode -- -int(0) -bool(false) -bool(false) -int(57) -bool(true) - --- Testing fgetcsv() with file opened using x+b mode -- -int(0) -bool(false) -bool(false) -int(57) -bool(true) - --- Testing fgetcsv() with file opened using x+t mode -- -int(0) -bool(false) -bool(false) -int(%d) -bool(true) - --- Testing fgetcsv() with file opened using r mode -- -int(0) -bool(false) -bool(false) -int(61) -bool(true) - --- Testing fgetcsv() with file opened using rb mode -- -int(0) -bool(false) -bool(false) -int(61) -bool(true) - --- Testing fgetcsv() with file opened using rt mode -- -int(0) -bool(false) -bool(false) -int(%d) -bool(true) - --- Testing fgetcsv() with file opened using r+ mode -- -int(0) -bool(false) -bool(false) -int(61) -bool(true) - --- Testing fgetcsv() with file opened using r+b mode -- -int(0) -bool(false) -bool(false) -int(61) -bool(true) - --- Testing fgetcsv() with file opened using r+t mode -- -int(0) -bool(false) -bool(false) -int(%d) -bool(true) - --- Testing fgetcsv() with file opened using a+ mode -- -int(0) -bool(false) -bool(false) -int(61) -bool(true) - --- Testing fgetcsv() with file opened using a+b mode -- -int(0) -bool(false) -bool(false) -int(61) -bool(true) - --- Testing fgetcsv() with file opened using a+t mode -- -int(0) -bool(false) -bool(false) -int(%d) -bool(true) - --- Testing fgetcsv() with file opened using w+ mode -- -int(0) -bool(false) -bool(false) -int(61) -bool(true) - --- Testing fgetcsv() with file opened using w+b mode -- -int(0) -bool(false) -bool(false) -int(61) -bool(true) - --- Testing fgetcsv() with file opened using w+t mode -- -int(0) -bool(false) -bool(false) -int(%d) -bool(true) - --- Testing fgetcsv() with file opened using x+ mode -- -int(0) -bool(false) -bool(false) -int(61) -bool(true) - --- Testing fgetcsv() with file opened using x+b mode -- -int(0) -bool(false) -bool(false) -int(61) -bool(true) - --- Testing fgetcsv() with file opened using x+t mode -- -int(0) -bool(false) -bool(false) -int(%d) -bool(true) - --- Testing fgetcsv() with file opened using r mode -- -int(0) -bool(false) -bool(false) -int(61) -bool(true) - --- Testing fgetcsv() with file opened using rb mode -- -int(0) -bool(false) -bool(false) -int(61) -bool(true) - --- Testing fgetcsv() with file opened using rt mode -- -int(0) -bool(false) -bool(false) -int(%d) -bool(true) - --- Testing fgetcsv() with file opened using r+ mode -- -int(0) -bool(false) -bool(false) -int(61) -bool(true) - --- Testing fgetcsv() with file opened using r+b mode -- -int(0) -bool(false) -bool(false) -int(61) -bool(true) - --- Testing fgetcsv() with file opened using r+t mode -- -int(0) -bool(false) -bool(false) -int(%d) -bool(true) - --- Testing fgetcsv() with file opened using a+ mode -- -int(0) -bool(false) -bool(false) -int(61) -bool(true) - --- Testing fgetcsv() with file opened using a+b mode -- -int(0) -bool(false) -bool(false) -int(61) -bool(true) - --- Testing fgetcsv() with file opened using a+t mode -- -int(0) -bool(false) -bool(false) -int(%d) -bool(true) - --- Testing fgetcsv() with file opened using w+ mode -- -int(0) -bool(false) -bool(false) -int(61) -bool(true) - --- Testing fgetcsv() with file opened using w+b mode -- -int(0) -bool(false) -bool(false) -int(61) -bool(true) - --- Testing fgetcsv() with file opened using w+t mode -- -int(0) -bool(false) -bool(false) -int(%d) -bool(true) - --- Testing fgetcsv() with file opened using x+ mode -- -int(0) -bool(false) -bool(false) -int(61) -bool(true) - --- Testing fgetcsv() with file opened using x+b mode -- -int(0) -bool(false) -bool(false) -int(61) -bool(true) - --- Testing fgetcsv() with file opened using x+t mode -- -int(0) -bool(false) -bool(false) -int(%d) -bool(true) -Done diff --git a/ext/standard/tests/file/fgetcsv_variation24.phpt b/ext/standard/tests/file/fgetcsv_variation24.phpt index 1b93e0009c..9efde2bdb2 100644 --- a/ext/standard/tests/file/fgetcsv_variation24.phpt +++ b/ext/standard/tests/file/fgetcsv_variation24.phpt @@ -121,586 +121,6 @@ bool(false) Notice: fgetcsv(): delimiter must be a single character in %s on line %d -Notice: fgetcsv(): enclosure must be a single character in %s on line %d -array(1) { - [0]=> - string(13) ""water",fruit" -} -int(14) -bool(false) - --- Testing fgetcsv() with file opened using x+ mode -- - -Notice: fgetcsv(): delimiter must be a single character in %s on line %d - -Notice: fgetcsv(): enclosure must be a single character in %s on line %d -array(1) { - [0]=> - string(13) ""water",fruit" -} -int(14) -bool(false) - --- Testing fgetcsv() with file opened using x+b mode -- - -Notice: fgetcsv(): delimiter must be a single character in %s on line %d - -Notice: fgetcsv(): enclosure must be a single character in %s on line %d -array(1) { - [0]=> - string(13) ""water",fruit" -} -int(14) -bool(false) - --- Testing fgetcsv() with file opened using x+t mode -- - -Notice: fgetcsv(): delimiter must be a single character in %s on line %d - -Notice: fgetcsv(): enclosure must be a single character in %s on line %d -array(1) { - [0]=> - string(13) ""water",fruit" -} -int(14) -bool(false) - --- Testing fgetcsv() with file opened using w+ mode -- - -Notice: fgetcsv(): delimiter must be a single character in %s on line %d - -Notice: fgetcsv(): enclosure must be a single character in %s on line %d -array(1) { - [0]=> - string(15) ""water","fruit"" -} -int(16) -bool(false) - --- Testing fgetcsv() with file opened using w+b mode -- - -Notice: fgetcsv(): delimiter must be a single character in %s on line %d - -Notice: fgetcsv(): enclosure must be a single character in %s on line %d -array(1) { - [0]=> - string(15) ""water","fruit"" -} -int(16) -bool(false) - --- Testing fgetcsv() with file opened using w+t mode -- - -Notice: fgetcsv(): delimiter must be a single character in %s on line %d - -Notice: fgetcsv(): enclosure must be a single character in %s on line %d -array(1) { - [0]=> - string(15) ""water","fruit"" -} -int(16) -bool(false) - --- Testing fgetcsv() with file opened using x+ mode -- - -Notice: fgetcsv(): delimiter must be a single character in %s on line %d - -Notice: fgetcsv(): enclosure must be a single character in %s on line %d -array(1) { - [0]=> - string(15) ""water","fruit"" -} -int(16) -bool(false) - --- Testing fgetcsv() with file opened using x+b mode -- - -Notice: fgetcsv(): delimiter must be a single character in %s on line %d - -Notice: fgetcsv(): enclosure must be a single character in %s on line %d -array(1) { - [0]=> - string(15) ""water","fruit"" -} -int(16) -bool(false) - --- Testing fgetcsv() with file opened using x+t mode -- - -Notice: fgetcsv(): delimiter must be a single character in %s on line %d - -Notice: fgetcsv(): enclosure must be a single character in %s on line %d -array(1) { - [0]=> - string(15) ""water","fruit"" -} -int(16) -bool(false) - --- Testing fgetcsv() with file opened using w+ mode -- - -Notice: fgetcsv(): delimiter must be a single character in %s on line %d - -Notice: fgetcsv(): enclosure must be a single character in %s on line %d -array(1) { - [0]=> - string(15) "^water^ ^fruit^" -} -int(16) -bool(false) - --- Testing fgetcsv() with file opened using w+b mode -- - -Notice: fgetcsv(): delimiter must be a single character in %s on line %d - -Notice: fgetcsv(): enclosure must be a single character in %s on line %d -array(1) { - [0]=> - string(15) "^water^ ^fruit^" -} -int(16) -bool(false) - --- Testing fgetcsv() with file opened using w+t mode -- - -Notice: fgetcsv(): delimiter must be a single character in %s on line %d - -Notice: fgetcsv(): enclosure must be a single character in %s on line %d -array(1) { - [0]=> - string(15) "^water^ ^fruit^" -} -int(16) -bool(false) - --- Testing fgetcsv() with file opened using x+ mode -- - -Notice: fgetcsv(): delimiter must be a single character in %s on line %d - -Notice: fgetcsv(): enclosure must be a single character in %s on line %d -array(1) { - [0]=> - string(15) "^water^ ^fruit^" -} -int(16) -bool(false) - --- Testing fgetcsv() with file opened using x+b mode -- - -Notice: fgetcsv(): delimiter must be a single character in %s on line %d - -Notice: fgetcsv(): enclosure must be a single character in %s on line %d -array(1) { - [0]=> - string(15) "^water^ ^fruit^" -} -int(16) -bool(false) - --- Testing fgetcsv() with file opened using x+t mode -- - -Notice: fgetcsv(): delimiter must be a single character in %s on line %d - -Notice: fgetcsv(): enclosure must be a single character in %s on line %d -array(1) { - [0]=> - string(15) "^water^ ^fruit^" -} -int(16) -bool(false) - --- Testing fgetcsv() with file opened using w+ mode -- - -Notice: fgetcsv(): delimiter must be a single character in %s on line %d - -Notice: fgetcsv(): enclosure must be a single character in %s on line %d -array(1) { - [0]=> - string(15) "&water&:&fruit&" -} -int(16) -bool(false) - --- Testing fgetcsv() with file opened using w+b mode -- - -Notice: fgetcsv(): delimiter must be a single character in %s on line %d - -Notice: fgetcsv(): enclosure must be a single character in %s on line %d -array(1) { - [0]=> - string(15) "&water&:&fruit&" -} -int(16) -bool(false) - --- Testing fgetcsv() with file opened using w+t mode -- - -Notice: fgetcsv(): delimiter must be a single character in %s on line %d - -Notice: fgetcsv(): enclosure must be a single character in %s on line %d -array(1) { - [0]=> - string(15) "&water&:&fruit&" -} -int(16) -bool(false) - --- Testing fgetcsv() with file opened using x+ mode -- - -Notice: fgetcsv(): delimiter must be a single character in %s on line %d - -Notice: fgetcsv(): enclosure must be a single character in %s on line %d -array(1) { - [0]=> - string(15) "&water&:&fruit&" -} -int(16) -bool(false) - --- Testing fgetcsv() with file opened using x+b mode -- - -Notice: fgetcsv(): delimiter must be a single character in %s on line %d - -Notice: fgetcsv(): enclosure must be a single character in %s on line %d -array(1) { - [0]=> - string(15) "&water&:&fruit&" -} -int(16) -bool(false) - --- Testing fgetcsv() with file opened using x+t mode -- - -Notice: fgetcsv(): delimiter must be a single character in %s on line %d - -Notice: fgetcsv(): enclosure must be a single character in %s on line %d -array(1) { - [0]=> - string(15) "&water&:&fruit&" -} -int(16) -bool(false) - --- Testing fgetcsv() with file opened using w+ mode -- - -Notice: fgetcsv(): delimiter must be a single character in %s on line %d - -Notice: fgetcsv(): enclosure must be a single character in %s on line %d -array(1) { - [0]=> - string(15) "=water===fruit=" -} -int(16) -bool(false) - --- Testing fgetcsv() with file opened using w+b mode -- - -Notice: fgetcsv(): delimiter must be a single character in %s on line %d - -Notice: fgetcsv(): enclosure must be a single character in %s on line %d -array(1) { - [0]=> - string(15) "=water===fruit=" -} -int(16) -bool(false) - --- Testing fgetcsv() with file opened using w+t mode -- - -Notice: fgetcsv(): delimiter must be a single character in %s on line %d - -Notice: fgetcsv(): enclosure must be a single character in %s on line %d -array(1) { - [0]=> - string(15) "=water===fruit=" -} -int(16) -bool(false) - --- Testing fgetcsv() with file opened using x+ mode -- - -Notice: fgetcsv(): delimiter must be a single character in %s on line %d - -Notice: fgetcsv(): enclosure must be a single character in %s on line %d -array(1) { - [0]=> - string(15) "=water===fruit=" -} -int(16) -bool(false) - --- Testing fgetcsv() with file opened using x+b mode -- - -Notice: fgetcsv(): delimiter must be a single character in %s on line %d - -Notice: fgetcsv(): enclosure must be a single character in %s on line %d -array(1) { - [0]=> - string(15) "=water===fruit=" -} -int(16) -bool(false) - --- Testing fgetcsv() with file opened using x+t mode -- - -Notice: fgetcsv(): delimiter must be a single character in %s on line %d - -Notice: fgetcsv(): enclosure must be a single character in %s on line %d -array(1) { - [0]=> - string(15) "=water===fruit=" -} -int(16) -bool(false) - --- Testing fgetcsv() with file opened using w+ mode -- - -Notice: fgetcsv(): delimiter must be a single character in %s on line %d - -Notice: fgetcsv(): enclosure must be a single character in %s on line %d -array(1) { - [0]=> - string(17) "-water--fruit-air" -} -int(18) -bool(false) - --- Testing fgetcsv() with file opened using w+b mode -- - -Notice: fgetcsv(): delimiter must be a single character in %s on line %d - -Notice: fgetcsv(): enclosure must be a single character in %s on line %d -array(1) { - [0]=> - string(17) "-water--fruit-air" -} -int(18) -bool(false) - --- Testing fgetcsv() with file opened using w+t mode -- - -Notice: fgetcsv(): delimiter must be a single character in %s on line %d - -Notice: fgetcsv(): enclosure must be a single character in %s on line %d -array(1) { - [0]=> - string(17) "-water--fruit-air" -} -int(18) -bool(false) - --- Testing fgetcsv() with file opened using x+ mode -- - -Notice: fgetcsv(): delimiter must be a single character in %s on line %d - -Notice: fgetcsv(): enclosure must be a single character in %s on line %d -array(1) { - [0]=> - string(17) "-water--fruit-air" -} -int(18) -bool(false) - --- Testing fgetcsv() with file opened using x+b mode -- - -Notice: fgetcsv(): delimiter must be a single character in %s on line %d - -Notice: fgetcsv(): enclosure must be a single character in %s on line %d -array(1) { - [0]=> - string(17) "-water--fruit-air" -} -int(18) -bool(false) - --- Testing fgetcsv() with file opened using x+t mode -- - -Notice: fgetcsv(): delimiter must be a single character in %s on line %d - -Notice: fgetcsv(): enclosure must be a single character in %s on line %d -array(1) { - [0]=> - string(17) "-water--fruit-air" -} -int(18) -bool(false) - --- Testing fgetcsv() with file opened using w+ mode -- - -Notice: fgetcsv(): delimiter must be a single character in %s on line %d - -Notice: fgetcsv(): enclosure must be a single character in %s on line %d -array(1) { - [0]=> - string(21) "-water---fruit---air-" -} -int(22) -bool(false) - --- Testing fgetcsv() with file opened using w+b mode -- - -Notice: fgetcsv(): delimiter must be a single character in %s on line %d - -Notice: fgetcsv(): enclosure must be a single character in %s on line %d -array(1) { - [0]=> - string(21) "-water---fruit---air-" -} -int(22) -bool(false) - --- Testing fgetcsv() with file opened using w+t mode -- - -Notice: fgetcsv(): delimiter must be a single character in %s on line %d - -Notice: fgetcsv(): enclosure must be a single character in %s on line %d -array(1) { - [0]=> - string(21) "-water---fruit---air-" -} -int(22) -bool(false) - --- Testing fgetcsv() with file opened using x+ mode -- - -Notice: fgetcsv(): delimiter must be a single character in %s on line %d - -Notice: fgetcsv(): enclosure must be a single character in %s on line %d -array(1) { - [0]=> - string(21) "-water---fruit---air-" -} -int(22) -bool(false) - --- Testing fgetcsv() with file opened using x+b mode -- - -Notice: fgetcsv(): delimiter must be a single character in %s on line %d - -Notice: fgetcsv(): enclosure must be a single character in %s on line %d -array(1) { - [0]=> - string(21) "-water---fruit---air-" -} -int(22) -bool(false) - --- Testing fgetcsv() with file opened using x+t mode -- - -Notice: fgetcsv(): delimiter must be a single character in %s on line %d - -Notice: fgetcsv(): enclosure must be a single character in %s on line %d -array(1) { - [0]=> - string(21) "-water---fruit---air-" -} -int(22) -bool(false) - --- Testing fgetcsv() with file opened using w+ mode -- - -Notice: fgetcsv(): delimiter must be a single character in %s on line %d - -Notice: fgetcsv(): enclosure must be a single character in %s on line %d -array(1) { - [0]=> - string(23) "&""""&:&"&:,:":&,&:,,,," -} -int(24) -bool(false) - --- Testing fgetcsv() with file opened using w+b mode -- - -Notice: fgetcsv(): delimiter must be a single character in %s on line %d - -Notice: fgetcsv(): enclosure must be a single character in %s on line %d -array(1) { - [0]=> - string(23) "&""""&:&"&:,:":&,&:,,,," -} -int(24) -bool(false) - --- Testing fgetcsv() with file opened using w+t mode -- - -Notice: fgetcsv(): delimiter must be a single character in %s on line %d - -Notice: fgetcsv(): enclosure must be a single character in %s on line %d -array(1) { - [0]=> - string(23) "&""""&:&"&:,:":&,&:,,,," -} -int(24) -bool(false) - --- Testing fgetcsv() with file opened using x+ mode -- - -Notice: fgetcsv(): delimiter must be a single character in %s on line %d - -Notice: fgetcsv(): enclosure must be a single character in %s on line %d -array(1) { - [0]=> - string(23) "&""""&:&"&:,:":&,&:,,,," -} -int(24) -bool(false) - --- Testing fgetcsv() with file opened using x+b mode -- - -Notice: fgetcsv(): delimiter must be a single character in %s on line %d - -Notice: fgetcsv(): enclosure must be a single character in %s on line %d -array(1) { - [0]=> - string(23) "&""""&:&"&:,:":&,&:,,,," -} -int(24) -bool(false) - --- Testing fgetcsv() with file opened using x+t mode -- - -Notice: fgetcsv(): delimiter must be a single character in %s on line %d - -Notice: fgetcsv(): enclosure must be a single character in %s on line %d -array(1) { - [0]=> - string(23) "&""""&:&"&:,:":&,&:,,,," -} -int(24) -bool(false) -Done - ---UEXPECTF-- -*** Testing fgetcsv() : with two chars as enclosure & delimiter *** - --- Testing fgetcsv() with file opened using w+ mode -- - -Notice: fgetcsv(): delimiter must be a single character in %s on line %d - -Notice: fgetcsv(): enclosure must be a single character in %s on line %d -array(1) { - [0]=> - string(13) ""water",fruit" -} -int(14) -bool(false) - --- Testing fgetcsv() with file opened using w+b mode -- - -Notice: fgetcsv(): delimiter must be a single character in %s on line %d - -Notice: fgetcsv(): enclosure must be a single character in %s on line %d -array(1) { - [0]=> - string(13) ""water",fruit" -} -int(14) -bool(false) - --- Testing fgetcsv() with file opened using w+t mode -- - -Notice: fgetcsv(): delimiter must be a single character in %s on line %d - Notice: fgetcsv(): enclosure must be a single character in %s on line %d array(1) { [0]=> diff --git a/ext/standard/tests/file/fgetcsv_variation25.phpt b/ext/standard/tests/file/fgetcsv_variation25.phpt index 480ac6a0a6..2b9a0048e3 100644 --- a/ext/standard/tests/file/fgetcsv_variation25.phpt +++ b/ext/standard/tests/file/fgetcsv_variation25.phpt @@ -933,847 +933,3 @@ bool(false) int(0) bool(false) Done - ---UEXPECTF-- -*** Testing fgetcsv() : with negative length value *** - --- Testing fgetcsv() with file opened using r mode -- - -Warning: fgetcsv(): Length parameter may not be negative in %s on line %d -bool(false) -int(0) -bool(false) - --- Testing fgetcsv() with file opened using rb mode -- - -Warning: fgetcsv(): Length parameter may not be negative in %s on line %d -bool(false) -int(0) -bool(false) - --- Testing fgetcsv() with file opened using rt mode -- - -Warning: fgetcsv(): Length parameter may not be negative in %s on line %d -bool(false) -int(0) -bool(false) - --- Testing fgetcsv() with file opened using r+ mode -- - -Warning: fgetcsv(): Length parameter may not be negative in %s on line %d -bool(false) -int(0) -bool(false) - --- Testing fgetcsv() with file opened using r+b mode -- - -Warning: fgetcsv(): Length parameter may not be negative in %s on line %d -bool(false) -int(0) -bool(false) - --- Testing fgetcsv() with file opened using r+t mode -- - -Warning: fgetcsv(): Length parameter may not be negative in %s on line %d -bool(false) -int(0) -bool(false) - --- Testing fgetcsv() with file opened using a+ mode -- - -Warning: fgetcsv(): Length parameter may not be negative in %s on line %d -bool(false) -int(0) -bool(false) - --- Testing fgetcsv() with file opened using a+b mode -- - -Warning: fgetcsv(): Length parameter may not be negative in %s on line %d -bool(false) -int(0) -bool(false) - --- Testing fgetcsv() with file opened using a+t mode -- - -Warning: fgetcsv(): Length parameter may not be negative in %s on line %d -bool(false) -int(0) -bool(false) - --- Testing fgetcsv() with file opened using w+ mode -- - -Warning: fgetcsv(): Length parameter may not be negative in %s on line %d -bool(false) -int(0) -bool(false) - --- Testing fgetcsv() with file opened using w+b mode -- - -Warning: fgetcsv(): Length parameter may not be negative in %s on line %d -bool(false) -int(0) -bool(false) - --- Testing fgetcsv() with file opened using w+t mode -- - -Warning: fgetcsv(): Length parameter may not be negative in %s on line %d -bool(false) -int(0) -bool(false) - --- Testing fgetcsv() with file opened using x+ mode -- - -Warning: fgetcsv(): Length parameter may not be negative in %s on line %d -bool(false) -int(0) -bool(false) - --- Testing fgetcsv() with file opened using x+b mode -- - -Warning: fgetcsv(): Length parameter may not be negative in %s on line %d -bool(false) -int(0) -bool(false) - --- Testing fgetcsv() with file opened using x+t mode -- - -Warning: fgetcsv(): Length parameter may not be negative in %s on line %d -bool(false) -int(0) -bool(false) - --- Testing fgetcsv() with file opened using r mode -- - -Warning: fgetcsv(): Length parameter may not be negative in %s on line %d -bool(false) -int(0) -bool(false) - --- Testing fgetcsv() with file opened using rb mode -- - -Warning: fgetcsv(): Length parameter may not be negative in %s on line %d -bool(false) -int(0) -bool(false) - --- Testing fgetcsv() with file opened using rt mode -- - -Warning: fgetcsv(): Length parameter may not be negative in %s on line %d -bool(false) -int(0) -bool(false) - --- Testing fgetcsv() with file opened using r+ mode -- - -Warning: fgetcsv(): Length parameter may not be negative in %s on line %d -bool(false) -int(0) -bool(false) - --- Testing fgetcsv() with file opened using r+b mode -- - -Warning: fgetcsv(): Length parameter may not be negative in %s on line %d -bool(false) -int(0) -bool(false) - --- Testing fgetcsv() with file opened using r+t mode -- - -Warning: fgetcsv(): Length parameter may not be negative in %s on line %d -bool(false) -int(0) -bool(false) - --- Testing fgetcsv() with file opened using a+ mode -- - -Warning: fgetcsv(): Length parameter may not be negative in %s on line %d -bool(false) -int(0) -bool(false) - --- Testing fgetcsv() with file opened using a+b mode -- - -Warning: fgetcsv(): Length parameter may not be negative in %s on line %d -bool(false) -int(0) -bool(false) - --- Testing fgetcsv() with file opened using a+t mode -- - -Warning: fgetcsv(): Length parameter may not be negative in %s on line %d -bool(false) -int(0) -bool(false) - --- Testing fgetcsv() with file opened using w+ mode -- - -Warning: fgetcsv(): Length parameter may not be negative in %s on line %d -bool(false) -int(0) -bool(false) - --- Testing fgetcsv() with file opened using w+b mode -- - -Warning: fgetcsv(): Length parameter may not be negative in %s on line %d -bool(false) -int(0) -bool(false) - --- Testing fgetcsv() with file opened using w+t mode -- - -Warning: fgetcsv(): Length parameter may not be negative in %s on line %d -bool(false) -int(0) -bool(false) - --- Testing fgetcsv() with file opened using x+ mode -- - -Warning: fgetcsv(): Length parameter may not be negative in %s on line %d -bool(false) -int(0) -bool(false) - --- Testing fgetcsv() with file opened using x+b mode -- - -Warning: fgetcsv(): Length parameter may not be negative in %s on line %d -bool(false) -int(0) -bool(false) - --- Testing fgetcsv() with file opened using x+t mode -- - -Warning: fgetcsv(): Length parameter may not be negative in %s on line %d -bool(false) -int(0) -bool(false) - --- Testing fgetcsv() with file opened using r mode -- - -Warning: fgetcsv(): Length parameter may not be negative in %s on line %d -bool(false) -int(0) -bool(false) - --- Testing fgetcsv() with file opened using rb mode -- - -Warning: fgetcsv(): Length parameter may not be negative in %s on line %d -bool(false) -int(0) -bool(false) - --- Testing fgetcsv() with file opened using rt mode -- - -Warning: fgetcsv(): Length parameter may not be negative in %s on line %d -bool(false) -int(0) -bool(false) - --- Testing fgetcsv() with file opened using r+ mode -- - -Warning: fgetcsv(): Length parameter may not be negative in %s on line %d -bool(false) -int(0) -bool(false) - --- Testing fgetcsv() with file opened using r+b mode -- - -Warning: fgetcsv(): Length parameter may not be negative in %s on line %d -bool(false) -int(0) -bool(false) - --- Testing fgetcsv() with file opened using r+t mode -- - -Warning: fgetcsv(): Length parameter may not be negative in %s on line %d -bool(false) -int(0) -bool(false) - --- Testing fgetcsv() with file opened using a+ mode -- - -Warning: fgetcsv(): Length parameter may not be negative in %s on line %d -bool(false) -int(0) -bool(false) - --- Testing fgetcsv() with file opened using a+b mode -- - -Warning: fgetcsv(): Length parameter may not be negative in %s on line %d -bool(false) -int(0) -bool(false) - --- Testing fgetcsv() with file opened using a+t mode -- - -Warning: fgetcsv(): Length parameter may not be negative in %s on line %d -bool(false) -int(0) -bool(false) - --- Testing fgetcsv() with file opened using w+ mode -- - -Warning: fgetcsv(): Length parameter may not be negative in %s on line %d -bool(false) -int(0) -bool(false) - --- Testing fgetcsv() with file opened using w+b mode -- - -Warning: fgetcsv(): Length parameter may not be negative in %s on line %d -bool(false) -int(0) -bool(false) - --- Testing fgetcsv() with file opened using w+t mode -- - -Warning: fgetcsv(): Length parameter may not be negative in %s on line %d -bool(false) -int(0) -bool(false) - --- Testing fgetcsv() with file opened using x+ mode -- - -Warning: fgetcsv(): Length parameter may not be negative in %s on line %d -bool(false) -int(0) -bool(false) - --- Testing fgetcsv() with file opened using x+b mode -- - -Warning: fgetcsv(): Length parameter may not be negative in %s on line %d -bool(false) -int(0) -bool(false) - --- Testing fgetcsv() with file opened using x+t mode -- - -Warning: fgetcsv(): Length parameter may not be negative in %s on line %d -bool(false) -int(0) -bool(false) - --- Testing fgetcsv() with file opened using r mode -- - -Warning: fgetcsv(): Length parameter may not be negative in %s on line %d -bool(false) -int(0) -bool(false) - --- Testing fgetcsv() with file opened using rb mode -- - -Warning: fgetcsv(): Length parameter may not be negative in %s on line %d -bool(false) -int(0) -bool(false) - --- Testing fgetcsv() with file opened using rt mode -- - -Warning: fgetcsv(): Length parameter may not be negative in %s on line %d -bool(false) -int(0) -bool(false) - --- Testing fgetcsv() with file opened using r+ mode -- - -Warning: fgetcsv(): Length parameter may not be negative in %s on line %d -bool(false) -int(0) -bool(false) - --- Testing fgetcsv() with file opened using r+b mode -- - -Warning: fgetcsv(): Length parameter may not be negative in %s on line %d -bool(false) -int(0) -bool(false) - --- Testing fgetcsv() with file opened using r+t mode -- - -Warning: fgetcsv(): Length parameter may not be negative in %s on line %d -bool(false) -int(0) -bool(false) - --- Testing fgetcsv() with file opened using a+ mode -- - -Warning: fgetcsv(): Length parameter may not be negative in %s on line %d -bool(false) -int(0) -bool(false) - --- Testing fgetcsv() with file opened using a+b mode -- - -Warning: fgetcsv(): Length parameter may not be negative in %s on line %d -bool(false) -int(0) -bool(false) - --- Testing fgetcsv() with file opened using a+t mode -- - -Warning: fgetcsv(): Length parameter may not be negative in %s on line %d -bool(false) -int(0) -bool(false) - --- Testing fgetcsv() with file opened using w+ mode -- - -Warning: fgetcsv(): Length parameter may not be negative in %s on line %d -bool(false) -int(0) -bool(false) - --- Testing fgetcsv() with file opened using w+b mode -- - -Warning: fgetcsv(): Length parameter may not be negative in %s on line %d -bool(false) -int(0) -bool(false) - --- Testing fgetcsv() with file opened using w+t mode -- - -Warning: fgetcsv(): Length parameter may not be negative in %s on line %d -bool(false) -int(0) -bool(false) - --- Testing fgetcsv() with file opened using x+ mode -- - -Warning: fgetcsv(): Length parameter may not be negative in %s on line %d -bool(false) -int(0) -bool(false) - --- Testing fgetcsv() with file opened using x+b mode -- - -Warning: fgetcsv(): Length parameter may not be negative in %s on line %d -bool(false) -int(0) -bool(false) - --- Testing fgetcsv() with file opened using x+t mode -- - -Warning: fgetcsv(): Length parameter may not be negative in %s on line %d -bool(false) -int(0) -bool(false) - --- Testing fgetcsv() with file opened using r mode -- - -Warning: fgetcsv(): Length parameter may not be negative in %s on line %d -bool(false) -int(0) -bool(false) - --- Testing fgetcsv() with file opened using rb mode -- - -Warning: fgetcsv(): Length parameter may not be negative in %s on line %d -bool(false) -int(0) -bool(false) - --- Testing fgetcsv() with file opened using rt mode -- - -Warning: fgetcsv(): Length parameter may not be negative in %s on line %d -bool(false) -int(0) -bool(false) - --- Testing fgetcsv() with file opened using r+ mode -- - -Warning: fgetcsv(): Length parameter may not be negative in %s on line %d -bool(false) -int(0) -bool(false) - --- Testing fgetcsv() with file opened using r+b mode -- - -Warning: fgetcsv(): Length parameter may not be negative in %s on line %d -bool(false) -int(0) -bool(false) - --- Testing fgetcsv() with file opened using r+t mode -- - -Warning: fgetcsv(): Length parameter may not be negative in %s on line %d -bool(false) -int(0) -bool(false) - --- Testing fgetcsv() with file opened using a+ mode -- - -Warning: fgetcsv(): Length parameter may not be negative in %s on line %d -bool(false) -int(0) -bool(false) - --- Testing fgetcsv() with file opened using a+b mode -- - -Warning: fgetcsv(): Length parameter may not be negative in %s on line %d -bool(false) -int(0) -bool(false) - --- Testing fgetcsv() with file opened using a+t mode -- - -Warning: fgetcsv(): Length parameter may not be negative in %s on line %d -bool(false) -int(0) -bool(false) - --- Testing fgetcsv() with file opened using w+ mode -- - -Warning: fgetcsv(): Length parameter may not be negative in %s on line %d -bool(false) -int(0) -bool(false) - --- Testing fgetcsv() with file opened using w+b mode -- - -Warning: fgetcsv(): Length parameter may not be negative in %s on line %d -bool(false) -int(0) -bool(false) - --- Testing fgetcsv() with file opened using w+t mode -- - -Warning: fgetcsv(): Length parameter may not be negative in %s on line %d -bool(false) -int(0) -bool(false) - --- Testing fgetcsv() with file opened using x+ mode -- - -Warning: fgetcsv(): Length parameter may not be negative in %s on line %d -bool(false) -int(0) -bool(false) - --- Testing fgetcsv() with file opened using x+b mode -- - -Warning: fgetcsv(): Length parameter may not be negative in %s on line %d -bool(false) -int(0) -bool(false) - --- Testing fgetcsv() with file opened using x+t mode -- - -Warning: fgetcsv(): Length parameter may not be negative in %s on line %d -bool(false) -int(0) -bool(false) - --- Testing fgetcsv() with file opened using r mode -- - -Warning: fgetcsv(): Length parameter may not be negative in %s on line %d -bool(false) -int(0) -bool(false) - --- Testing fgetcsv() with file opened using rb mode -- - -Warning: fgetcsv(): Length parameter may not be negative in %s on line %d -bool(false) -int(0) -bool(false) - --- Testing fgetcsv() with file opened using rt mode -- - -Warning: fgetcsv(): Length parameter may not be negative in %s on line %d -bool(false) -int(0) -bool(false) - --- Testing fgetcsv() with file opened using r+ mode -- - -Warning: fgetcsv(): Length parameter may not be negative in %s on line %d -bool(false) -int(0) -bool(false) - --- Testing fgetcsv() with file opened using r+b mode -- - -Warning: fgetcsv(): Length parameter may not be negative in %s on line %d -bool(false) -int(0) -bool(false) - --- Testing fgetcsv() with file opened using r+t mode -- - -Warning: fgetcsv(): Length parameter may not be negative in %s on line %d -bool(false) -int(0) -bool(false) - --- Testing fgetcsv() with file opened using a+ mode -- - -Warning: fgetcsv(): Length parameter may not be negative in %s on line %d -bool(false) -int(0) -bool(false) - --- Testing fgetcsv() with file opened using a+b mode -- - -Warning: fgetcsv(): Length parameter may not be negative in %s on line %d -bool(false) -int(0) -bool(false) - --- Testing fgetcsv() with file opened using a+t mode -- - -Warning: fgetcsv(): Length parameter may not be negative in %s on line %d -bool(false) -int(0) -bool(false) - --- Testing fgetcsv() with file opened using w+ mode -- - -Warning: fgetcsv(): Length parameter may not be negative in %s on line %d -bool(false) -int(0) -bool(false) - --- Testing fgetcsv() with file opened using w+b mode -- - -Warning: fgetcsv(): Length parameter may not be negative in %s on line %d -bool(false) -int(0) -bool(false) - --- Testing fgetcsv() with file opened using w+t mode -- - -Warning: fgetcsv(): Length parameter may not be negative in %s on line %d -bool(false) -int(0) -bool(false) - --- Testing fgetcsv() with file opened using x+ mode -- - -Warning: fgetcsv(): Length parameter may not be negative in %s on line %d -bool(false) -int(0) -bool(false) - --- Testing fgetcsv() with file opened using x+b mode -- - -Warning: fgetcsv(): Length parameter may not be negative in %s on line %d -bool(false) -int(0) -bool(false) - --- Testing fgetcsv() with file opened using x+t mode -- - -Warning: fgetcsv(): Length parameter may not be negative in %s on line %d -bool(false) -int(0) -bool(false) - --- Testing fgetcsv() with file opened using r mode -- - -Warning: fgetcsv(): Length parameter may not be negative in %s on line %d -bool(false) -int(0) -bool(false) - --- Testing fgetcsv() with file opened using rb mode -- - -Warning: fgetcsv(): Length parameter may not be negative in %s on line %d -bool(false) -int(0) -bool(false) - --- Testing fgetcsv() with file opened using rt mode -- - -Warning: fgetcsv(): Length parameter may not be negative in %s on line %d -bool(false) -int(0) -bool(false) - --- Testing fgetcsv() with file opened using r+ mode -- - -Warning: fgetcsv(): Length parameter may not be negative in %s on line %d -bool(false) -int(0) -bool(false) - --- Testing fgetcsv() with file opened using r+b mode -- - -Warning: fgetcsv(): Length parameter may not be negative in %s on line %d -bool(false) -int(0) -bool(false) - --- Testing fgetcsv() with file opened using r+t mode -- - -Warning: fgetcsv(): Length parameter may not be negative in %s on line %d -bool(false) -int(0) -bool(false) - --- Testing fgetcsv() with file opened using a+ mode -- - -Warning: fgetcsv(): Length parameter may not be negative in %s on line %d -bool(false) -int(0) -bool(false) - --- Testing fgetcsv() with file opened using a+b mode -- - -Warning: fgetcsv(): Length parameter may not be negative in %s on line %d -bool(false) -int(0) -bool(false) - --- Testing fgetcsv() with file opened using a+t mode -- - -Warning: fgetcsv(): Length parameter may not be negative in %s on line %d -bool(false) -int(0) -bool(false) - --- Testing fgetcsv() with file opened using w+ mode -- - -Warning: fgetcsv(): Length parameter may not be negative in %s on line %d -bool(false) -int(0) -bool(false) - --- Testing fgetcsv() with file opened using w+b mode -- - -Warning: fgetcsv(): Length parameter may not be negative in %s on line %d -bool(false) -int(0) -bool(false) - --- Testing fgetcsv() with file opened using w+t mode -- - -Warning: fgetcsv(): Length parameter may not be negative in %s on line %d -bool(false) -int(0) -bool(false) - --- Testing fgetcsv() with file opened using x+ mode -- - -Warning: fgetcsv(): Length parameter may not be negative in %s on line %d -bool(false) -int(0) -bool(false) - --- Testing fgetcsv() with file opened using x+b mode -- - -Warning: fgetcsv(): Length parameter may not be negative in %s on line %d -bool(false) -int(0) -bool(false) - --- Testing fgetcsv() with file opened using x+t mode -- - -Warning: fgetcsv(): Length parameter may not be negative in %s on line %d -bool(false) -int(0) -bool(false) - --- Testing fgetcsv() with file opened using r mode -- - -Warning: fgetcsv(): Length parameter may not be negative in %s on line %d -bool(false) -int(0) -bool(false) - --- Testing fgetcsv() with file opened using rb mode -- - -Warning: fgetcsv(): Length parameter may not be negative in %s on line %d -bool(false) -int(0) -bool(false) - --- Testing fgetcsv() with file opened using rt mode -- - -Warning: fgetcsv(): Length parameter may not be negative in %s on line %d -bool(false) -int(0) -bool(false) - --- Testing fgetcsv() with file opened using r+ mode -- - -Warning: fgetcsv(): Length parameter may not be negative in %s on line %d -bool(false) -int(0) -bool(false) - --- Testing fgetcsv() with file opened using r+b mode -- - -Warning: fgetcsv(): Length parameter may not be negative in %s on line %d -bool(false) -int(0) -bool(false) - --- Testing fgetcsv() with file opened using r+t mode -- - -Warning: fgetcsv(): Length parameter may not be negative in %s on line %d -bool(false) -int(0) -bool(false) - --- Testing fgetcsv() with file opened using a+ mode -- - -Warning: fgetcsv(): Length parameter may not be negative in %s on line %d -bool(false) -int(0) -bool(false) - --- Testing fgetcsv() with file opened using a+b mode -- - -Warning: fgetcsv(): Length parameter may not be negative in %s on line %d -bool(false) -int(0) -bool(false) - --- Testing fgetcsv() with file opened using a+t mode -- - -Warning: fgetcsv(): Length parameter may not be negative in %s on line %d -bool(false) -int(0) -bool(false) - --- Testing fgetcsv() with file opened using w+ mode -- - -Warning: fgetcsv(): Length parameter may not be negative in %s on line %d -bool(false) -int(0) -bool(false) - --- Testing fgetcsv() with file opened using w+b mode -- - -Warning: fgetcsv(): Length parameter may not be negative in %s on line %d -bool(false) -int(0) -bool(false) - --- Testing fgetcsv() with file opened using w+t mode -- - -Warning: fgetcsv(): Length parameter may not be negative in %s on line %d -bool(false) -int(0) -bool(false) - --- Testing fgetcsv() with file opened using x+ mode -- - -Warning: fgetcsv(): Length parameter may not be negative in %s on line %d -bool(false) -int(0) -bool(false) - --- Testing fgetcsv() with file opened using x+b mode -- - -Warning: fgetcsv(): Length parameter may not be negative in %s on line %d -bool(false) -int(0) -bool(false) - --- Testing fgetcsv() with file opened using x+t mode -- - -Warning: fgetcsv(): Length parameter may not be negative in %s on line %d -bool(false) -int(0) -bool(false) -Done diff --git a/ext/standard/tests/file/fgetcsv_variation26.phpt b/ext/standard/tests/file/fgetcsv_variation26.phpt index f95bc35adb..ed84d1d9a5 100644 --- a/ext/standard/tests/file/fgetcsv_variation26.phpt +++ b/ext/standard/tests/file/fgetcsv_variation26.phpt @@ -439,367 +439,3 @@ bool(false) int(0) bool(false) Done - ---UEXPECT-- -*** Testing fgetcsv() : reading the files opened in write only mode *** - --- Testing fgetcsv() with file opened using w mode -- -bool(false) -int(0) -bool(false) - --- Testing fgetcsv() with file opened using wb mode -- -bool(false) -int(0) -bool(false) - --- Testing fgetcsv() with file opened using wt mode -- -bool(false) -int(0) -bool(false) - --- Testing fgetcsv() with file opened using a mode -- -bool(false) -int(0) -bool(false) - --- Testing fgetcsv() with file opened using ab mode -- -bool(false) -int(0) -bool(false) - --- Testing fgetcsv() with file opened using at mode -- -bool(false) -int(0) -bool(false) - --- Testing fgetcsv() with file opened using x mode -- -bool(false) -int(0) -bool(false) - --- Testing fgetcsv() with file opened using xb mode -- -bool(false) -int(0) -bool(false) - --- Testing fgetcsv() with file opened using xt mode -- -bool(false) -int(0) -bool(false) - --- Testing fgetcsv() with file opened using w mode -- -bool(false) -int(0) -bool(false) - --- Testing fgetcsv() with file opened using wb mode -- -bool(false) -int(0) -bool(false) - --- Testing fgetcsv() with file opened using wt mode -- -bool(false) -int(0) -bool(false) - --- Testing fgetcsv() with file opened using a mode -- -bool(false) -int(0) -bool(false) - --- Testing fgetcsv() with file opened using ab mode -- -bool(false) -int(0) -bool(false) - --- Testing fgetcsv() with file opened using at mode -- -bool(false) -int(0) -bool(false) - --- Testing fgetcsv() with file opened using x mode -- -bool(false) -int(0) -bool(false) - --- Testing fgetcsv() with file opened using xb mode -- -bool(false) -int(0) -bool(false) - --- Testing fgetcsv() with file opened using xt mode -- -bool(false) -int(0) -bool(false) - --- Testing fgetcsv() with file opened using w mode -- -bool(false) -int(0) -bool(false) - --- Testing fgetcsv() with file opened using wb mode -- -bool(false) -int(0) -bool(false) - --- Testing fgetcsv() with file opened using wt mode -- -bool(false) -int(0) -bool(false) - --- Testing fgetcsv() with file opened using a mode -- -bool(false) -int(0) -bool(false) - --- Testing fgetcsv() with file opened using ab mode -- -bool(false) -int(0) -bool(false) - --- Testing fgetcsv() with file opened using at mode -- -bool(false) -int(0) -bool(false) - --- Testing fgetcsv() with file opened using x mode -- -bool(false) -int(0) -bool(false) - --- Testing fgetcsv() with file opened using xb mode -- -bool(false) -int(0) -bool(false) - --- Testing fgetcsv() with file opened using xt mode -- -bool(false) -int(0) -bool(false) - --- Testing fgetcsv() with file opened using w mode -- -bool(false) -int(0) -bool(false) - --- Testing fgetcsv() with file opened using wb mode -- -bool(false) -int(0) -bool(false) - --- Testing fgetcsv() with file opened using wt mode -- -bool(false) -int(0) -bool(false) - --- Testing fgetcsv() with file opened using a mode -- -bool(false) -int(0) -bool(false) - --- Testing fgetcsv() with file opened using ab mode -- -bool(false) -int(0) -bool(false) - --- Testing fgetcsv() with file opened using at mode -- -bool(false) -int(0) -bool(false) - --- Testing fgetcsv() with file opened using x mode -- -bool(false) -int(0) -bool(false) - --- Testing fgetcsv() with file opened using xb mode -- -bool(false) -int(0) -bool(false) - --- Testing fgetcsv() with file opened using xt mode -- -bool(false) -int(0) -bool(false) - --- Testing fgetcsv() with file opened using w mode -- -bool(false) -int(0) -bool(false) - --- Testing fgetcsv() with file opened using wb mode -- -bool(false) -int(0) -bool(false) - --- Testing fgetcsv() with file opened using wt mode -- -bool(false) -int(0) -bool(false) - --- Testing fgetcsv() with file opened using a mode -- -bool(false) -int(0) -bool(false) - --- Testing fgetcsv() with file opened using ab mode -- -bool(false) -int(0) -bool(false) - --- Testing fgetcsv() with file opened using at mode -- -bool(false) -int(0) -bool(false) - --- Testing fgetcsv() with file opened using x mode -- -bool(false) -int(0) -bool(false) - --- Testing fgetcsv() with file opened using xb mode -- -bool(false) -int(0) -bool(false) - --- Testing fgetcsv() with file opened using xt mode -- -bool(false) -int(0) -bool(false) - --- Testing fgetcsv() with file opened using w mode -- -bool(false) -int(0) -bool(false) - --- Testing fgetcsv() with file opened using wb mode -- -bool(false) -int(0) -bool(false) - --- Testing fgetcsv() with file opened using wt mode -- -bool(false) -int(0) -bool(false) - --- Testing fgetcsv() with file opened using a mode -- -bool(false) -int(0) -bool(false) - --- Testing fgetcsv() with file opened using ab mode -- -bool(false) -int(0) -bool(false) - --- Testing fgetcsv() with file opened using at mode -- -bool(false) -int(0) -bool(false) - --- Testing fgetcsv() with file opened using x mode -- -bool(false) -int(0) -bool(false) - --- Testing fgetcsv() with file opened using xb mode -- -bool(false) -int(0) -bool(false) - --- Testing fgetcsv() with file opened using xt mode -- -bool(false) -int(0) -bool(false) - --- Testing fgetcsv() with file opened using w mode -- -bool(false) -int(0) -bool(false) - --- Testing fgetcsv() with file opened using wb mode -- -bool(false) -int(0) -bool(false) - --- Testing fgetcsv() with file opened using wt mode -- -bool(false) -int(0) -bool(false) - --- Testing fgetcsv() with file opened using a mode -- -bool(false) -int(0) -bool(false) - --- Testing fgetcsv() with file opened using ab mode -- -bool(false) -int(0) -bool(false) - --- Testing fgetcsv() with file opened using at mode -- -bool(false) -int(0) -bool(false) - --- Testing fgetcsv() with file opened using x mode -- -bool(false) -int(0) -bool(false) - --- Testing fgetcsv() with file opened using xb mode -- -bool(false) -int(0) -bool(false) - --- Testing fgetcsv() with file opened using xt mode -- -bool(false) -int(0) -bool(false) - --- Testing fgetcsv() with file opened using w mode -- -bool(false) -int(0) -bool(false) - --- Testing fgetcsv() with file opened using wb mode -- -bool(false) -int(0) -bool(false) - --- Testing fgetcsv() with file opened using wt mode -- -bool(false) -int(0) -bool(false) - --- Testing fgetcsv() with file opened using a mode -- -bool(false) -int(0) -bool(false) - --- Testing fgetcsv() with file opened using ab mode -- -bool(false) -int(0) -bool(false) - --- Testing fgetcsv() with file opened using at mode -- -bool(false) -int(0) -bool(false) - --- Testing fgetcsv() with file opened using x mode -- -bool(false) -int(0) -bool(false) - --- Testing fgetcsv() with file opened using xb mode -- -bool(false) -int(0) -bool(false) - --- Testing fgetcsv() with file opened using xt mode -- -bool(false) -int(0) -bool(false) -Done diff --git a/ext/standard/tests/file/fgetcsv_variation27.phpt b/ext/standard/tests/file/fgetcsv_variation27.phpt index cf75a3c844..04f7383c15 100644 --- a/ext/standard/tests/file/fgetcsv_variation27.phpt +++ b/ext/standard/tests/file/fgetcsv_variation27.phpt @@ -933,847 +933,3 @@ bool(false) int(0) bool(false) Done - ---UEXPECTF-- -*** Testing fgetcsv() : with negative length value *** - --- Testing fgetcsv() with file opened using r mode -- - -Warning: fgetcsv(): Length parameter may not be negative in %s on line %d -bool(false) -int(0) -bool(false) - --- Testing fgetcsv() with file opened using rb mode -- - -Warning: fgetcsv(): Length parameter may not be negative in %s on line %d -bool(false) -int(0) -bool(false) - --- Testing fgetcsv() with file opened using rt mode -- - -Warning: fgetcsv(): Length parameter may not be negative in %s on line %d -bool(false) -int(0) -bool(false) - --- Testing fgetcsv() with file opened using r+ mode -- - -Warning: fgetcsv(): Length parameter may not be negative in %s on line %d -bool(false) -int(0) -bool(false) - --- Testing fgetcsv() with file opened using r+b mode -- - -Warning: fgetcsv(): Length parameter may not be negative in %s on line %d -bool(false) -int(0) -bool(false) - --- Testing fgetcsv() with file opened using r+t mode -- - -Warning: fgetcsv(): Length parameter may not be negative in %s on line %d -bool(false) -int(0) -bool(false) - --- Testing fgetcsv() with file opened using a+ mode -- - -Warning: fgetcsv(): Length parameter may not be negative in %s on line %d -bool(false) -int(0) -bool(false) - --- Testing fgetcsv() with file opened using a+b mode -- - -Warning: fgetcsv(): Length parameter may not be negative in %s on line %d -bool(false) -int(0) -bool(false) - --- Testing fgetcsv() with file opened using a+t mode -- - -Warning: fgetcsv(): Length parameter may not be negative in %s on line %d -bool(false) -int(0) -bool(false) - --- Testing fgetcsv() with file opened using w+ mode -- - -Warning: fgetcsv(): Length parameter may not be negative in %s on line %d -bool(false) -int(0) -bool(false) - --- Testing fgetcsv() with file opened using w+b mode -- - -Warning: fgetcsv(): Length parameter may not be negative in %s on line %d -bool(false) -int(0) -bool(false) - --- Testing fgetcsv() with file opened using w+t mode -- - -Warning: fgetcsv(): Length parameter may not be negative in %s on line %d -bool(false) -int(0) -bool(false) - --- Testing fgetcsv() with file opened using x+ mode -- - -Warning: fgetcsv(): Length parameter may not be negative in %s on line %d -bool(false) -int(0) -bool(false) - --- Testing fgetcsv() with file opened using x+b mode -- - -Warning: fgetcsv(): Length parameter may not be negative in %s on line %d -bool(false) -int(0) -bool(false) - --- Testing fgetcsv() with file opened using x+t mode -- - -Warning: fgetcsv(): Length parameter may not be negative in %s on line %d -bool(false) -int(0) -bool(false) - --- Testing fgetcsv() with file opened using r mode -- - -Warning: fgetcsv(): Length parameter may not be negative in %s on line %d -bool(false) -int(0) -bool(false) - --- Testing fgetcsv() with file opened using rb mode -- - -Warning: fgetcsv(): Length parameter may not be negative in %s on line %d -bool(false) -int(0) -bool(false) - --- Testing fgetcsv() with file opened using rt mode -- - -Warning: fgetcsv(): Length parameter may not be negative in %s on line %d -bool(false) -int(0) -bool(false) - --- Testing fgetcsv() with file opened using r+ mode -- - -Warning: fgetcsv(): Length parameter may not be negative in %s on line %d -bool(false) -int(0) -bool(false) - --- Testing fgetcsv() with file opened using r+b mode -- - -Warning: fgetcsv(): Length parameter may not be negative in %s on line %d -bool(false) -int(0) -bool(false) - --- Testing fgetcsv() with file opened using r+t mode -- - -Warning: fgetcsv(): Length parameter may not be negative in %s on line %d -bool(false) -int(0) -bool(false) - --- Testing fgetcsv() with file opened using a+ mode -- - -Warning: fgetcsv(): Length parameter may not be negative in %s on line %d -bool(false) -int(0) -bool(false) - --- Testing fgetcsv() with file opened using a+b mode -- - -Warning: fgetcsv(): Length parameter may not be negative in %s on line %d -bool(false) -int(0) -bool(false) - --- Testing fgetcsv() with file opened using a+t mode -- - -Warning: fgetcsv(): Length parameter may not be negative in %s on line %d -bool(false) -int(0) -bool(false) - --- Testing fgetcsv() with file opened using w+ mode -- - -Warning: fgetcsv(): Length parameter may not be negative in %s on line %d -bool(false) -int(0) -bool(false) - --- Testing fgetcsv() with file opened using w+b mode -- - -Warning: fgetcsv(): Length parameter may not be negative in %s on line %d -bool(false) -int(0) -bool(false) - --- Testing fgetcsv() with file opened using w+t mode -- - -Warning: fgetcsv(): Length parameter may not be negative in %s on line %d -bool(false) -int(0) -bool(false) - --- Testing fgetcsv() with file opened using x+ mode -- - -Warning: fgetcsv(): Length parameter may not be negative in %s on line %d -bool(false) -int(0) -bool(false) - --- Testing fgetcsv() with file opened using x+b mode -- - -Warning: fgetcsv(): Length parameter may not be negative in %s on line %d -bool(false) -int(0) -bool(false) - --- Testing fgetcsv() with file opened using x+t mode -- - -Warning: fgetcsv(): Length parameter may not be negative in %s on line %d -bool(false) -int(0) -bool(false) - --- Testing fgetcsv() with file opened using r mode -- - -Warning: fgetcsv(): Length parameter may not be negative in %s on line %d -bool(false) -int(0) -bool(false) - --- Testing fgetcsv() with file opened using rb mode -- - -Warning: fgetcsv(): Length parameter may not be negative in %s on line %d -bool(false) -int(0) -bool(false) - --- Testing fgetcsv() with file opened using rt mode -- - -Warning: fgetcsv(): Length parameter may not be negative in %s on line %d -bool(false) -int(0) -bool(false) - --- Testing fgetcsv() with file opened using r+ mode -- - -Warning: fgetcsv(): Length parameter may not be negative in %s on line %d -bool(false) -int(0) -bool(false) - --- Testing fgetcsv() with file opened using r+b mode -- - -Warning: fgetcsv(): Length parameter may not be negative in %s on line %d -bool(false) -int(0) -bool(false) - --- Testing fgetcsv() with file opened using r+t mode -- - -Warning: fgetcsv(): Length parameter may not be negative in %s on line %d -bool(false) -int(0) -bool(false) - --- Testing fgetcsv() with file opened using a+ mode -- - -Warning: fgetcsv(): Length parameter may not be negative in %s on line %d -bool(false) -int(0) -bool(false) - --- Testing fgetcsv() with file opened using a+b mode -- - -Warning: fgetcsv(): Length parameter may not be negative in %s on line %d -bool(false) -int(0) -bool(false) - --- Testing fgetcsv() with file opened using a+t mode -- - -Warning: fgetcsv(): Length parameter may not be negative in %s on line %d -bool(false) -int(0) -bool(false) - --- Testing fgetcsv() with file opened using w+ mode -- - -Warning: fgetcsv(): Length parameter may not be negative in %s on line %d -bool(false) -int(0) -bool(false) - --- Testing fgetcsv() with file opened using w+b mode -- - -Warning: fgetcsv(): Length parameter may not be negative in %s on line %d -bool(false) -int(0) -bool(false) - --- Testing fgetcsv() with file opened using w+t mode -- - -Warning: fgetcsv(): Length parameter may not be negative in %s on line %d -bool(false) -int(0) -bool(false) - --- Testing fgetcsv() with file opened using x+ mode -- - -Warning: fgetcsv(): Length parameter may not be negative in %s on line %d -bool(false) -int(0) -bool(false) - --- Testing fgetcsv() with file opened using x+b mode -- - -Warning: fgetcsv(): Length parameter may not be negative in %s on line %d -bool(false) -int(0) -bool(false) - --- Testing fgetcsv() with file opened using x+t mode -- - -Warning: fgetcsv(): Length parameter may not be negative in %s on line %d -bool(false) -int(0) -bool(false) - --- Testing fgetcsv() with file opened using r mode -- - -Warning: fgetcsv(): Length parameter may not be negative in %s on line %d -bool(false) -int(0) -bool(false) - --- Testing fgetcsv() with file opened using rb mode -- - -Warning: fgetcsv(): Length parameter may not be negative in %s on line %d -bool(false) -int(0) -bool(false) - --- Testing fgetcsv() with file opened using rt mode -- - -Warning: fgetcsv(): Length parameter may not be negative in %s on line %d -bool(false) -int(0) -bool(false) - --- Testing fgetcsv() with file opened using r+ mode -- - -Warning: fgetcsv(): Length parameter may not be negative in %s on line %d -bool(false) -int(0) -bool(false) - --- Testing fgetcsv() with file opened using r+b mode -- - -Warning: fgetcsv(): Length parameter may not be negative in %s on line %d -bool(false) -int(0) -bool(false) - --- Testing fgetcsv() with file opened using r+t mode -- - -Warning: fgetcsv(): Length parameter may not be negative in %s on line %d -bool(false) -int(0) -bool(false) - --- Testing fgetcsv() with file opened using a+ mode -- - -Warning: fgetcsv(): Length parameter may not be negative in %s on line %d -bool(false) -int(0) -bool(false) - --- Testing fgetcsv() with file opened using a+b mode -- - -Warning: fgetcsv(): Length parameter may not be negative in %s on line %d -bool(false) -int(0) -bool(false) - --- Testing fgetcsv() with file opened using a+t mode -- - -Warning: fgetcsv(): Length parameter may not be negative in %s on line %d -bool(false) -int(0) -bool(false) - --- Testing fgetcsv() with file opened using w+ mode -- - -Warning: fgetcsv(): Length parameter may not be negative in %s on line %d -bool(false) -int(0) -bool(false) - --- Testing fgetcsv() with file opened using w+b mode -- - -Warning: fgetcsv(): Length parameter may not be negative in %s on line %d -bool(false) -int(0) -bool(false) - --- Testing fgetcsv() with file opened using w+t mode -- - -Warning: fgetcsv(): Length parameter may not be negative in %s on line %d -bool(false) -int(0) -bool(false) - --- Testing fgetcsv() with file opened using x+ mode -- - -Warning: fgetcsv(): Length parameter may not be negative in %s on line %d -bool(false) -int(0) -bool(false) - --- Testing fgetcsv() with file opened using x+b mode -- - -Warning: fgetcsv(): Length parameter may not be negative in %s on line %d -bool(false) -int(0) -bool(false) - --- Testing fgetcsv() with file opened using x+t mode -- - -Warning: fgetcsv(): Length parameter may not be negative in %s on line %d -bool(false) -int(0) -bool(false) - --- Testing fgetcsv() with file opened using r mode -- - -Warning: fgetcsv(): Length parameter may not be negative in %s on line %d -bool(false) -int(0) -bool(false) - --- Testing fgetcsv() with file opened using rb mode -- - -Warning: fgetcsv(): Length parameter may not be negative in %s on line %d -bool(false) -int(0) -bool(false) - --- Testing fgetcsv() with file opened using rt mode -- - -Warning: fgetcsv(): Length parameter may not be negative in %s on line %d -bool(false) -int(0) -bool(false) - --- Testing fgetcsv() with file opened using r+ mode -- - -Warning: fgetcsv(): Length parameter may not be negative in %s on line %d -bool(false) -int(0) -bool(false) - --- Testing fgetcsv() with file opened using r+b mode -- - -Warning: fgetcsv(): Length parameter may not be negative in %s on line %d -bool(false) -int(0) -bool(false) - --- Testing fgetcsv() with file opened using r+t mode -- - -Warning: fgetcsv(): Length parameter may not be negative in %s on line %d -bool(false) -int(0) -bool(false) - --- Testing fgetcsv() with file opened using a+ mode -- - -Warning: fgetcsv(): Length parameter may not be negative in %s on line %d -bool(false) -int(0) -bool(false) - --- Testing fgetcsv() with file opened using a+b mode -- - -Warning: fgetcsv(): Length parameter may not be negative in %s on line %d -bool(false) -int(0) -bool(false) - --- Testing fgetcsv() with file opened using a+t mode -- - -Warning: fgetcsv(): Length parameter may not be negative in %s on line %d -bool(false) -int(0) -bool(false) - --- Testing fgetcsv() with file opened using w+ mode -- - -Warning: fgetcsv(): Length parameter may not be negative in %s on line %d -bool(false) -int(0) -bool(false) - --- Testing fgetcsv() with file opened using w+b mode -- - -Warning: fgetcsv(): Length parameter may not be negative in %s on line %d -bool(false) -int(0) -bool(false) - --- Testing fgetcsv() with file opened using w+t mode -- - -Warning: fgetcsv(): Length parameter may not be negative in %s on line %d -bool(false) -int(0) -bool(false) - --- Testing fgetcsv() with file opened using x+ mode -- - -Warning: fgetcsv(): Length parameter may not be negative in %s on line %d -bool(false) -int(0) -bool(false) - --- Testing fgetcsv() with file opened using x+b mode -- - -Warning: fgetcsv(): Length parameter may not be negative in %s on line %d -bool(false) -int(0) -bool(false) - --- Testing fgetcsv() with file opened using x+t mode -- - -Warning: fgetcsv(): Length parameter may not be negative in %s on line %d -bool(false) -int(0) -bool(false) - --- Testing fgetcsv() with file opened using r mode -- - -Warning: fgetcsv(): Length parameter may not be negative in %s on line %d -bool(false) -int(0) -bool(false) - --- Testing fgetcsv() with file opened using rb mode -- - -Warning: fgetcsv(): Length parameter may not be negative in %s on line %d -bool(false) -int(0) -bool(false) - --- Testing fgetcsv() with file opened using rt mode -- - -Warning: fgetcsv(): Length parameter may not be negative in %s on line %d -bool(false) -int(0) -bool(false) - --- Testing fgetcsv() with file opened using r+ mode -- - -Warning: fgetcsv(): Length parameter may not be negative in %s on line %d -bool(false) -int(0) -bool(false) - --- Testing fgetcsv() with file opened using r+b mode -- - -Warning: fgetcsv(): Length parameter may not be negative in %s on line %d -bool(false) -int(0) -bool(false) - --- Testing fgetcsv() with file opened using r+t mode -- - -Warning: fgetcsv(): Length parameter may not be negative in %s on line %d -bool(false) -int(0) -bool(false) - --- Testing fgetcsv() with file opened using a+ mode -- - -Warning: fgetcsv(): Length parameter may not be negative in %s on line %d -bool(false) -int(0) -bool(false) - --- Testing fgetcsv() with file opened using a+b mode -- - -Warning: fgetcsv(): Length parameter may not be negative in %s on line %d -bool(false) -int(0) -bool(false) - --- Testing fgetcsv() with file opened using a+t mode -- - -Warning: fgetcsv(): Length parameter may not be negative in %s on line %d -bool(false) -int(0) -bool(false) - --- Testing fgetcsv() with file opened using w+ mode -- - -Warning: fgetcsv(): Length parameter may not be negative in %s on line %d -bool(false) -int(0) -bool(false) - --- Testing fgetcsv() with file opened using w+b mode -- - -Warning: fgetcsv(): Length parameter may not be negative in %s on line %d -bool(false) -int(0) -bool(false) - --- Testing fgetcsv() with file opened using w+t mode -- - -Warning: fgetcsv(): Length parameter may not be negative in %s on line %d -bool(false) -int(0) -bool(false) - --- Testing fgetcsv() with file opened using x+ mode -- - -Warning: fgetcsv(): Length parameter may not be negative in %s on line %d -bool(false) -int(0) -bool(false) - --- Testing fgetcsv() with file opened using x+b mode -- - -Warning: fgetcsv(): Length parameter may not be negative in %s on line %d -bool(false) -int(0) -bool(false) - --- Testing fgetcsv() with file opened using x+t mode -- - -Warning: fgetcsv(): Length parameter may not be negative in %s on line %d -bool(false) -int(0) -bool(false) - --- Testing fgetcsv() with file opened using r mode -- - -Warning: fgetcsv(): Length parameter may not be negative in %s on line %d -bool(false) -int(0) -bool(false) - --- Testing fgetcsv() with file opened using rb mode -- - -Warning: fgetcsv(): Length parameter may not be negative in %s on line %d -bool(false) -int(0) -bool(false) - --- Testing fgetcsv() with file opened using rt mode -- - -Warning: fgetcsv(): Length parameter may not be negative in %s on line %d -bool(false) -int(0) -bool(false) - --- Testing fgetcsv() with file opened using r+ mode -- - -Warning: fgetcsv(): Length parameter may not be negative in %s on line %d -bool(false) -int(0) -bool(false) - --- Testing fgetcsv() with file opened using r+b mode -- - -Warning: fgetcsv(): Length parameter may not be negative in %s on line %d -bool(false) -int(0) -bool(false) - --- Testing fgetcsv() with file opened using r+t mode -- - -Warning: fgetcsv(): Length parameter may not be negative in %s on line %d -bool(false) -int(0) -bool(false) - --- Testing fgetcsv() with file opened using a+ mode -- - -Warning: fgetcsv(): Length parameter may not be negative in %s on line %d -bool(false) -int(0) -bool(false) - --- Testing fgetcsv() with file opened using a+b mode -- - -Warning: fgetcsv(): Length parameter may not be negative in %s on line %d -bool(false) -int(0) -bool(false) - --- Testing fgetcsv() with file opened using a+t mode -- - -Warning: fgetcsv(): Length parameter may not be negative in %s on line %d -bool(false) -int(0) -bool(false) - --- Testing fgetcsv() with file opened using w+ mode -- - -Warning: fgetcsv(): Length parameter may not be negative in %s on line %d -bool(false) -int(0) -bool(false) - --- Testing fgetcsv() with file opened using w+b mode -- - -Warning: fgetcsv(): Length parameter may not be negative in %s on line %d -bool(false) -int(0) -bool(false) - --- Testing fgetcsv() with file opened using w+t mode -- - -Warning: fgetcsv(): Length parameter may not be negative in %s on line %d -bool(false) -int(0) -bool(false) - --- Testing fgetcsv() with file opened using x+ mode -- - -Warning: fgetcsv(): Length parameter may not be negative in %s on line %d -bool(false) -int(0) -bool(false) - --- Testing fgetcsv() with file opened using x+b mode -- - -Warning: fgetcsv(): Length parameter may not be negative in %s on line %d -bool(false) -int(0) -bool(false) - --- Testing fgetcsv() with file opened using x+t mode -- - -Warning: fgetcsv(): Length parameter may not be negative in %s on line %d -bool(false) -int(0) -bool(false) - --- Testing fgetcsv() with file opened using r mode -- - -Warning: fgetcsv(): Length parameter may not be negative in %s on line %d -bool(false) -int(0) -bool(false) - --- Testing fgetcsv() with file opened using rb mode -- - -Warning: fgetcsv(): Length parameter may not be negative in %s on line %d -bool(false) -int(0) -bool(false) - --- Testing fgetcsv() with file opened using rt mode -- - -Warning: fgetcsv(): Length parameter may not be negative in %s on line %d -bool(false) -int(0) -bool(false) - --- Testing fgetcsv() with file opened using r+ mode -- - -Warning: fgetcsv(): Length parameter may not be negative in %s on line %d -bool(false) -int(0) -bool(false) - --- Testing fgetcsv() with file opened using r+b mode -- - -Warning: fgetcsv(): Length parameter may not be negative in %s on line %d -bool(false) -int(0) -bool(false) - --- Testing fgetcsv() with file opened using r+t mode -- - -Warning: fgetcsv(): Length parameter may not be negative in %s on line %d -bool(false) -int(0) -bool(false) - --- Testing fgetcsv() with file opened using a+ mode -- - -Warning: fgetcsv(): Length parameter may not be negative in %s on line %d -bool(false) -int(0) -bool(false) - --- Testing fgetcsv() with file opened using a+b mode -- - -Warning: fgetcsv(): Length parameter may not be negative in %s on line %d -bool(false) -int(0) -bool(false) - --- Testing fgetcsv() with file opened using a+t mode -- - -Warning: fgetcsv(): Length parameter may not be negative in %s on line %d -bool(false) -int(0) -bool(false) - --- Testing fgetcsv() with file opened using w+ mode -- - -Warning: fgetcsv(): Length parameter may not be negative in %s on line %d -bool(false) -int(0) -bool(false) - --- Testing fgetcsv() with file opened using w+b mode -- - -Warning: fgetcsv(): Length parameter may not be negative in %s on line %d -bool(false) -int(0) -bool(false) - --- Testing fgetcsv() with file opened using w+t mode -- - -Warning: fgetcsv(): Length parameter may not be negative in %s on line %d -bool(false) -int(0) -bool(false) - --- Testing fgetcsv() with file opened using x+ mode -- - -Warning: fgetcsv(): Length parameter may not be negative in %s on line %d -bool(false) -int(0) -bool(false) - --- Testing fgetcsv() with file opened using x+b mode -- - -Warning: fgetcsv(): Length parameter may not be negative in %s on line %d -bool(false) -int(0) -bool(false) - --- Testing fgetcsv() with file opened using x+t mode -- - -Warning: fgetcsv(): Length parameter may not be negative in %s on line %d -bool(false) -int(0) -bool(false) -Done diff --git a/ext/standard/tests/file/fgetcsv_variation28.phpt b/ext/standard/tests/file/fgetcsv_variation28.phpt index 6d32d20845..9a90b8b6b8 100644 --- a/ext/standard/tests/file/fgetcsv_variation28.phpt +++ b/ext/standard/tests/file/fgetcsv_variation28.phpt @@ -933,847 +933,3 @@ bool(false) int(0) bool(false) Done - ---UEXPECTF-- -*** Testing fgetcsv() : with negative length value *** - --- Testing fgetcsv() with file opened using r mode -- - -Warning: fgetcsv(): Length parameter may not be negative in %s on line %d -bool(false) -int(0) -bool(false) - --- Testing fgetcsv() with file opened using rb mode -- - -Warning: fgetcsv(): Length parameter may not be negative in %s on line %d -bool(false) -int(0) -bool(false) - --- Testing fgetcsv() with file opened using rt mode -- - -Warning: fgetcsv(): Length parameter may not be negative in %s on line %d -bool(false) -int(0) -bool(false) - --- Testing fgetcsv() with file opened using r+ mode -- - -Warning: fgetcsv(): Length parameter may not be negative in %s on line %d -bool(false) -int(0) -bool(false) - --- Testing fgetcsv() with file opened using r+b mode -- - -Warning: fgetcsv(): Length parameter may not be negative in %s on line %d -bool(false) -int(0) -bool(false) - --- Testing fgetcsv() with file opened using r+t mode -- - -Warning: fgetcsv(): Length parameter may not be negative in %s on line %d -bool(false) -int(0) -bool(false) - --- Testing fgetcsv() with file opened using a+ mode -- - -Warning: fgetcsv(): Length parameter may not be negative in %s on line %d -bool(false) -int(0) -bool(false) - --- Testing fgetcsv() with file opened using a+b mode -- - -Warning: fgetcsv(): Length parameter may not be negative in %s on line %d -bool(false) -int(0) -bool(false) - --- Testing fgetcsv() with file opened using a+t mode -- - -Warning: fgetcsv(): Length parameter may not be negative in %s on line %d -bool(false) -int(0) -bool(false) - --- Testing fgetcsv() with file opened using w+ mode -- - -Warning: fgetcsv(): Length parameter may not be negative in %s on line %d -bool(false) -int(0) -bool(false) - --- Testing fgetcsv() with file opened using w+b mode -- - -Warning: fgetcsv(): Length parameter may not be negative in %s on line %d -bool(false) -int(0) -bool(false) - --- Testing fgetcsv() with file opened using w+t mode -- - -Warning: fgetcsv(): Length parameter may not be negative in %s on line %d -bool(false) -int(0) -bool(false) - --- Testing fgetcsv() with file opened using x+ mode -- - -Warning: fgetcsv(): Length parameter may not be negative in %s on line %d -bool(false) -int(0) -bool(false) - --- Testing fgetcsv() with file opened using x+b mode -- - -Warning: fgetcsv(): Length parameter may not be negative in %s on line %d -bool(false) -int(0) -bool(false) - --- Testing fgetcsv() with file opened using x+t mode -- - -Warning: fgetcsv(): Length parameter may not be negative in %s on line %d -bool(false) -int(0) -bool(false) - --- Testing fgetcsv() with file opened using r mode -- - -Warning: fgetcsv(): Length parameter may not be negative in %s on line %d -bool(false) -int(0) -bool(false) - --- Testing fgetcsv() with file opened using rb mode -- - -Warning: fgetcsv(): Length parameter may not be negative in %s on line %d -bool(false) -int(0) -bool(false) - --- Testing fgetcsv() with file opened using rt mode -- - -Warning: fgetcsv(): Length parameter may not be negative in %s on line %d -bool(false) -int(0) -bool(false) - --- Testing fgetcsv() with file opened using r+ mode -- - -Warning: fgetcsv(): Length parameter may not be negative in %s on line %d -bool(false) -int(0) -bool(false) - --- Testing fgetcsv() with file opened using r+b mode -- - -Warning: fgetcsv(): Length parameter may not be negative in %s on line %d -bool(false) -int(0) -bool(false) - --- Testing fgetcsv() with file opened using r+t mode -- - -Warning: fgetcsv(): Length parameter may not be negative in %s on line %d -bool(false) -int(0) -bool(false) - --- Testing fgetcsv() with file opened using a+ mode -- - -Warning: fgetcsv(): Length parameter may not be negative in %s on line %d -bool(false) -int(0) -bool(false) - --- Testing fgetcsv() with file opened using a+b mode -- - -Warning: fgetcsv(): Length parameter may not be negative in %s on line %d -bool(false) -int(0) -bool(false) - --- Testing fgetcsv() with file opened using a+t mode -- - -Warning: fgetcsv(): Length parameter may not be negative in %s on line %d -bool(false) -int(0) -bool(false) - --- Testing fgetcsv() with file opened using w+ mode -- - -Warning: fgetcsv(): Length parameter may not be negative in %s on line %d -bool(false) -int(0) -bool(false) - --- Testing fgetcsv() with file opened using w+b mode -- - -Warning: fgetcsv(): Length parameter may not be negative in %s on line %d -bool(false) -int(0) -bool(false) - --- Testing fgetcsv() with file opened using w+t mode -- - -Warning: fgetcsv(): Length parameter may not be negative in %s on line %d -bool(false) -int(0) -bool(false) - --- Testing fgetcsv() with file opened using x+ mode -- - -Warning: fgetcsv(): Length parameter may not be negative in %s on line %d -bool(false) -int(0) -bool(false) - --- Testing fgetcsv() with file opened using x+b mode -- - -Warning: fgetcsv(): Length parameter may not be negative in %s on line %d -bool(false) -int(0) -bool(false) - --- Testing fgetcsv() with file opened using x+t mode -- - -Warning: fgetcsv(): Length parameter may not be negative in %s on line %d -bool(false) -int(0) -bool(false) - --- Testing fgetcsv() with file opened using r mode -- - -Warning: fgetcsv(): Length parameter may not be negative in %s on line %d -bool(false) -int(0) -bool(false) - --- Testing fgetcsv() with file opened using rb mode -- - -Warning: fgetcsv(): Length parameter may not be negative in %s on line %d -bool(false) -int(0) -bool(false) - --- Testing fgetcsv() with file opened using rt mode -- - -Warning: fgetcsv(): Length parameter may not be negative in %s on line %d -bool(false) -int(0) -bool(false) - --- Testing fgetcsv() with file opened using r+ mode -- - -Warning: fgetcsv(): Length parameter may not be negative in %s on line %d -bool(false) -int(0) -bool(false) - --- Testing fgetcsv() with file opened using r+b mode -- - -Warning: fgetcsv(): Length parameter may not be negative in %s on line %d -bool(false) -int(0) -bool(false) - --- Testing fgetcsv() with file opened using r+t mode -- - -Warning: fgetcsv(): Length parameter may not be negative in %s on line %d -bool(false) -int(0) -bool(false) - --- Testing fgetcsv() with file opened using a+ mode -- - -Warning: fgetcsv(): Length parameter may not be negative in %s on line %d -bool(false) -int(0) -bool(false) - --- Testing fgetcsv() with file opened using a+b mode -- - -Warning: fgetcsv(): Length parameter may not be negative in %s on line %d -bool(false) -int(0) -bool(false) - --- Testing fgetcsv() with file opened using a+t mode -- - -Warning: fgetcsv(): Length parameter may not be negative in %s on line %d -bool(false) -int(0) -bool(false) - --- Testing fgetcsv() with file opened using w+ mode -- - -Warning: fgetcsv(): Length parameter may not be negative in %s on line %d -bool(false) -int(0) -bool(false) - --- Testing fgetcsv() with file opened using w+b mode -- - -Warning: fgetcsv(): Length parameter may not be negative in %s on line %d -bool(false) -int(0) -bool(false) - --- Testing fgetcsv() with file opened using w+t mode -- - -Warning: fgetcsv(): Length parameter may not be negative in %s on line %d -bool(false) -int(0) -bool(false) - --- Testing fgetcsv() with file opened using x+ mode -- - -Warning: fgetcsv(): Length parameter may not be negative in %s on line %d -bool(false) -int(0) -bool(false) - --- Testing fgetcsv() with file opened using x+b mode -- - -Warning: fgetcsv(): Length parameter may not be negative in %s on line %d -bool(false) -int(0) -bool(false) - --- Testing fgetcsv() with file opened using x+t mode -- - -Warning: fgetcsv(): Length parameter may not be negative in %s on line %d -bool(false) -int(0) -bool(false) - --- Testing fgetcsv() with file opened using r mode -- - -Warning: fgetcsv(): Length parameter may not be negative in %s on line %d -bool(false) -int(0) -bool(false) - --- Testing fgetcsv() with file opened using rb mode -- - -Warning: fgetcsv(): Length parameter may not be negative in %s on line %d -bool(false) -int(0) -bool(false) - --- Testing fgetcsv() with file opened using rt mode -- - -Warning: fgetcsv(): Length parameter may not be negative in %s on line %d -bool(false) -int(0) -bool(false) - --- Testing fgetcsv() with file opened using r+ mode -- - -Warning: fgetcsv(): Length parameter may not be negative in %s on line %d -bool(false) -int(0) -bool(false) - --- Testing fgetcsv() with file opened using r+b mode -- - -Warning: fgetcsv(): Length parameter may not be negative in %s on line %d -bool(false) -int(0) -bool(false) - --- Testing fgetcsv() with file opened using r+t mode -- - -Warning: fgetcsv(): Length parameter may not be negative in %s on line %d -bool(false) -int(0) -bool(false) - --- Testing fgetcsv() with file opened using a+ mode -- - -Warning: fgetcsv(): Length parameter may not be negative in %s on line %d -bool(false) -int(0) -bool(false) - --- Testing fgetcsv() with file opened using a+b mode -- - -Warning: fgetcsv(): Length parameter may not be negative in %s on line %d -bool(false) -int(0) -bool(false) - --- Testing fgetcsv() with file opened using a+t mode -- - -Warning: fgetcsv(): Length parameter may not be negative in %s on line %d -bool(false) -int(0) -bool(false) - --- Testing fgetcsv() with file opened using w+ mode -- - -Warning: fgetcsv(): Length parameter may not be negative in %s on line %d -bool(false) -int(0) -bool(false) - --- Testing fgetcsv() with file opened using w+b mode -- - -Warning: fgetcsv(): Length parameter may not be negative in %s on line %d -bool(false) -int(0) -bool(false) - --- Testing fgetcsv() with file opened using w+t mode -- - -Warning: fgetcsv(): Length parameter may not be negative in %s on line %d -bool(false) -int(0) -bool(false) - --- Testing fgetcsv() with file opened using x+ mode -- - -Warning: fgetcsv(): Length parameter may not be negative in %s on line %d -bool(false) -int(0) -bool(false) - --- Testing fgetcsv() with file opened using x+b mode -- - -Warning: fgetcsv(): Length parameter may not be negative in %s on line %d -bool(false) -int(0) -bool(false) - --- Testing fgetcsv() with file opened using x+t mode -- - -Warning: fgetcsv(): Length parameter may not be negative in %s on line %d -bool(false) -int(0) -bool(false) - --- Testing fgetcsv() with file opened using r mode -- - -Warning: fgetcsv(): Length parameter may not be negative in %s on line %d -bool(false) -int(0) -bool(false) - --- Testing fgetcsv() with file opened using rb mode -- - -Warning: fgetcsv(): Length parameter may not be negative in %s on line %d -bool(false) -int(0) -bool(false) - --- Testing fgetcsv() with file opened using rt mode -- - -Warning: fgetcsv(): Length parameter may not be negative in %s on line %d -bool(false) -int(0) -bool(false) - --- Testing fgetcsv() with file opened using r+ mode -- - -Warning: fgetcsv(): Length parameter may not be negative in %s on line %d -bool(false) -int(0) -bool(false) - --- Testing fgetcsv() with file opened using r+b mode -- - -Warning: fgetcsv(): Length parameter may not be negative in %s on line %d -bool(false) -int(0) -bool(false) - --- Testing fgetcsv() with file opened using r+t mode -- - -Warning: fgetcsv(): Length parameter may not be negative in %s on line %d -bool(false) -int(0) -bool(false) - --- Testing fgetcsv() with file opened using a+ mode -- - -Warning: fgetcsv(): Length parameter may not be negative in %s on line %d -bool(false) -int(0) -bool(false) - --- Testing fgetcsv() with file opened using a+b mode -- - -Warning: fgetcsv(): Length parameter may not be negative in %s on line %d -bool(false) -int(0) -bool(false) - --- Testing fgetcsv() with file opened using a+t mode -- - -Warning: fgetcsv(): Length parameter may not be negative in %s on line %d -bool(false) -int(0) -bool(false) - --- Testing fgetcsv() with file opened using w+ mode -- - -Warning: fgetcsv(): Length parameter may not be negative in %s on line %d -bool(false) -int(0) -bool(false) - --- Testing fgetcsv() with file opened using w+b mode -- - -Warning: fgetcsv(): Length parameter may not be negative in %s on line %d -bool(false) -int(0) -bool(false) - --- Testing fgetcsv() with file opened using w+t mode -- - -Warning: fgetcsv(): Length parameter may not be negative in %s on line %d -bool(false) -int(0) -bool(false) - --- Testing fgetcsv() with file opened using x+ mode -- - -Warning: fgetcsv(): Length parameter may not be negative in %s on line %d -bool(false) -int(0) -bool(false) - --- Testing fgetcsv() with file opened using x+b mode -- - -Warning: fgetcsv(): Length parameter may not be negative in %s on line %d -bool(false) -int(0) -bool(false) - --- Testing fgetcsv() with file opened using x+t mode -- - -Warning: fgetcsv(): Length parameter may not be negative in %s on line %d -bool(false) -int(0) -bool(false) - --- Testing fgetcsv() with file opened using r mode -- - -Warning: fgetcsv(): Length parameter may not be negative in %s on line %d -bool(false) -int(0) -bool(false) - --- Testing fgetcsv() with file opened using rb mode -- - -Warning: fgetcsv(): Length parameter may not be negative in %s on line %d -bool(false) -int(0) -bool(false) - --- Testing fgetcsv() with file opened using rt mode -- - -Warning: fgetcsv(): Length parameter may not be negative in %s on line %d -bool(false) -int(0) -bool(false) - --- Testing fgetcsv() with file opened using r+ mode -- - -Warning: fgetcsv(): Length parameter may not be negative in %s on line %d -bool(false) -int(0) -bool(false) - --- Testing fgetcsv() with file opened using r+b mode -- - -Warning: fgetcsv(): Length parameter may not be negative in %s on line %d -bool(false) -int(0) -bool(false) - --- Testing fgetcsv() with file opened using r+t mode -- - -Warning: fgetcsv(): Length parameter may not be negative in %s on line %d -bool(false) -int(0) -bool(false) - --- Testing fgetcsv() with file opened using a+ mode -- - -Warning: fgetcsv(): Length parameter may not be negative in %s on line %d -bool(false) -int(0) -bool(false) - --- Testing fgetcsv() with file opened using a+b mode -- - -Warning: fgetcsv(): Length parameter may not be negative in %s on line %d -bool(false) -int(0) -bool(false) - --- Testing fgetcsv() with file opened using a+t mode -- - -Warning: fgetcsv(): Length parameter may not be negative in %s on line %d -bool(false) -int(0) -bool(false) - --- Testing fgetcsv() with file opened using w+ mode -- - -Warning: fgetcsv(): Length parameter may not be negative in %s on line %d -bool(false) -int(0) -bool(false) - --- Testing fgetcsv() with file opened using w+b mode -- - -Warning: fgetcsv(): Length parameter may not be negative in %s on line %d -bool(false) -int(0) -bool(false) - --- Testing fgetcsv() with file opened using w+t mode -- - -Warning: fgetcsv(): Length parameter may not be negative in %s on line %d -bool(false) -int(0) -bool(false) - --- Testing fgetcsv() with file opened using x+ mode -- - -Warning: fgetcsv(): Length parameter may not be negative in %s on line %d -bool(false) -int(0) -bool(false) - --- Testing fgetcsv() with file opened using x+b mode -- - -Warning: fgetcsv(): Length parameter may not be negative in %s on line %d -bool(false) -int(0) -bool(false) - --- Testing fgetcsv() with file opened using x+t mode -- - -Warning: fgetcsv(): Length parameter may not be negative in %s on line %d -bool(false) -int(0) -bool(false) - --- Testing fgetcsv() with file opened using r mode -- - -Warning: fgetcsv(): Length parameter may not be negative in %s on line %d -bool(false) -int(0) -bool(false) - --- Testing fgetcsv() with file opened using rb mode -- - -Warning: fgetcsv(): Length parameter may not be negative in %s on line %d -bool(false) -int(0) -bool(false) - --- Testing fgetcsv() with file opened using rt mode -- - -Warning: fgetcsv(): Length parameter may not be negative in %s on line %d -bool(false) -int(0) -bool(false) - --- Testing fgetcsv() with file opened using r+ mode -- - -Warning: fgetcsv(): Length parameter may not be negative in %s on line %d -bool(false) -int(0) -bool(false) - --- Testing fgetcsv() with file opened using r+b mode -- - -Warning: fgetcsv(): Length parameter may not be negative in %s on line %d -bool(false) -int(0) -bool(false) - --- Testing fgetcsv() with file opened using r+t mode -- - -Warning: fgetcsv(): Length parameter may not be negative in %s on line %d -bool(false) -int(0) -bool(false) - --- Testing fgetcsv() with file opened using a+ mode -- - -Warning: fgetcsv(): Length parameter may not be negative in %s on line %d -bool(false) -int(0) -bool(false) - --- Testing fgetcsv() with file opened using a+b mode -- - -Warning: fgetcsv(): Length parameter may not be negative in %s on line %d -bool(false) -int(0) -bool(false) - --- Testing fgetcsv() with file opened using a+t mode -- - -Warning: fgetcsv(): Length parameter may not be negative in %s on line %d -bool(false) -int(0) -bool(false) - --- Testing fgetcsv() with file opened using w+ mode -- - -Warning: fgetcsv(): Length parameter may not be negative in %s on line %d -bool(false) -int(0) -bool(false) - --- Testing fgetcsv() with file opened using w+b mode -- - -Warning: fgetcsv(): Length parameter may not be negative in %s on line %d -bool(false) -int(0) -bool(false) - --- Testing fgetcsv() with file opened using w+t mode -- - -Warning: fgetcsv(): Length parameter may not be negative in %s on line %d -bool(false) -int(0) -bool(false) - --- Testing fgetcsv() with file opened using x+ mode -- - -Warning: fgetcsv(): Length parameter may not be negative in %s on line %d -bool(false) -int(0) -bool(false) - --- Testing fgetcsv() with file opened using x+b mode -- - -Warning: fgetcsv(): Length parameter may not be negative in %s on line %d -bool(false) -int(0) -bool(false) - --- Testing fgetcsv() with file opened using x+t mode -- - -Warning: fgetcsv(): Length parameter may not be negative in %s on line %d -bool(false) -int(0) -bool(false) - --- Testing fgetcsv() with file opened using r mode -- - -Warning: fgetcsv(): Length parameter may not be negative in %s on line %d -bool(false) -int(0) -bool(false) - --- Testing fgetcsv() with file opened using rb mode -- - -Warning: fgetcsv(): Length parameter may not be negative in %s on line %d -bool(false) -int(0) -bool(false) - --- Testing fgetcsv() with file opened using rt mode -- - -Warning: fgetcsv(): Length parameter may not be negative in %s on line %d -bool(false) -int(0) -bool(false) - --- Testing fgetcsv() with file opened using r+ mode -- - -Warning: fgetcsv(): Length parameter may not be negative in %s on line %d -bool(false) -int(0) -bool(false) - --- Testing fgetcsv() with file opened using r+b mode -- - -Warning: fgetcsv(): Length parameter may not be negative in %s on line %d -bool(false) -int(0) -bool(false) - --- Testing fgetcsv() with file opened using r+t mode -- - -Warning: fgetcsv(): Length parameter may not be negative in %s on line %d -bool(false) -int(0) -bool(false) - --- Testing fgetcsv() with file opened using a+ mode -- - -Warning: fgetcsv(): Length parameter may not be negative in %s on line %d -bool(false) -int(0) -bool(false) - --- Testing fgetcsv() with file opened using a+b mode -- - -Warning: fgetcsv(): Length parameter may not be negative in %s on line %d -bool(false) -int(0) -bool(false) - --- Testing fgetcsv() with file opened using a+t mode -- - -Warning: fgetcsv(): Length parameter may not be negative in %s on line %d -bool(false) -int(0) -bool(false) - --- Testing fgetcsv() with file opened using w+ mode -- - -Warning: fgetcsv(): Length parameter may not be negative in %s on line %d -bool(false) -int(0) -bool(false) - --- Testing fgetcsv() with file opened using w+b mode -- - -Warning: fgetcsv(): Length parameter may not be negative in %s on line %d -bool(false) -int(0) -bool(false) - --- Testing fgetcsv() with file opened using w+t mode -- - -Warning: fgetcsv(): Length parameter may not be negative in %s on line %d -bool(false) -int(0) -bool(false) - --- Testing fgetcsv() with file opened using x+ mode -- - -Warning: fgetcsv(): Length parameter may not be negative in %s on line %d -bool(false) -int(0) -bool(false) - --- Testing fgetcsv() with file opened using x+b mode -- - -Warning: fgetcsv(): Length parameter may not be negative in %s on line %d -bool(false) -int(0) -bool(false) - --- Testing fgetcsv() with file opened using x+t mode -- - -Warning: fgetcsv(): Length parameter may not be negative in %s on line %d -bool(false) -int(0) -bool(false) -Done diff --git a/ext/standard/tests/file/fgetcsv_variation29.phpt b/ext/standard/tests/file/fgetcsv_variation29.phpt index bad409563b..c2525c0314 100644 --- a/ext/standard/tests/file/fgetcsv_variation29.phpt +++ b/ext/standard/tests/file/fgetcsv_variation29.phpt @@ -613,532 +613,3 @@ bool(false) int(%d) bool(true) Done - ---UEXPECTF-- -*** Testing fgetcsv() : with file handle as only argument and file pointer pointing at end of file *** - --- Testing fgetcsv() with file opened using r mode -- -int(0) -bool(false) -bool(false) -int(53) -bool(true) - --- Testing fgetcsv() with file opened using rb mode -- -int(0) -bool(false) -bool(false) -int(53) -bool(true) - --- Testing fgetcsv() with file opened using rt mode -- -int(0) -bool(false) -bool(false) -int(%d) -bool(true) - --- Testing fgetcsv() with file opened using r+ mode -- -int(0) -bool(false) -bool(false) -int(53) -bool(true) - --- Testing fgetcsv() with file opened using r+b mode -- -int(0) -bool(false) -bool(false) -int(53) -bool(true) - --- Testing fgetcsv() with file opened using r+t mode -- -int(0) -bool(false) -bool(false) -int(%d) -bool(true) - --- Testing fgetcsv() with file opened using a+ mode -- -int(0) -bool(false) -bool(false) -int(53) -bool(true) - --- Testing fgetcsv() with file opened using a+b mode -- -int(0) -bool(false) -bool(false) -int(53) -bool(true) - --- Testing fgetcsv() with file opened using a+t mode -- -int(0) -bool(false) -bool(false) -int(%d) -bool(true) - --- Testing fgetcsv() with file opened using w+ mode -- -int(0) -bool(false) -bool(false) -int(53) -bool(true) - --- Testing fgetcsv() with file opened using w+b mode -- -int(0) -bool(false) -bool(false) -int(53) -bool(true) - --- Testing fgetcsv() with file opened using w+t mode -- -int(0) -bool(false) -bool(false) -int(%d) -bool(true) - --- Testing fgetcsv() with file opened using x+ mode -- -int(0) -bool(false) -bool(false) -int(53) -bool(true) - --- Testing fgetcsv() with file opened using x+b mode -- -int(0) -bool(false) -bool(false) -int(53) -bool(true) - --- Testing fgetcsv() with file opened using x+t mode -- -int(0) -bool(false) -bool(false) -int(%d) -bool(true) - --- Testing fgetcsv() with file opened using r mode -- -int(0) -bool(false) -bool(false) -int(53) -bool(true) - --- Testing fgetcsv() with file opened using rb mode -- -int(0) -bool(false) -bool(false) -int(53) -bool(true) - --- Testing fgetcsv() with file opened using rt mode -- -int(0) -bool(false) -bool(false) -int(%d) -bool(true) - --- Testing fgetcsv() with file opened using r+ mode -- -int(0) -bool(false) -bool(false) -int(53) -bool(true) - --- Testing fgetcsv() with file opened using r+b mode -- -int(0) -bool(false) -bool(false) -int(53) -bool(true) - --- Testing fgetcsv() with file opened using r+t mode -- -int(0) -bool(false) -bool(false) -int(%d) -bool(true) - --- Testing fgetcsv() with file opened using a+ mode -- -int(0) -bool(false) -bool(false) -int(53) -bool(true) - --- Testing fgetcsv() with file opened using a+b mode -- -int(0) -bool(false) -bool(false) -int(53) -bool(true) - --- Testing fgetcsv() with file opened using a+t mode -- -int(0) -bool(false) -bool(false) -int(%d) -bool(true) - --- Testing fgetcsv() with file opened using w+ mode -- -int(0) -bool(false) -bool(false) -int(53) -bool(true) - --- Testing fgetcsv() with file opened using w+b mode -- -int(0) -bool(false) -bool(false) -int(53) -bool(true) - --- Testing fgetcsv() with file opened using w+t mode -- -int(0) -bool(false) -bool(false) -int(%d) -bool(true) - --- Testing fgetcsv() with file opened using x+ mode -- -int(0) -bool(false) -bool(false) -int(53) -bool(true) - --- Testing fgetcsv() with file opened using x+b mode -- -int(0) -bool(false) -bool(false) -int(53) -bool(true) - --- Testing fgetcsv() with file opened using x+t mode -- -int(0) -bool(false) -bool(false) -int(%d) -bool(true) - --- Testing fgetcsv() with file opened using r mode -- -int(0) -bool(false) -bool(false) -int(57) -bool(true) - --- Testing fgetcsv() with file opened using rb mode -- -int(0) -bool(false) -bool(false) -int(57) -bool(true) - --- Testing fgetcsv() with file opened using rt mode -- -int(0) -bool(false) -bool(false) -int(%d) -bool(true) - --- Testing fgetcsv() with file opened using r+ mode -- -int(0) -bool(false) -bool(false) -int(57) -bool(true) - --- Testing fgetcsv() with file opened using r+b mode -- -int(0) -bool(false) -bool(false) -int(57) -bool(true) - --- Testing fgetcsv() with file opened using r+t mode -- -int(0) -bool(false) -bool(false) -int(%d) -bool(true) - --- Testing fgetcsv() with file opened using a+ mode -- -int(0) -bool(false) -bool(false) -int(57) -bool(true) - --- Testing fgetcsv() with file opened using a+b mode -- -int(0) -bool(false) -bool(false) -int(57) -bool(true) - --- Testing fgetcsv() with file opened using a+t mode -- -int(0) -bool(false) -bool(false) -int(%d) -bool(true) - --- Testing fgetcsv() with file opened using w+ mode -- -int(0) -bool(false) -bool(false) -int(57) -bool(true) - --- Testing fgetcsv() with file opened using w+b mode -- -int(0) -bool(false) -bool(false) -int(57) -bool(true) - --- Testing fgetcsv() with file opened using w+t mode -- -int(0) -bool(false) -bool(false) -int(%d) -bool(true) - --- Testing fgetcsv() with file opened using x+ mode -- -int(0) -bool(false) -bool(false) -int(57) -bool(true) - --- Testing fgetcsv() with file opened using x+b mode -- -int(0) -bool(false) -bool(false) -int(57) -bool(true) - --- Testing fgetcsv() with file opened using x+t mode -- -int(0) -bool(false) -bool(false) -int(%d) -bool(true) - --- Testing fgetcsv() with file opened using r mode -- -int(0) -bool(false) -bool(false) -int(61) -bool(true) - --- Testing fgetcsv() with file opened using rb mode -- -int(0) -bool(false) -bool(false) -int(61) -bool(true) - --- Testing fgetcsv() with file opened using rt mode -- -int(0) -bool(false) -bool(false) -int(%d) -bool(true) - --- Testing fgetcsv() with file opened using r+ mode -- -int(0) -bool(false) -bool(false) -int(61) -bool(true) - --- Testing fgetcsv() with file opened using r+b mode -- -int(0) -bool(false) -bool(false) -int(61) -bool(true) - --- Testing fgetcsv() with file opened using r+t mode -- -int(0) -bool(false) -bool(false) -int(%d) -bool(true) - --- Testing fgetcsv() with file opened using a+ mode -- -int(0) -bool(false) -bool(false) -int(61) -bool(true) - --- Testing fgetcsv() with file opened using a+b mode -- -int(0) -bool(false) -bool(false) -int(61) -bool(true) - --- Testing fgetcsv() with file opened using a+t mode -- -int(0) -bool(false) -bool(false) -int(%d) -bool(true) - --- Testing fgetcsv() with file opened using w+ mode -- -int(0) -bool(false) -bool(false) -int(61) -bool(true) - --- Testing fgetcsv() with file opened using w+b mode -- -int(0) -bool(false) -bool(false) -int(61) -bool(true) - --- Testing fgetcsv() with file opened using w+t mode -- -int(0) -bool(false) -bool(false) -int(%d) -bool(true) - --- Testing fgetcsv() with file opened using x+ mode -- -int(0) -bool(false) -bool(false) -int(61) -bool(true) - --- Testing fgetcsv() with file opened using x+b mode -- -int(0) -bool(false) -bool(false) -int(61) -bool(true) - --- Testing fgetcsv() with file opened using x+t mode -- -int(0) -bool(false) -bool(false) -int(%d) -bool(true) - --- Testing fgetcsv() with file opened using r mode -- -int(0) -bool(false) -bool(false) -int(61) -bool(true) - --- Testing fgetcsv() with file opened using rb mode -- -int(0) -bool(false) -bool(false) -int(61) -bool(true) - --- Testing fgetcsv() with file opened using rt mode -- -int(0) -bool(false) -bool(false) -int(%d) -bool(true) - --- Testing fgetcsv() with file opened using r+ mode -- -int(0) -bool(false) -bool(false) -int(61) -bool(true) - --- Testing fgetcsv() with file opened using r+b mode -- -int(0) -bool(false) -bool(false) -int(61) -bool(true) - --- Testing fgetcsv() with file opened using r+t mode -- -int(0) -bool(false) -bool(false) -int(%d) -bool(true) - --- Testing fgetcsv() with file opened using a+ mode -- -int(0) -bool(false) -bool(false) -int(61) -bool(true) - --- Testing fgetcsv() with file opened using a+b mode -- -int(0) -bool(false) -bool(false) -int(61) -bool(true) - --- Testing fgetcsv() with file opened using a+t mode -- -int(0) -bool(false) -bool(false) -int(%d) -bool(true) - --- Testing fgetcsv() with file opened using w+ mode -- -int(0) -bool(false) -bool(false) -int(61) -bool(true) - --- Testing fgetcsv() with file opened using w+b mode -- -int(0) -bool(false) -bool(false) -int(61) -bool(true) - --- Testing fgetcsv() with file opened using w+t mode -- -int(0) -bool(false) -bool(false) -int(%d) -bool(true) - --- Testing fgetcsv() with file opened using x+ mode -- -int(0) -bool(false) -bool(false) -int(61) -bool(true) - --- Testing fgetcsv() with file opened using x+b mode -- -int(0) -bool(false) -bool(false) -int(61) -bool(true) - --- Testing fgetcsv() with file opened using x+t mode -- -int(0) -bool(false) -bool(false) -int(%d) -bool(true) -Done diff --git a/ext/standard/tests/file/fgetcsv_variation3.phpt b/ext/standard/tests/file/fgetcsv_variation3.phpt index 8732cbb136..26f4649001 100644 --- a/ext/standard/tests/file/fgetcsv_variation3.phpt +++ b/ext/standard/tests/file/fgetcsv_variation3.phpt @@ -931,847 +931,3 @@ bool(false) int(0) bool(false) Done - ---UEXPECTF-- -*** Testing fgetcsv() : with delimiter 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/fgetcsv_variation30.phpt b/ext/standard/tests/file/fgetcsv_variation30.phpt index 6f0563a69a..72accd97ad 100644 --- a/ext/standard/tests/file/fgetcsv_variation30.phpt +++ b/ext/standard/tests/file/fgetcsv_variation30.phpt @@ -612,532 +612,3 @@ bool(false) int(%d) bool(true) Done - ---UEXPECTF-- -*** Testing fgetcsv() : with file handle and length arguments, file pointer pointing at end of file *** - --- Testing fgetcsv() with file opened using r mode -- -int(0) -bool(false) -bool(false) -int(53) -bool(true) - --- Testing fgetcsv() with file opened using rb mode -- -int(0) -bool(false) -bool(false) -int(53) -bool(true) - --- Testing fgetcsv() with file opened using rt mode -- -int(0) -bool(false) -bool(false) -int(%d) -bool(true) - --- Testing fgetcsv() with file opened using r+ mode -- -int(0) -bool(false) -bool(false) -int(53) -bool(true) - --- Testing fgetcsv() with file opened using r+b mode -- -int(0) -bool(false) -bool(false) -int(53) -bool(true) - --- Testing fgetcsv() with file opened using r+t mode -- -int(0) -bool(false) -bool(false) -int(%d) -bool(true) - --- Testing fgetcsv() with file opened using a+ mode -- -int(0) -bool(false) -bool(false) -int(53) -bool(true) - --- Testing fgetcsv() with file opened using a+b mode -- -int(0) -bool(false) -bool(false) -int(53) -bool(true) - --- Testing fgetcsv() with file opened using a+t mode -- -int(0) -bool(false) -bool(false) -int(%d) -bool(true) - --- Testing fgetcsv() with file opened using w+ mode -- -int(0) -bool(false) -bool(false) -int(53) -bool(true) - --- Testing fgetcsv() with file opened using w+b mode -- -int(0) -bool(false) -bool(false) -int(53) -bool(true) - --- Testing fgetcsv() with file opened using w+t mode -- -int(0) -bool(false) -bool(false) -int(%d) -bool(true) - --- Testing fgetcsv() with file opened using x+ mode -- -int(0) -bool(false) -bool(false) -int(53) -bool(true) - --- Testing fgetcsv() with file opened using x+b mode -- -int(0) -bool(false) -bool(false) -int(53) -bool(true) - --- Testing fgetcsv() with file opened using x+t mode -- -int(0) -bool(false) -bool(false) -int(%d) -bool(true) - --- Testing fgetcsv() with file opened using r mode -- -int(0) -bool(false) -bool(false) -int(53) -bool(true) - --- Testing fgetcsv() with file opened using rb mode -- -int(0) -bool(false) -bool(false) -int(53) -bool(true) - --- Testing fgetcsv() with file opened using rt mode -- -int(0) -bool(false) -bool(false) -int(%d) -bool(true) - --- Testing fgetcsv() with file opened using r+ mode -- -int(0) -bool(false) -bool(false) -int(53) -bool(true) - --- Testing fgetcsv() with file opened using r+b mode -- -int(0) -bool(false) -bool(false) -int(53) -bool(true) - --- Testing fgetcsv() with file opened using r+t mode -- -int(0) -bool(false) -bool(false) -int(%d) -bool(true) - --- Testing fgetcsv() with file opened using a+ mode -- -int(0) -bool(false) -bool(false) -int(53) -bool(true) - --- Testing fgetcsv() with file opened using a+b mode -- -int(0) -bool(false) -bool(false) -int(53) -bool(true) - --- Testing fgetcsv() with file opened using a+t mode -- -int(0) -bool(false) -bool(false) -int(%d) -bool(true) - --- Testing fgetcsv() with file opened using w+ mode -- -int(0) -bool(false) -bool(false) -int(53) -bool(true) - --- Testing fgetcsv() with file opened using w+b mode -- -int(0) -bool(false) -bool(false) -int(53) -bool(true) - --- Testing fgetcsv() with file opened using w+t mode -- -int(0) -bool(false) -bool(false) -int(%d) -bool(true) - --- Testing fgetcsv() with file opened using x+ mode -- -int(0) -bool(false) -bool(false) -int(53) -bool(true) - --- Testing fgetcsv() with file opened using x+b mode -- -int(0) -bool(false) -bool(false) -int(53) -bool(true) - --- Testing fgetcsv() with file opened using x+t mode -- -int(0) -bool(false) -bool(false) -int(%d) -bool(true) - --- Testing fgetcsv() with file opened using r mode -- -int(0) -bool(false) -bool(false) -int(57) -bool(true) - --- Testing fgetcsv() with file opened using rb mode -- -int(0) -bool(false) -bool(false) -int(57) -bool(true) - --- Testing fgetcsv() with file opened using rt mode -- -int(0) -bool(false) -bool(false) -int(%d) -bool(true) - --- Testing fgetcsv() with file opened using r+ mode -- -int(0) -bool(false) -bool(false) -int(57) -bool(true) - --- Testing fgetcsv() with file opened using r+b mode -- -int(0) -bool(false) -bool(false) -int(57) -bool(true) - --- Testing fgetcsv() with file opened using r+t mode -- -int(0) -bool(false) -bool(false) -int(%d) -bool(true) - --- Testing fgetcsv() with file opened using a+ mode -- -int(0) -bool(false) -bool(false) -int(57) -bool(true) - --- Testing fgetcsv() with file opened using a+b mode -- -int(0) -bool(false) -bool(false) -int(57) -bool(true) - --- Testing fgetcsv() with file opened using a+t mode -- -int(0) -bool(false) -bool(false) -int(%d) -bool(true) - --- Testing fgetcsv() with file opened using w+ mode -- -int(0) -bool(false) -bool(false) -int(57) -bool(true) - --- Testing fgetcsv() with file opened using w+b mode -- -int(0) -bool(false) -bool(false) -int(57) -bool(true) - --- Testing fgetcsv() with file opened using w+t mode -- -int(0) -bool(false) -bool(false) -int(%d) -bool(true) - --- Testing fgetcsv() with file opened using x+ mode -- -int(0) -bool(false) -bool(false) -int(57) -bool(true) - --- Testing fgetcsv() with file opened using x+b mode -- -int(0) -bool(false) -bool(false) -int(57) -bool(true) - --- Testing fgetcsv() with file opened using x+t mode -- -int(0) -bool(false) -bool(false) -int(%d) -bool(true) - --- Testing fgetcsv() with file opened using r mode -- -int(0) -bool(false) -bool(false) -int(61) -bool(true) - --- Testing fgetcsv() with file opened using rb mode -- -int(0) -bool(false) -bool(false) -int(61) -bool(true) - --- Testing fgetcsv() with file opened using rt mode -- -int(0) -bool(false) -bool(false) -int(%d) -bool(true) - --- Testing fgetcsv() with file opened using r+ mode -- -int(0) -bool(false) -bool(false) -int(61) -bool(true) - --- Testing fgetcsv() with file opened using r+b mode -- -int(0) -bool(false) -bool(false) -int(61) -bool(true) - --- Testing fgetcsv() with file opened using r+t mode -- -int(0) -bool(false) -bool(false) -int(%d) -bool(true) - --- Testing fgetcsv() with file opened using a+ mode -- -int(0) -bool(false) -bool(false) -int(61) -bool(true) - --- Testing fgetcsv() with file opened using a+b mode -- -int(0) -bool(false) -bool(false) -int(61) -bool(true) - --- Testing fgetcsv() with file opened using a+t mode -- -int(0) -bool(false) -bool(false) -int(%d) -bool(true) - --- Testing fgetcsv() with file opened using w+ mode -- -int(0) -bool(false) -bool(false) -int(61) -bool(true) - --- Testing fgetcsv() with file opened using w+b mode -- -int(0) -bool(false) -bool(false) -int(61) -bool(true) - --- Testing fgetcsv() with file opened using w+t mode -- -int(0) -bool(false) -bool(false) -int(%d) -bool(true) - --- Testing fgetcsv() with file opened using x+ mode -- -int(0) -bool(false) -bool(false) -int(61) -bool(true) - --- Testing fgetcsv() with file opened using x+b mode -- -int(0) -bool(false) -bool(false) -int(61) -bool(true) - --- Testing fgetcsv() with file opened using x+t mode -- -int(0) -bool(false) -bool(false) -int(%d) -bool(true) - --- Testing fgetcsv() with file opened using r mode -- -int(0) -bool(false) -bool(false) -int(61) -bool(true) - --- Testing fgetcsv() with file opened using rb mode -- -int(0) -bool(false) -bool(false) -int(61) -bool(true) - --- Testing fgetcsv() with file opened using rt mode -- -int(0) -bool(false) -bool(false) -int(%d) -bool(true) - --- Testing fgetcsv() with file opened using r+ mode -- -int(0) -bool(false) -bool(false) -int(61) -bool(true) - --- Testing fgetcsv() with file opened using r+b mode -- -int(0) -bool(false) -bool(false) -int(61) -bool(true) - --- Testing fgetcsv() with file opened using r+t mode -- -int(0) -bool(false) -bool(false) -int(%d) -bool(true) - --- Testing fgetcsv() with file opened using a+ mode -- -int(0) -bool(false) -bool(false) -int(61) -bool(true) - --- Testing fgetcsv() with file opened using a+b mode -- -int(0) -bool(false) -bool(false) -int(61) -bool(true) - --- Testing fgetcsv() with file opened using a+t mode -- -int(0) -bool(false) -bool(false) -int(%d) -bool(true) - --- Testing fgetcsv() with file opened using w+ mode -- -int(0) -bool(false) -bool(false) -int(61) -bool(true) - --- Testing fgetcsv() with file opened using w+b mode -- -int(0) -bool(false) -bool(false) -int(61) -bool(true) - --- Testing fgetcsv() with file opened using w+t mode -- -int(0) -bool(false) -bool(false) -int(%d) -bool(true) - --- Testing fgetcsv() with file opened using x+ mode -- -int(0) -bool(false) -bool(false) -int(61) -bool(true) - --- Testing fgetcsv() with file opened using x+b mode -- -int(0) -bool(false) -bool(false) -int(61) -bool(true) - --- Testing fgetcsv() with file opened using x+t mode -- -int(0) -bool(false) -bool(false) -int(%d) -bool(true) -Done diff --git a/ext/standard/tests/file/fgetcsv_variation31.phpt b/ext/standard/tests/file/fgetcsv_variation31.phpt index 4aa35d3b0f..a6f622d38d 100644 --- a/ext/standard/tests/file/fgetcsv_variation31.phpt +++ b/ext/standard/tests/file/fgetcsv_variation31.phpt @@ -614,532 +614,3 @@ bool(false) int(%d) bool(true) Done - ---UEXPECTF-- -*** Testing fgetcsv() : with enclosure argument, file pointer pointing at end of file *** - --- Testing fgetcsv() with file opened using r mode -- -int(0) -bool(false) -bool(false) -int(53) -bool(true) - --- Testing fgetcsv() with file opened using rb mode -- -int(0) -bool(false) -bool(false) -int(53) -bool(true) - --- Testing fgetcsv() with file opened using rt mode -- -int(0) -bool(false) -bool(false) -int(%d) -bool(true) - --- Testing fgetcsv() with file opened using r+ mode -- -int(0) -bool(false) -bool(false) -int(53) -bool(true) - --- Testing fgetcsv() with file opened using r+b mode -- -int(0) -bool(false) -bool(false) -int(53) -bool(true) - --- Testing fgetcsv() with file opened using r+t mode -- -int(0) -bool(false) -bool(false) -int(%d) -bool(true) - --- Testing fgetcsv() with file opened using a+ mode -- -int(0) -bool(false) -bool(false) -int(53) -bool(true) - --- Testing fgetcsv() with file opened using a+b mode -- -int(0) -bool(false) -bool(false) -int(53) -bool(true) - --- Testing fgetcsv() with file opened using a+t mode -- -int(0) -bool(false) -bool(false) -int(%d) -bool(true) - --- Testing fgetcsv() with file opened using w+ mode -- -int(0) -bool(false) -bool(false) -int(53) -bool(true) - --- Testing fgetcsv() with file opened using w+b mode -- -int(0) -bool(false) -bool(false) -int(53) -bool(true) - --- Testing fgetcsv() with file opened using w+t mode -- -int(0) -bool(false) -bool(false) -int(%d) -bool(true) - --- Testing fgetcsv() with file opened using x+ mode -- -int(0) -bool(false) -bool(false) -int(53) -bool(true) - --- Testing fgetcsv() with file opened using x+b mode -- -int(0) -bool(false) -bool(false) -int(53) -bool(true) - --- Testing fgetcsv() with file opened using x+t mode -- -int(0) -bool(false) -bool(false) -int(%d) -bool(true) - --- Testing fgetcsv() with file opened using r mode -- -int(0) -bool(false) -bool(false) -int(53) -bool(true) - --- Testing fgetcsv() with file opened using rb mode -- -int(0) -bool(false) -bool(false) -int(53) -bool(true) - --- Testing fgetcsv() with file opened using rt mode -- -int(0) -bool(false) -bool(false) -int(%d) -bool(true) - --- Testing fgetcsv() with file opened using r+ mode -- -int(0) -bool(false) -bool(false) -int(53) -bool(true) - --- Testing fgetcsv() with file opened using r+b mode -- -int(0) -bool(false) -bool(false) -int(53) -bool(true) - --- Testing fgetcsv() with file opened using r+t mode -- -int(0) -bool(false) -bool(false) -int(%d) -bool(true) - --- Testing fgetcsv() with file opened using a+ mode -- -int(0) -bool(false) -bool(false) -int(53) -bool(true) - --- Testing fgetcsv() with file opened using a+b mode -- -int(0) -bool(false) -bool(false) -int(53) -bool(true) - --- Testing fgetcsv() with file opened using a+t mode -- -int(0) -bool(false) -bool(false) -int(%d) -bool(true) - --- Testing fgetcsv() with file opened using w+ mode -- -int(0) -bool(false) -bool(false) -int(53) -bool(true) - --- Testing fgetcsv() with file opened using w+b mode -- -int(0) -bool(false) -bool(false) -int(53) -bool(true) - --- Testing fgetcsv() with file opened using w+t mode -- -int(0) -bool(false) -bool(false) -int(%d) -bool(true) - --- Testing fgetcsv() with file opened using x+ mode -- -int(0) -bool(false) -bool(false) -int(53) -bool(true) - --- Testing fgetcsv() with file opened using x+b mode -- -int(0) -bool(false) -bool(false) -int(53) -bool(true) - --- Testing fgetcsv() with file opened using x+t mode -- -int(0) -bool(false) -bool(false) -int(%d) -bool(true) - --- Testing fgetcsv() with file opened using r mode -- -int(0) -bool(false) -bool(false) -int(57) -bool(true) - --- Testing fgetcsv() with file opened using rb mode -- -int(0) -bool(false) -bool(false) -int(57) -bool(true) - --- Testing fgetcsv() with file opened using rt mode -- -int(0) -bool(false) -bool(false) -int(%d) -bool(true) - --- Testing fgetcsv() with file opened using r+ mode -- -int(0) -bool(false) -bool(false) -int(57) -bool(true) - --- Testing fgetcsv() with file opened using r+b mode -- -int(0) -bool(false) -bool(false) -int(57) -bool(true) - --- Testing fgetcsv() with file opened using r+t mode -- -int(0) -bool(false) -bool(false) -int(%d) -bool(true) - --- Testing fgetcsv() with file opened using a+ mode -- -int(0) -bool(false) -bool(false) -int(57) -bool(true) - --- Testing fgetcsv() with file opened using a+b mode -- -int(0) -bool(false) -bool(false) -int(57) -bool(true) - --- Testing fgetcsv() with file opened using a+t mode -- -int(0) -bool(false) -bool(false) -int(%d) -bool(true) - --- Testing fgetcsv() with file opened using w+ mode -- -int(0) -bool(false) -bool(false) -int(57) -bool(true) - --- Testing fgetcsv() with file opened using w+b mode -- -int(0) -bool(false) -bool(false) -int(57) -bool(true) - --- Testing fgetcsv() with file opened using w+t mode -- -int(0) -bool(false) -bool(false) -int(%d) -bool(true) - --- Testing fgetcsv() with file opened using x+ mode -- -int(0) -bool(false) -bool(false) -int(57) -bool(true) - --- Testing fgetcsv() with file opened using x+b mode -- -int(0) -bool(false) -bool(false) -int(57) -bool(true) - --- Testing fgetcsv() with file opened using x+t mode -- -int(0) -bool(false) -bool(false) -int(%d) -bool(true) - --- Testing fgetcsv() with file opened using r mode -- -int(0) -bool(false) -bool(false) -int(61) -bool(true) - --- Testing fgetcsv() with file opened using rb mode -- -int(0) -bool(false) -bool(false) -int(61) -bool(true) - --- Testing fgetcsv() with file opened using rt mode -- -int(0) -bool(false) -bool(false) -int(%d) -bool(true) - --- Testing fgetcsv() with file opened using r+ mode -- -int(0) -bool(false) -bool(false) -int(61) -bool(true) - --- Testing fgetcsv() with file opened using r+b mode -- -int(0) -bool(false) -bool(false) -int(61) -bool(true) - --- Testing fgetcsv() with file opened using r+t mode -- -int(0) -bool(false) -bool(false) -int(%d) -bool(true) - --- Testing fgetcsv() with file opened using a+ mode -- -int(0) -bool(false) -bool(false) -int(61) -bool(true) - --- Testing fgetcsv() with file opened using a+b mode -- -int(0) -bool(false) -bool(false) -int(61) -bool(true) - --- Testing fgetcsv() with file opened using a+t mode -- -int(0) -bool(false) -bool(false) -int(%d) -bool(true) - --- Testing fgetcsv() with file opened using w+ mode -- -int(0) -bool(false) -bool(false) -int(61) -bool(true) - --- Testing fgetcsv() with file opened using w+b mode -- -int(0) -bool(false) -bool(false) -int(61) -bool(true) - --- Testing fgetcsv() with file opened using w+t mode -- -int(0) -bool(false) -bool(false) -int(%d) -bool(true) - --- Testing fgetcsv() with file opened using x+ mode -- -int(0) -bool(false) -bool(false) -int(61) -bool(true) - --- Testing fgetcsv() with file opened using x+b mode -- -int(0) -bool(false) -bool(false) -int(61) -bool(true) - --- Testing fgetcsv() with file opened using x+t mode -- -int(0) -bool(false) -bool(false) -int(%d) -bool(true) - --- Testing fgetcsv() with file opened using r mode -- -int(0) -bool(false) -bool(false) -int(61) -bool(true) - --- Testing fgetcsv() with file opened using rb mode -- -int(0) -bool(false) -bool(false) -int(61) -bool(true) - --- Testing fgetcsv() with file opened using rt mode -- -int(0) -bool(false) -bool(false) -int(%d) -bool(true) - --- Testing fgetcsv() with file opened using r+ mode -- -int(0) -bool(false) -bool(false) -int(61) -bool(true) - --- Testing fgetcsv() with file opened using r+b mode -- -int(0) -bool(false) -bool(false) -int(61) -bool(true) - --- Testing fgetcsv() with file opened using r+t mode -- -int(0) -bool(false) -bool(false) -int(%d) -bool(true) - --- Testing fgetcsv() with file opened using a+ mode -- -int(0) -bool(false) -bool(false) -int(61) -bool(true) - --- Testing fgetcsv() with file opened using a+b mode -- -int(0) -bool(false) -bool(false) -int(61) -bool(true) - --- Testing fgetcsv() with file opened using a+t mode -- -int(0) -bool(false) -bool(false) -int(%d) -bool(true) - --- Testing fgetcsv() with file opened using w+ mode -- -int(0) -bool(false) -bool(false) -int(61) -bool(true) - --- Testing fgetcsv() with file opened using w+b mode -- -int(0) -bool(false) -bool(false) -int(61) -bool(true) - --- Testing fgetcsv() with file opened using w+t mode -- -int(0) -bool(false) -bool(false) -int(%d) -bool(true) - --- Testing fgetcsv() with file opened using x+ mode -- -int(0) -bool(false) -bool(false) -int(61) -bool(true) - --- Testing fgetcsv() with file opened using x+b mode -- -int(0) -bool(false) -bool(false) -int(61) -bool(true) - --- Testing fgetcsv() with file opened using x+t mode -- -int(0) -bool(false) -bool(false) -int(%d) -bool(true) -Done diff --git a/ext/standard/tests/file/fgetcsv_variation4.phpt b/ext/standard/tests/file/fgetcsv_variation4.phpt index 09afdd54f9..6fe12dc437 100644 --- a/ext/standard/tests/file/fgetcsv_variation4.phpt +++ b/ext/standard/tests/file/fgetcsv_variation4.phpt @@ -930,847 +930,3 @@ bool(false) int(0) bool(false) Done - ---UEXPECTF-- -*** Testing fgetcsv() : with enclosure as NULL *** - --- Testing fgetcsv() with file opened using r mode -- - -Warning: fgetcsv(): enclosure 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(): enclosure 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(): enclosure 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(): enclosure 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(): enclosure 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(): enclosure 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(): enclosure 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(): enclosure 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(): enclosure 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(): enclosure 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(): enclosure 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(): enclosure 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(): enclosure 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(): enclosure 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(): enclosure 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(): enclosure 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(): enclosure 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(): enclosure 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(): enclosure 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(): enclosure 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(): enclosure 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(): enclosure 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(): enclosure 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(): enclosure 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(): enclosure 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(): enclosure 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(): enclosure 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(): enclosure 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(): enclosure 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(): enclosure 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(): enclosure 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(): enclosure 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(): enclosure 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(): enclosure 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(): enclosure 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(): enclosure 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(): enclosure 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(): enclosure 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(): enclosure 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(): enclosure 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(): enclosure 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(): enclosure 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(): enclosure 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(): enclosure 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(): enclosure 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(): enclosure 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(): enclosure 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(): enclosure 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(): enclosure 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(): enclosure 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(): enclosure 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(): enclosure 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(): enclosure 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(): enclosure 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(): enclosure 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(): enclosure 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(): enclosure 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(): enclosure 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(): enclosure 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(): enclosure 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(): enclosure 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(): enclosure 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(): enclosure 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(): enclosure 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(): enclosure 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(): enclosure 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(): enclosure 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(): enclosure 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(): enclosure 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(): enclosure 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(): enclosure 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(): enclosure 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(): enclosure 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(): enclosure 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(): enclosure 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(): enclosure 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(): enclosure 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(): enclosure 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(): enclosure 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(): enclosure 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(): enclosure 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(): enclosure 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(): enclosure 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(): enclosure 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(): enclosure 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(): enclosure 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(): enclosure 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(): enclosure 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(): enclosure 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(): enclosure 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(): enclosure 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(): enclosure 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(): enclosure 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(): enclosure 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(): enclosure 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(): enclosure 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(): enclosure 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(): enclosure 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(): enclosure 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(): enclosure 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(): enclosure 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(): enclosure 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(): enclosure 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(): enclosure 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(): enclosure 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(): enclosure 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(): enclosure 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(): enclosure 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(): enclosure 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(): enclosure 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(): enclosure 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(): enclosure 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(): enclosure 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(): enclosure 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(): enclosure 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(): enclosure 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(): enclosure 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(): enclosure 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(): enclosure 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(): enclosure must be a character in %s on line %d -bool(false) -int(0) -bool(false) -Done diff --git a/ext/standard/tests/file/fgetcsv_variation5.phpt b/ext/standard/tests/file/fgetcsv_variation5.phpt index 6a94836448..174846a9a8 100644 --- a/ext/standard/tests/file/fgetcsv_variation5.phpt +++ b/ext/standard/tests/file/fgetcsv_variation5.phpt @@ -932,847 +932,3 @@ bool(false) int(0) bool(false) Done - ---UEXPECTF-- -*** 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/fgetcsv_variation6.phpt b/ext/standard/tests/file/fgetcsv_variation6.phpt index 88cf68056b..a82975ccf0 100644 --- a/ext/standard/tests/file/fgetcsv_variation6.phpt +++ b/ext/standard/tests/file/fgetcsv_variation6.phpt @@ -2348,2257 +2348,3 @@ array(1) { int(64) bool(false) Done - ---UEXPECT-- -*** Testing fgetcsv() : with length less than line size *** - --- Testing fgetcsv() with file opened using r mode -- -array(2) { - [0]=> - string(5) "water" - [1]=> - string(1) "f" -} -int(9) -bool(false) -array(1) { - [0]=> - string(4) "ruit" -} -int(14) -bool(false) - --- Testing fgetcsv() with file opened using rb mode -- -array(2) { - [0]=> - string(5) "water" - [1]=> - string(1) "f" -} -int(9) -bool(false) -array(1) { - [0]=> - string(4) "ruit" -} -int(14) -bool(false) - --- Testing fgetcsv() with file opened using rt mode -- -array(2) { - [0]=> - string(5) "water" - [1]=> - string(1) "f" -} -int(9) -bool(false) -array(1) { - [0]=> - string(4) "ruit" -} -int(14) -bool(false) - --- Testing fgetcsv() with file opened using r+ mode -- -array(2) { - [0]=> - string(5) "water" - [1]=> - string(1) "f" -} -int(9) -bool(false) -array(1) { - [0]=> - string(4) "ruit" -} -int(14) -bool(false) - --- Testing fgetcsv() with file opened using r+b mode -- -array(2) { - [0]=> - string(5) "water" - [1]=> - string(1) "f" -} -int(9) -bool(false) -array(1) { - [0]=> - string(4) "ruit" -} -int(14) -bool(false) - --- Testing fgetcsv() with file opened using r+t mode -- -array(2) { - [0]=> - string(5) "water" - [1]=> - string(1) "f" -} -int(9) -bool(false) -array(1) { - [0]=> - string(4) "ruit" -} -int(14) -bool(false) - --- Testing fgetcsv() with file opened using a+ mode -- -array(2) { - [0]=> - string(5) "water" - [1]=> - string(1) "f" -} -int(9) -bool(false) -array(1) { - [0]=> - string(4) "ruit" -} -int(14) -bool(false) - --- Testing fgetcsv() with file opened using a+b mode -- -array(2) { - [0]=> - string(5) "water" - [1]=> - string(1) "f" -} -int(9) -bool(false) -array(1) { - [0]=> - string(4) "ruit" -} -int(14) -bool(false) - --- Testing fgetcsv() with file opened using a+t mode -- -array(2) { - [0]=> - string(5) "water" - [1]=> - string(1) "f" -} -int(9) -bool(false) -array(1) { - [0]=> - string(4) "ruit" -} -int(14) -bool(false) - --- Testing fgetcsv() with file opened using w+ mode -- -array(2) { - [0]=> - string(5) "water" - [1]=> - string(1) "f" -} -int(9) -bool(false) -array(1) { - [0]=> - string(4) "ruit" -} -int(14) -bool(false) - --- Testing fgetcsv() with file opened using w+b mode -- -array(2) { - [0]=> - string(5) "water" - [1]=> - string(1) "f" -} -int(9) -bool(false) -array(1) { - [0]=> - string(4) "ruit" -} -int(14) -bool(false) - --- Testing fgetcsv() with file opened using w+t mode -- -array(2) { - [0]=> - string(5) "water" - [1]=> - string(1) "f" -} -int(9) -bool(false) -array(1) { - [0]=> - string(4) "ruit" -} -int(14) -bool(false) - --- Testing fgetcsv() with file opened using x+ mode -- -array(2) { - [0]=> - string(5) "water" - [1]=> - string(1) "f" -} -int(9) -bool(false) -array(1) { - [0]=> - string(4) "ruit" -} -int(14) -bool(false) - --- Testing fgetcsv() with file opened using x+b mode -- -array(2) { - [0]=> - string(5) "water" - [1]=> - string(1) "f" -} -int(9) -bool(false) -array(1) { - [0]=> - string(4) "ruit" -} -int(14) -bool(false) - --- Testing fgetcsv() with file opened using x+t mode -- -array(2) { - [0]=> - string(5) "water" - [1]=> - string(1) "f" -} -int(9) -bool(false) -array(1) { - [0]=> - string(4) "ruit" -} -int(14) -bool(false) - --- Testing fgetcsv() with file opened using r mode -- -array(2) { - [0]=> - string(5) "water" - [1]=> - string(5) "fruit" -} -int(16) -bool(false) -array(1) { - [0]=> - string(39) "This is line of text without csv fields" -} -int(56) -bool(false) - --- Testing fgetcsv() with file opened using rb mode -- -array(2) { - [0]=> - string(5) "water" - [1]=> - string(5) "fruit" -} -int(16) -bool(false) -array(1) { - [0]=> - string(39) "This is line of text without csv fields" -} -int(56) -bool(false) - --- Testing fgetcsv() with file opened using rt mode -- -array(2) { - [0]=> - string(5) "water" - [1]=> - string(5) "fruit" -} -int(16) -bool(false) -array(1) { - [0]=> - string(39) "This is line of text without csv fields" -} -int(56) -bool(false) - --- Testing fgetcsv() with file opened using r+ mode -- -array(2) { - [0]=> - string(5) "water" - [1]=> - string(5) "fruit" -} -int(16) -bool(false) -array(1) { - [0]=> - string(39) "This is line of text without csv fields" -} -int(56) -bool(false) - --- Testing fgetcsv() with file opened using r+b mode -- -array(2) { - [0]=> - string(5) "water" - [1]=> - string(5) "fruit" -} -int(16) -bool(false) -array(1) { - [0]=> - string(39) "This is line of text without csv fields" -} -int(56) -bool(false) - --- Testing fgetcsv() with file opened using r+t mode -- -array(2) { - [0]=> - string(5) "water" - [1]=> - string(5) "fruit" -} -int(16) -bool(false) -array(1) { - [0]=> - string(39) "This is line of text without csv fields" -} -int(56) -bool(false) - --- Testing fgetcsv() with file opened using a+ mode -- -array(2) { - [0]=> - string(5) "water" - [1]=> - string(5) "fruit" -} -int(16) -bool(false) -array(1) { - [0]=> - string(39) "This is line of text without csv fields" -} -int(56) -bool(false) - --- Testing fgetcsv() with file opened using a+b mode -- -array(2) { - [0]=> - string(5) "water" - [1]=> - string(5) "fruit" -} -int(16) -bool(false) -array(1) { - [0]=> - string(39) "This is line of text without csv fields" -} -int(56) -bool(false) - --- Testing fgetcsv() with file opened using a+t mode -- -array(2) { - [0]=> - string(5) "water" - [1]=> - string(5) "fruit" -} -int(16) -bool(false) -array(1) { - [0]=> - string(39) "This is line of text without csv fields" -} -int(56) -bool(false) - --- Testing fgetcsv() with file opened using w+ mode -- -array(2) { - [0]=> - string(5) "water" - [1]=> - string(5) "fruit" -} -int(16) -bool(false) -array(1) { - [0]=> - string(39) "This is line of text without csv fields" -} -int(56) -bool(false) - --- Testing fgetcsv() with file opened using w+b mode -- -array(2) { - [0]=> - string(5) "water" - [1]=> - string(5) "fruit" -} -int(16) -bool(false) -array(1) { - [0]=> - string(39) "This is line of text without csv fields" -} -int(56) -bool(false) - --- Testing fgetcsv() with file opened using w+t mode -- -array(2) { - [0]=> - string(5) "water" - [1]=> - string(5) "fruit" -} -int(16) -bool(false) -array(1) { - [0]=> - string(39) "This is line of text without csv fields" -} -int(56) -bool(false) - --- Testing fgetcsv() with file opened using x+ mode -- -array(2) { - [0]=> - string(5) "water" - [1]=> - string(5) "fruit" -} -int(16) -bool(false) -array(1) { - [0]=> - string(39) "This is line of text without csv fields" -} -int(56) -bool(false) - --- Testing fgetcsv() with file opened using x+b mode -- -array(2) { - [0]=> - string(5) "water" - [1]=> - string(5) "fruit" -} -int(16) -bool(false) -array(1) { - [0]=> - string(39) "This is line of text without csv fields" -} -int(56) -bool(false) - --- Testing fgetcsv() with file opened using x+t mode -- -array(2) { - [0]=> - string(5) "water" - [1]=> - string(5) "fruit" -} -int(16) -bool(false) -array(1) { - [0]=> - string(39) "This is line of text without csv fields" -} -int(56) -bool(false) - --- Testing fgetcsv() with file opened using r mode -- -array(2) { - [0]=> - string(5) "water" - [1]=> - string(5) "fruit" -} -int(16) -bool(false) -array(8) { - [0]=> - string(4) "This" - [1]=> - string(2) "is" - [2]=> - string(4) "line" - [3]=> - string(2) "of" - [4]=> - string(4) "text" - [5]=> - string(7) "without" - [6]=> - string(3) "csv" - [7]=> - string(6) "fields" -} -int(56) -bool(false) - --- Testing fgetcsv() with file opened using rb mode -- -array(2) { - [0]=> - string(5) "water" - [1]=> - string(5) "fruit" -} -int(16) -bool(false) -array(8) { - [0]=> - string(4) "This" - [1]=> - string(2) "is" - [2]=> - string(4) "line" - [3]=> - string(2) "of" - [4]=> - string(4) "text" - [5]=> - string(7) "without" - [6]=> - string(3) "csv" - [7]=> - string(6) "fields" -} -int(56) -bool(false) - --- Testing fgetcsv() with file opened using rt mode -- -array(2) { - [0]=> - string(5) "water" - [1]=> - string(5) "fruit" -} -int(16) -bool(false) -array(8) { - [0]=> - string(4) "This" - [1]=> - string(2) "is" - [2]=> - string(4) "line" - [3]=> - string(2) "of" - [4]=> - string(4) "text" - [5]=> - string(7) "without" - [6]=> - string(3) "csv" - [7]=> - string(6) "fields" -} -int(56) -bool(false) - --- Testing fgetcsv() with file opened using r+ mode -- -array(2) { - [0]=> - string(5) "water" - [1]=> - string(5) "fruit" -} -int(16) -bool(false) -array(8) { - [0]=> - string(4) "This" - [1]=> - string(2) "is" - [2]=> - string(4) "line" - [3]=> - string(2) "of" - [4]=> - string(4) "text" - [5]=> - string(7) "without" - [6]=> - string(3) "csv" - [7]=> - string(6) "fields" -} -int(56) -bool(false) - --- Testing fgetcsv() with file opened using r+b mode -- -array(2) { - [0]=> - string(5) "water" - [1]=> - string(5) "fruit" -} -int(16) -bool(false) -array(8) { - [0]=> - string(4) "This" - [1]=> - string(2) "is" - [2]=> - string(4) "line" - [3]=> - string(2) "of" - [4]=> - string(4) "text" - [5]=> - string(7) "without" - [6]=> - string(3) "csv" - [7]=> - string(6) "fields" -} -int(56) -bool(false) - --- Testing fgetcsv() with file opened using r+t mode -- -array(2) { - [0]=> - string(5) "water" - [1]=> - string(5) "fruit" -} -int(16) -bool(false) -array(8) { - [0]=> - string(4) "This" - [1]=> - string(2) "is" - [2]=> - string(4) "line" - [3]=> - string(2) "of" - [4]=> - string(4) "text" - [5]=> - string(7) "without" - [6]=> - string(3) "csv" - [7]=> - string(6) "fields" -} -int(56) -bool(false) - --- Testing fgetcsv() with file opened using a+ mode -- -array(2) { - [0]=> - string(5) "water" - [1]=> - string(5) "fruit" -} -int(16) -bool(false) -array(8) { - [0]=> - string(4) "This" - [1]=> - string(2) "is" - [2]=> - string(4) "line" - [3]=> - string(2) "of" - [4]=> - string(4) "text" - [5]=> - string(7) "without" - [6]=> - string(3) "csv" - [7]=> - string(6) "fields" -} -int(56) -bool(false) - --- Testing fgetcsv() with file opened using a+b mode -- -array(2) { - [0]=> - string(5) "water" - [1]=> - string(5) "fruit" -} -int(16) -bool(false) -array(8) { - [0]=> - string(4) "This" - [1]=> - string(2) "is" - [2]=> - string(4) "line" - [3]=> - string(2) "of" - [4]=> - string(4) "text" - [5]=> - string(7) "without" - [6]=> - string(3) "csv" - [7]=> - string(6) "fields" -} -int(56) -bool(false) - --- Testing fgetcsv() with file opened using a+t mode -- -array(2) { - [0]=> - string(5) "water" - [1]=> - string(5) "fruit" -} -int(16) -bool(false) -array(8) { - [0]=> - string(4) "This" - [1]=> - string(2) "is" - [2]=> - string(4) "line" - [3]=> - string(2) "of" - [4]=> - string(4) "text" - [5]=> - string(7) "without" - [6]=> - string(3) "csv" - [7]=> - string(6) "fields" -} -int(56) -bool(false) - --- Testing fgetcsv() with file opened using w+ mode -- -array(2) { - [0]=> - string(5) "water" - [1]=> - string(5) "fruit" -} -int(16) -bool(false) -array(8) { - [0]=> - string(4) "This" - [1]=> - string(2) "is" - [2]=> - string(4) "line" - [3]=> - string(2) "of" - [4]=> - string(4) "text" - [5]=> - string(7) "without" - [6]=> - string(3) "csv" - [7]=> - string(6) "fields" -} -int(56) -bool(false) - --- Testing fgetcsv() with file opened using w+b mode -- -array(2) { - [0]=> - string(5) "water" - [1]=> - string(5) "fruit" -} -int(16) -bool(false) -array(8) { - [0]=> - string(4) "This" - [1]=> - string(2) "is" - [2]=> - string(4) "line" - [3]=> - string(2) "of" - [4]=> - string(4) "text" - [5]=> - string(7) "without" - [6]=> - string(3) "csv" - [7]=> - string(6) "fields" -} -int(56) -bool(false) - --- Testing fgetcsv() with file opened using w+t mode -- -array(2) { - [0]=> - string(5) "water" - [1]=> - string(5) "fruit" -} -int(16) -bool(false) -array(8) { - [0]=> - string(4) "This" - [1]=> - string(2) "is" - [2]=> - string(4) "line" - [3]=> - string(2) "of" - [4]=> - string(4) "text" - [5]=> - string(7) "without" - [6]=> - string(3) "csv" - [7]=> - string(6) "fields" -} -int(56) -bool(false) - --- Testing fgetcsv() with file opened using x+ mode -- -array(2) { - [0]=> - string(5) "water" - [1]=> - string(5) "fruit" -} -int(16) -bool(false) -array(8) { - [0]=> - string(4) "This" - [1]=> - string(2) "is" - [2]=> - string(4) "line" - [3]=> - string(2) "of" - [4]=> - string(4) "text" - [5]=> - string(7) "without" - [6]=> - string(3) "csv" - [7]=> - string(6) "fields" -} -int(56) -bool(false) - --- Testing fgetcsv() with file opened using x+b mode -- -array(2) { - [0]=> - string(5) "water" - [1]=> - string(5) "fruit" -} -int(16) -bool(false) -array(8) { - [0]=> - string(4) "This" - [1]=> - string(2) "is" - [2]=> - string(4) "line" - [3]=> - string(2) "of" - [4]=> - string(4) "text" - [5]=> - string(7) "without" - [6]=> - string(3) "csv" - [7]=> - string(6) "fields" -} -int(56) -bool(false) - --- Testing fgetcsv() with file opened using x+t mode -- -array(2) { - [0]=> - string(5) "water" - [1]=> - string(5) "fruit" -} -int(16) -bool(false) -array(8) { - [0]=> - string(4) "This" - [1]=> - string(2) "is" - [2]=> - string(4) "line" - [3]=> - string(2) "of" - [4]=> - string(4) "text" - [5]=> - string(7) "without" - [6]=> - string(3) "csv" - [7]=> - string(6) "fields" -} -int(56) -bool(false) - --- Testing fgetcsv() with file opened using r mode -- -array(2) { - [0]=> - string(5) "water" - [1]=> - string(5) "fruit" -} -int(16) -bool(false) -array(1) { - [0]=> - string(39) "This is line of text without csv fields" -} -int(56) -bool(false) - --- Testing fgetcsv() with file opened using rb mode -- -array(2) { - [0]=> - string(5) "water" - [1]=> - string(5) "fruit" -} -int(16) -bool(false) -array(1) { - [0]=> - string(39) "This is line of text without csv fields" -} -int(56) -bool(false) - --- Testing fgetcsv() with file opened using rt mode -- -array(2) { - [0]=> - string(5) "water" - [1]=> - string(5) "fruit" -} -int(16) -bool(false) -array(1) { - [0]=> - string(39) "This is line of text without csv fields" -} -int(56) -bool(false) - --- Testing fgetcsv() with file opened using r+ mode -- -array(2) { - [0]=> - string(5) "water" - [1]=> - string(5) "fruit" -} -int(16) -bool(false) -array(1) { - [0]=> - string(39) "This is line of text without csv fields" -} -int(56) -bool(false) - --- Testing fgetcsv() with file opened using r+b mode -- -array(2) { - [0]=> - string(5) "water" - [1]=> - string(5) "fruit" -} -int(16) -bool(false) -array(1) { - [0]=> - string(39) "This is line of text without csv fields" -} -int(56) -bool(false) - --- Testing fgetcsv() with file opened using r+t mode -- -array(2) { - [0]=> - string(5) "water" - [1]=> - string(5) "fruit" -} -int(16) -bool(false) -array(1) { - [0]=> - string(39) "This is line of text without csv fields" -} -int(56) -bool(false) - --- Testing fgetcsv() with file opened using a+ mode -- -array(2) { - [0]=> - string(5) "water" - [1]=> - string(5) "fruit" -} -int(16) -bool(false) -array(1) { - [0]=> - string(39) "This is line of text without csv fields" -} -int(56) -bool(false) - --- Testing fgetcsv() with file opened using a+b mode -- -array(2) { - [0]=> - string(5) "water" - [1]=> - string(5) "fruit" -} -int(16) -bool(false) -array(1) { - [0]=> - string(39) "This is line of text without csv fields" -} -int(56) -bool(false) - --- Testing fgetcsv() with file opened using a+t mode -- -array(2) { - [0]=> - string(5) "water" - [1]=> - string(5) "fruit" -} -int(16) -bool(false) -array(1) { - [0]=> - string(39) "This is line of text without csv fields" -} -int(56) -bool(false) - --- Testing fgetcsv() with file opened using w+ mode -- -array(2) { - [0]=> - string(5) "water" - [1]=> - string(5) "fruit" -} -int(16) -bool(false) -array(1) { - [0]=> - string(39) "This is line of text without csv fields" -} -int(56) -bool(false) - --- Testing fgetcsv() with file opened using w+b mode -- -array(2) { - [0]=> - string(5) "water" - [1]=> - string(5) "fruit" -} -int(16) -bool(false) -array(1) { - [0]=> - string(39) "This is line of text without csv fields" -} -int(56) -bool(false) - --- Testing fgetcsv() with file opened using w+t mode -- -array(2) { - [0]=> - string(5) "water" - [1]=> - string(5) "fruit" -} -int(16) -bool(false) -array(1) { - [0]=> - string(39) "This is line of text without csv fields" -} -int(56) -bool(false) - --- Testing fgetcsv() with file opened using x+ mode -- -array(2) { - [0]=> - string(5) "water" - [1]=> - string(5) "fruit" -} -int(16) -bool(false) -array(1) { - [0]=> - string(39) "This is line of text without csv fields" -} -int(56) -bool(false) - --- Testing fgetcsv() with file opened using x+b mode -- -array(2) { - [0]=> - string(5) "water" - [1]=> - string(5) "fruit" -} -int(16) -bool(false) -array(1) { - [0]=> - string(39) "This is line of text without csv fields" -} -int(56) -bool(false) - --- Testing fgetcsv() with file opened using x+t mode -- -array(2) { - [0]=> - string(5) "water" - [1]=> - string(5) "fruit" -} -int(16) -bool(false) -array(1) { - [0]=> - string(39) "This is line of text without csv fields" -} -int(56) -bool(false) - --- Testing fgetcsv() with file opened using r mode -- -array(1) { - [0]=> - string(6) "water=" -} -int(9) -bool(false) -array(2) { - [0]=> - string(5) "fruit" - [1]=> - string(0) "" -} -int(16) -bool(false) - --- Testing fgetcsv() with file opened using rb mode -- -array(1) { - [0]=> - string(6) "water=" -} -int(9) -bool(false) -array(2) { - [0]=> - string(5) "fruit" - [1]=> - string(0) "" -} -int(16) -bool(false) - --- Testing fgetcsv() with file opened using rt mode -- -array(1) { - [0]=> - string(6) "water=" -} -int(9) -bool(false) -array(2) { - [0]=> - string(5) "fruit" - [1]=> - string(0) "" -} -int(16) -bool(false) - --- Testing fgetcsv() with file opened using r+ mode -- -array(1) { - [0]=> - string(6) "water=" -} -int(9) -bool(false) -array(2) { - [0]=> - string(5) "fruit" - [1]=> - string(0) "" -} -int(16) -bool(false) - --- Testing fgetcsv() with file opened using r+b mode -- -array(1) { - [0]=> - string(6) "water=" -} -int(9) -bool(false) -array(2) { - [0]=> - string(5) "fruit" - [1]=> - string(0) "" -} -int(16) -bool(false) - --- Testing fgetcsv() with file opened using r+t mode -- -array(1) { - [0]=> - string(6) "water=" -} -int(9) -bool(false) -array(2) { - [0]=> - string(5) "fruit" - [1]=> - string(0) "" -} -int(16) -bool(false) - --- Testing fgetcsv() with file opened using a+ mode -- -array(1) { - [0]=> - string(6) "water=" -} -int(9) -bool(false) -array(2) { - [0]=> - string(5) "fruit" - [1]=> - string(0) "" -} -int(16) -bool(false) - --- Testing fgetcsv() with file opened using a+b mode -- -array(1) { - [0]=> - string(6) "water=" -} -int(9) -bool(false) -array(2) { - [0]=> - string(5) "fruit" - [1]=> - string(0) "" -} -int(16) -bool(false) - --- Testing fgetcsv() with file opened using a+t mode -- -array(1) { - [0]=> - string(6) "water=" -} -int(9) -bool(false) -array(2) { - [0]=> - string(5) "fruit" - [1]=> - string(0) "" -} -int(16) -bool(false) - --- Testing fgetcsv() with file opened using w+ mode -- -array(1) { - [0]=> - string(6) "water=" -} -int(9) -bool(false) -array(2) { - [0]=> - string(5) "fruit" - [1]=> - string(0) "" -} -int(16) -bool(false) - --- Testing fgetcsv() with file opened using w+b mode -- -array(1) { - [0]=> - string(6) "water=" -} -int(9) -bool(false) -array(2) { - [0]=> - string(5) "fruit" - [1]=> - string(0) "" -} -int(16) -bool(false) - --- Testing fgetcsv() with file opened using w+t mode -- -array(1) { - [0]=> - string(6) "water=" -} -int(9) -bool(false) -array(2) { - [0]=> - string(5) "fruit" - [1]=> - string(0) "" -} -int(16) -bool(false) - --- Testing fgetcsv() with file opened using x+ mode -- -array(1) { - [0]=> - string(6) "water=" -} -int(9) -bool(false) -array(2) { - [0]=> - string(5) "fruit" - [1]=> - string(0) "" -} -int(16) -bool(false) - --- Testing fgetcsv() with file opened using x+b mode -- -array(1) { - [0]=> - string(6) "water=" -} -int(9) -bool(false) -array(2) { - [0]=> - string(5) "fruit" - [1]=> - string(0) "" -} -int(16) -bool(false) - --- Testing fgetcsv() with file opened using x+t mode -- -array(1) { - [0]=> - string(6) "water=" -} -int(9) -bool(false) -array(2) { - [0]=> - string(5) "fruit" - [1]=> - string(0) "" -} -int(16) -bool(false) - --- Testing fgetcsv() with file opened using r mode -- -array(1) { - [0]=> - string(14) "water-fruitair" -} -int(18) -bool(false) -array(1) { - [0]=> - string(39) "This is line of text without csv fields" -} -int(58) -bool(false) - --- Testing fgetcsv() with file opened using rb mode -- -array(1) { - [0]=> - string(14) "water-fruitair" -} -int(18) -bool(false) -array(1) { - [0]=> - string(39) "This is line of text without csv fields" -} -int(58) -bool(false) - --- Testing fgetcsv() with file opened using rt mode -- -array(1) { - [0]=> - string(14) "water-fruitair" -} -int(18) -bool(false) -array(1) { - [0]=> - string(39) "This is line of text without csv fields" -} -int(58) -bool(false) - --- Testing fgetcsv() with file opened using r+ mode -- -array(1) { - [0]=> - string(14) "water-fruitair" -} -int(18) -bool(false) -array(1) { - [0]=> - string(39) "This is line of text without csv fields" -} -int(58) -bool(false) - --- Testing fgetcsv() with file opened using r+b mode -- -array(1) { - [0]=> - string(14) "water-fruitair" -} -int(18) -bool(false) -array(1) { - [0]=> - string(39) "This is line of text without csv fields" -} -int(58) -bool(false) - --- Testing fgetcsv() with file opened using r+t mode -- -array(1) { - [0]=> - string(14) "water-fruitair" -} -int(18) -bool(false) -array(1) { - [0]=> - string(39) "This is line of text without csv fields" -} -int(58) -bool(false) - --- Testing fgetcsv() with file opened using a+ mode -- -array(1) { - [0]=> - string(14) "water-fruitair" -} -int(18) -bool(false) -array(1) { - [0]=> - string(39) "This is line of text without csv fields" -} -int(58) -bool(false) - --- Testing fgetcsv() with file opened using a+b mode -- -array(1) { - [0]=> - string(14) "water-fruitair" -} -int(18) -bool(false) -array(1) { - [0]=> - string(39) "This is line of text without csv fields" -} -int(58) -bool(false) - --- Testing fgetcsv() with file opened using a+t mode -- -array(1) { - [0]=> - string(14) "water-fruitair" -} -int(18) -bool(false) -array(1) { - [0]=> - string(39) "This is line of text without csv fields" -} -int(58) -bool(false) - --- Testing fgetcsv() with file opened using w+ mode -- -array(1) { - [0]=> - string(14) "water-fruitair" -} -int(18) -bool(false) -array(1) { - [0]=> - string(39) "This is line of text without csv fields" -} -int(58) -bool(false) - --- Testing fgetcsv() with file opened using w+b mode -- -array(1) { - [0]=> - string(14) "water-fruitair" -} -int(18) -bool(false) -array(1) { - [0]=> - string(39) "This is line of text without csv fields" -} -int(58) -bool(false) - --- Testing fgetcsv() with file opened using w+t mode -- -array(1) { - [0]=> - string(14) "water-fruitair" -} -int(18) -bool(false) -array(1) { - [0]=> - string(39) "This is line of text without csv fields" -} -int(58) -bool(false) - --- Testing fgetcsv() with file opened using x+ mode -- -array(1) { - [0]=> - string(14) "water-fruitair" -} -int(18) -bool(false) -array(1) { - [0]=> - string(39) "This is line of text without csv fields" -} -int(58) -bool(false) - --- Testing fgetcsv() with file opened using x+b mode -- -array(1) { - [0]=> - string(14) "water-fruitair" -} -int(18) -bool(false) -array(1) { - [0]=> - string(39) "This is line of text without csv fields" -} -int(58) -bool(false) - --- Testing fgetcsv() with file opened using x+t mode -- -array(1) { - [0]=> - string(14) "water-fruitair" -} -int(18) -bool(false) -array(1) { - [0]=> - string(39) "This is line of text without csv fields" -} -int(58) -bool(false) - --- Testing fgetcsv() with file opened using r mode -- -array(1) { - [0]=> - string(6) "water-" -} -int(9) -bool(false) -array(3) { - [0]=> - string(5) "fruit" - [1]=> - string(3) "air" - [2]=> - string(0) "" -} -int(22) -bool(false) - --- Testing fgetcsv() with file opened using rb mode -- -array(1) { - [0]=> - string(6) "water-" -} -int(9) -bool(false) -array(3) { - [0]=> - string(5) "fruit" - [1]=> - string(3) "air" - [2]=> - string(0) "" -} -int(22) -bool(false) - --- Testing fgetcsv() with file opened using rt mode -- -array(1) { - [0]=> - string(6) "water-" -} -int(9) -bool(false) -array(3) { - [0]=> - string(5) "fruit" - [1]=> - string(3) "air" - [2]=> - string(0) "" -} -int(22) -bool(false) - --- Testing fgetcsv() with file opened using r+ mode -- -array(1) { - [0]=> - string(6) "water-" -} -int(9) -bool(false) -array(3) { - [0]=> - string(5) "fruit" - [1]=> - string(3) "air" - [2]=> - string(0) "" -} -int(22) -bool(false) - --- Testing fgetcsv() with file opened using r+b mode -- -array(1) { - [0]=> - string(6) "water-" -} -int(9) -bool(false) -array(3) { - [0]=> - string(5) "fruit" - [1]=> - string(3) "air" - [2]=> - string(0) "" -} -int(22) -bool(false) - --- Testing fgetcsv() with file opened using r+t mode -- -array(1) { - [0]=> - string(6) "water-" -} -int(9) -bool(false) -array(3) { - [0]=> - string(5) "fruit" - [1]=> - string(3) "air" - [2]=> - string(0) "" -} -int(22) -bool(false) - --- Testing fgetcsv() with file opened using a+ mode -- -array(1) { - [0]=> - string(6) "water-" -} -int(9) -bool(false) -array(3) { - [0]=> - string(5) "fruit" - [1]=> - string(3) "air" - [2]=> - string(0) "" -} -int(22) -bool(false) - --- Testing fgetcsv() with file opened using a+b mode -- -array(1) { - [0]=> - string(6) "water-" -} -int(9) -bool(false) -array(3) { - [0]=> - string(5) "fruit" - [1]=> - string(3) "air" - [2]=> - string(0) "" -} -int(22) -bool(false) - --- Testing fgetcsv() with file opened using a+t mode -- -array(1) { - [0]=> - string(6) "water-" -} -int(9) -bool(false) -array(3) { - [0]=> - string(5) "fruit" - [1]=> - string(3) "air" - [2]=> - string(0) "" -} -int(22) -bool(false) - --- Testing fgetcsv() with file opened using w+ mode -- -array(1) { - [0]=> - string(6) "water-" -} -int(9) -bool(false) -array(3) { - [0]=> - string(5) "fruit" - [1]=> - string(3) "air" - [2]=> - string(0) "" -} -int(22) -bool(false) - --- Testing fgetcsv() with file opened using w+b mode -- -array(1) { - [0]=> - string(6) "water-" -} -int(9) -bool(false) -array(3) { - [0]=> - string(5) "fruit" - [1]=> - string(3) "air" - [2]=> - string(0) "" -} -int(22) -bool(false) - --- Testing fgetcsv() with file opened using w+t mode -- -array(1) { - [0]=> - string(6) "water-" -} -int(9) -bool(false) -array(3) { - [0]=> - string(5) "fruit" - [1]=> - string(3) "air" - [2]=> - string(0) "" -} -int(22) -bool(false) - --- Testing fgetcsv() with file opened using x+ mode -- -array(1) { - [0]=> - string(6) "water-" -} -int(9) -bool(false) -array(3) { - [0]=> - string(5) "fruit" - [1]=> - string(3) "air" - [2]=> - string(0) "" -} -int(22) -bool(false) - --- Testing fgetcsv() with file opened using x+b mode -- -array(1) { - [0]=> - string(6) "water-" -} -int(9) -bool(false) -array(3) { - [0]=> - string(5) "fruit" - [1]=> - string(3) "air" - [2]=> - string(0) "" -} -int(22) -bool(false) - --- Testing fgetcsv() with file opened using x+t mode -- -array(1) { - [0]=> - string(6) "water-" -} -int(9) -bool(false) -array(3) { - [0]=> - string(5) "fruit" - [1]=> - string(3) "air" - [2]=> - string(0) "" -} -int(22) -bool(false) - --- Testing fgetcsv() with file opened using r mode -- -array(6) { - [0]=> - string(4) """""" - [1]=> - string(1) """ - [2]=> - string(1) "," - [3]=> - string(1) """ - [4]=> - string(1) "," - [5]=> - string(4) ",,,," -} -int(24) -bool(false) -array(1) { - [0]=> - string(39) "This is line of text without csv fields" -} -int(64) -bool(false) - --- Testing fgetcsv() with file opened using rb mode -- -array(6) { - [0]=> - string(4) """""" - [1]=> - string(1) """ - [2]=> - string(1) "," - [3]=> - string(1) """ - [4]=> - string(1) "," - [5]=> - string(4) ",,,," -} -int(24) -bool(false) -array(1) { - [0]=> - string(39) "This is line of text without csv fields" -} -int(64) -bool(false) - --- Testing fgetcsv() with file opened using rt mode -- -array(6) { - [0]=> - string(4) """""" - [1]=> - string(1) """ - [2]=> - string(1) "," - [3]=> - string(1) """ - [4]=> - string(1) "," - [5]=> - string(4) ",,,," -} -int(24) -bool(false) -array(1) { - [0]=> - string(39) "This is line of text without csv fields" -} -int(64) -bool(false) - --- Testing fgetcsv() with file opened using r+ mode -- -array(6) { - [0]=> - string(4) """""" - [1]=> - string(1) """ - [2]=> - string(1) "," - [3]=> - string(1) """ - [4]=> - string(1) "," - [5]=> - string(4) ",,,," -} -int(24) -bool(false) -array(1) { - [0]=> - string(39) "This is line of text without csv fields" -} -int(64) -bool(false) - --- Testing fgetcsv() with file opened using r+b mode -- -array(6) { - [0]=> - string(4) """""" - [1]=> - string(1) """ - [2]=> - string(1) "," - [3]=> - string(1) """ - [4]=> - string(1) "," - [5]=> - string(4) ",,,," -} -int(24) -bool(false) -array(1) { - [0]=> - string(39) "This is line of text without csv fields" -} -int(64) -bool(false) - --- Testing fgetcsv() with file opened using r+t mode -- -array(6) { - [0]=> - string(4) """""" - [1]=> - string(1) """ - [2]=> - string(1) "," - [3]=> - string(1) """ - [4]=> - string(1) "," - [5]=> - string(4) ",,,," -} -int(24) -bool(false) -array(1) { - [0]=> - string(39) "This is line of text without csv fields" -} -int(64) -bool(false) - --- Testing fgetcsv() with file opened using a+ mode -- -array(6) { - [0]=> - string(4) """""" - [1]=> - string(1) """ - [2]=> - string(1) "," - [3]=> - string(1) """ - [4]=> - string(1) "," - [5]=> - string(4) ",,,," -} -int(24) -bool(false) -array(1) { - [0]=> - string(39) "This is line of text without csv fields" -} -int(64) -bool(false) - --- Testing fgetcsv() with file opened using a+b mode -- -array(6) { - [0]=> - string(4) """""" - [1]=> - string(1) """ - [2]=> - string(1) "," - [3]=> - string(1) """ - [4]=> - string(1) "," - [5]=> - string(4) ",,,," -} -int(24) -bool(false) -array(1) { - [0]=> - string(39) "This is line of text without csv fields" -} -int(64) -bool(false) - --- Testing fgetcsv() with file opened using a+t mode -- -array(6) { - [0]=> - string(4) """""" - [1]=> - string(1) """ - [2]=> - string(1) "," - [3]=> - string(1) """ - [4]=> - string(1) "," - [5]=> - string(4) ",,,," -} -int(24) -bool(false) -array(1) { - [0]=> - string(39) "This is line of text without csv fields" -} -int(64) -bool(false) - --- Testing fgetcsv() with file opened using w+ mode -- -array(6) { - [0]=> - string(4) """""" - [1]=> - string(1) """ - [2]=> - string(1) "," - [3]=> - string(1) """ - [4]=> - string(1) "," - [5]=> - string(4) ",,,," -} -int(24) -bool(false) -array(1) { - [0]=> - string(39) "This is line of text without csv fields" -} -int(64) -bool(false) - --- Testing fgetcsv() with file opened using w+b mode -- -array(6) { - [0]=> - string(4) """""" - [1]=> - string(1) """ - [2]=> - string(1) "," - [3]=> - string(1) """ - [4]=> - string(1) "," - [5]=> - string(4) ",,,," -} -int(24) -bool(false) -array(1) { - [0]=> - string(39) "This is line of text without csv fields" -} -int(64) -bool(false) - --- Testing fgetcsv() with file opened using w+t mode -- -array(6) { - [0]=> - string(4) """""" - [1]=> - string(1) """ - [2]=> - string(1) "," - [3]=> - string(1) """ - [4]=> - string(1) "," - [5]=> - string(4) ",,,," -} -int(24) -bool(false) -array(1) { - [0]=> - string(39) "This is line of text without csv fields" -} -int(64) -bool(false) - --- Testing fgetcsv() with file opened using x+ mode -- -array(6) { - [0]=> - string(4) """""" - [1]=> - string(1) """ - [2]=> - string(1) "," - [3]=> - string(1) """ - [4]=> - string(1) "," - [5]=> - string(4) ",,,," -} -int(24) -bool(false) -array(1) { - [0]=> - string(39) "This is line of text without csv fields" -} -int(64) -bool(false) - --- Testing fgetcsv() with file opened using x+b mode -- -array(6) { - [0]=> - string(4) """""" - [1]=> - string(1) """ - [2]=> - string(1) "," - [3]=> - string(1) """ - [4]=> - string(1) "," - [5]=> - string(4) ",,,," -} -int(24) -bool(false) -array(1) { - [0]=> - string(39) "This is line of text without csv fields" -} -int(64) -bool(false) - --- Testing fgetcsv() with file opened using x+t mode -- -array(6) { - [0]=> - string(4) """""" - [1]=> - string(1) """ - [2]=> - string(1) "," - [3]=> - string(1) """ - [4]=> - string(1) "," - [5]=> - string(4) ",,,," -} -int(24) -bool(false) -array(1) { - [0]=> - string(39) "This is line of text without csv fields" -} -int(64) -bool(false) -Done diff --git a/ext/standard/tests/file/fgetcsv_variation7.phpt b/ext/standard/tests/file/fgetcsv_variation7.phpt index 3aed2e4df8..d4cff2ef77 100644 --- a/ext/standard/tests/file/fgetcsv_variation7.phpt +++ b/ext/standard/tests/file/fgetcsv_variation7.phpt @@ -110,1210 +110,6 @@ array(2) { int(14) bool(true) --- Testing fgetcsv() with file opened using rt mode -- -array(2) { - [0]=> - string(5) "water" - [1]=> - string(5) "fruit" -} -int(14) -bool(true) - --- Testing fgetcsv() with file opened using r+ mode -- -array(2) { - [0]=> - string(5) "water" - [1]=> - string(5) "fruit" -} -int(14) -bool(true) - --- Testing fgetcsv() with file opened using r+b mode -- -array(2) { - [0]=> - string(5) "water" - [1]=> - string(5) "fruit" -} -int(14) -bool(true) - --- Testing fgetcsv() with file opened using r+t mode -- -array(2) { - [0]=> - string(5) "water" - [1]=> - string(5) "fruit" -} -int(14) -bool(true) - --- Testing fgetcsv() with file opened using a+ mode -- -array(2) { - [0]=> - string(5) "water" - [1]=> - string(5) "fruit" -} -int(14) -bool(true) - --- Testing fgetcsv() with file opened using a+b mode -- -array(2) { - [0]=> - string(5) "water" - [1]=> - string(5) "fruit" -} -int(14) -bool(true) - --- Testing fgetcsv() with file opened using a+t mode -- -array(2) { - [0]=> - string(5) "water" - [1]=> - string(5) "fruit" -} -int(14) -bool(true) - --- Testing fgetcsv() with file opened using w+ mode -- -array(2) { - [0]=> - string(5) "water" - [1]=> - string(5) "fruit" -} -int(14) -bool(true) - --- Testing fgetcsv() with file opened using w+b mode -- -array(2) { - [0]=> - string(5) "water" - [1]=> - string(5) "fruit" -} -int(14) -bool(true) - --- Testing fgetcsv() with file opened using w+t mode -- -array(2) { - [0]=> - string(5) "water" - [1]=> - string(5) "fruit" -} -int(14) -bool(true) - --- Testing fgetcsv() with file opened using x+ mode -- -array(2) { - [0]=> - string(5) "water" - [1]=> - string(5) "fruit" -} -int(14) -bool(true) - --- Testing fgetcsv() with file opened using x+b mode -- -array(2) { - [0]=> - string(5) "water" - [1]=> - string(5) "fruit" -} -int(14) -bool(true) - --- Testing fgetcsv() with file opened using x+t mode -- -array(2) { - [0]=> - string(5) "water" - [1]=> - string(5) "fruit" -} -int(14) -bool(true) - --- Testing fgetcsv() with file opened using r mode -- -array(2) { - [0]=> - string(5) "water" - [1]=> - string(5) "fruit" -} -int(16) -bool(true) - --- Testing fgetcsv() with file opened using rb mode -- -array(2) { - [0]=> - string(5) "water" - [1]=> - string(5) "fruit" -} -int(16) -bool(true) - --- Testing fgetcsv() with file opened using rt mode -- -array(2) { - [0]=> - string(5) "water" - [1]=> - string(5) "fruit" -} -int(16) -bool(true) - --- Testing fgetcsv() with file opened using r+ mode -- -array(2) { - [0]=> - string(5) "water" - [1]=> - string(5) "fruit" -} -int(16) -bool(true) - --- Testing fgetcsv() with file opened using r+b mode -- -array(2) { - [0]=> - string(5) "water" - [1]=> - string(5) "fruit" -} -int(16) -bool(true) - --- Testing fgetcsv() with file opened using r+t mode -- -array(2) { - [0]=> - string(5) "water" - [1]=> - string(5) "fruit" -} -int(16) -bool(true) - --- Testing fgetcsv() with file opened using a+ mode -- -array(2) { - [0]=> - string(5) "water" - [1]=> - string(5) "fruit" -} -int(16) -bool(true) - --- Testing fgetcsv() with file opened using a+b mode -- -array(2) { - [0]=> - string(5) "water" - [1]=> - string(5) "fruit" -} -int(16) -bool(true) - --- Testing fgetcsv() with file opened using a+t mode -- -array(2) { - [0]=> - string(5) "water" - [1]=> - string(5) "fruit" -} -int(16) -bool(true) - --- Testing fgetcsv() with file opened using w+ mode -- -array(2) { - [0]=> - string(5) "water" - [1]=> - string(5) "fruit" -} -int(16) -bool(true) - --- Testing fgetcsv() with file opened using w+b mode -- -array(2) { - [0]=> - string(5) "water" - [1]=> - string(5) "fruit" -} -int(16) -bool(true) - --- Testing fgetcsv() with file opened using w+t mode -- -array(2) { - [0]=> - string(5) "water" - [1]=> - string(5) "fruit" -} -int(16) -bool(true) - --- Testing fgetcsv() with file opened using x+ mode -- -array(2) { - [0]=> - string(5) "water" - [1]=> - string(5) "fruit" -} -int(16) -bool(true) - --- Testing fgetcsv() with file opened using x+b mode -- -array(2) { - [0]=> - string(5) "water" - [1]=> - string(5) "fruit" -} -int(16) -bool(true) - --- Testing fgetcsv() with file opened using x+t mode -- -array(2) { - [0]=> - string(5) "water" - [1]=> - string(5) "fruit" -} -int(16) -bool(true) - --- Testing fgetcsv() with file opened using r mode -- -array(1) { - [0]=> - string(15) "^water^ ^fruit^" -} -int(16) -bool(true) - --- Testing fgetcsv() with file opened using rb mode -- -array(1) { - [0]=> - string(15) "^water^ ^fruit^" -} -int(16) -bool(true) - --- Testing fgetcsv() with file opened using rt mode -- -array(1) { - [0]=> - string(15) "^water^ ^fruit^" -} -int(16) -bool(true) - --- Testing fgetcsv() with file opened using r+ mode -- -array(1) { - [0]=> - string(15) "^water^ ^fruit^" -} -int(16) -bool(true) - --- Testing fgetcsv() with file opened using r+b mode -- -array(1) { - [0]=> - string(15) "^water^ ^fruit^" -} -int(16) -bool(true) - --- Testing fgetcsv() with file opened using r+t mode -- -array(1) { - [0]=> - string(15) "^water^ ^fruit^" -} -int(16) -bool(true) - --- Testing fgetcsv() with file opened using a+ mode -- -array(1) { - [0]=> - string(15) "^water^ ^fruit^" -} -int(16) -bool(true) - --- Testing fgetcsv() with file opened using a+b mode -- -array(1) { - [0]=> - string(15) "^water^ ^fruit^" -} -int(16) -bool(true) - --- Testing fgetcsv() with file opened using a+t mode -- -array(1) { - [0]=> - string(15) "^water^ ^fruit^" -} -int(16) -bool(true) - --- Testing fgetcsv() with file opened using w+ mode -- -array(1) { - [0]=> - string(15) "^water^ ^fruit^" -} -int(16) -bool(true) - --- Testing fgetcsv() with file opened using w+b mode -- -array(1) { - [0]=> - string(15) "^water^ ^fruit^" -} -int(16) -bool(true) - --- Testing fgetcsv() with file opened using w+t mode -- -array(1) { - [0]=> - string(15) "^water^ ^fruit^" -} -int(16) -bool(true) - --- Testing fgetcsv() with file opened using x+ mode -- -array(1) { - [0]=> - string(15) "^water^ ^fruit^" -} -int(16) -bool(true) - --- Testing fgetcsv() with file opened using x+b mode -- -array(1) { - [0]=> - string(15) "^water^ ^fruit^" -} -int(16) -bool(true) - --- Testing fgetcsv() with file opened using x+t mode -- -array(1) { - [0]=> - string(15) "^water^ ^fruit^" -} -int(16) -bool(true) - --- Testing fgetcsv() with file opened using r mode -- -array(1) { - [0]=> - string(15) "&water&:&fruit&" -} -int(16) -bool(true) - --- Testing fgetcsv() with file opened using rb mode -- -array(1) { - [0]=> - string(15) "&water&:&fruit&" -} -int(16) -bool(true) - --- Testing fgetcsv() with file opened using rt mode -- -array(1) { - [0]=> - string(15) "&water&:&fruit&" -} -int(16) -bool(true) - --- Testing fgetcsv() with file opened using r+ mode -- -array(1) { - [0]=> - string(15) "&water&:&fruit&" -} -int(16) -bool(true) - --- Testing fgetcsv() with file opened using r+b mode -- -array(1) { - [0]=> - string(15) "&water&:&fruit&" -} -int(16) -bool(true) - --- Testing fgetcsv() with file opened using r+t mode -- -array(1) { - [0]=> - string(15) "&water&:&fruit&" -} -int(16) -bool(true) - --- Testing fgetcsv() with file opened using a+ mode -- -array(1) { - [0]=> - string(15) "&water&:&fruit&" -} -int(16) -bool(true) - --- Testing fgetcsv() with file opened using a+b mode -- -array(1) { - [0]=> - string(15) "&water&:&fruit&" -} -int(16) -bool(true) - --- Testing fgetcsv() with file opened using a+t mode -- -array(1) { - [0]=> - string(15) "&water&:&fruit&" -} -int(16) -bool(true) - --- Testing fgetcsv() with file opened using w+ mode -- -array(1) { - [0]=> - string(15) "&water&:&fruit&" -} -int(16) -bool(true) - --- Testing fgetcsv() with file opened using w+b mode -- -array(1) { - [0]=> - string(15) "&water&:&fruit&" -} -int(16) -bool(true) - --- Testing fgetcsv() with file opened using w+t mode -- -array(1) { - [0]=> - string(15) "&water&:&fruit&" -} -int(16) -bool(true) - --- Testing fgetcsv() with file opened using x+ mode -- -array(1) { - [0]=> - string(15) "&water&:&fruit&" -} -int(16) -bool(true) - --- Testing fgetcsv() with file opened using x+b mode -- -array(1) { - [0]=> - string(15) "&water&:&fruit&" -} -int(16) -bool(true) - --- Testing fgetcsv() with file opened using x+t mode -- -array(1) { - [0]=> - string(15) "&water&:&fruit&" -} -int(16) -bool(true) - --- Testing fgetcsv() with file opened using r mode -- -array(1) { - [0]=> - string(15) "=water===fruit=" -} -int(16) -bool(true) - --- Testing fgetcsv() with file opened using rb mode -- -array(1) { - [0]=> - string(15) "=water===fruit=" -} -int(16) -bool(true) - --- Testing fgetcsv() with file opened using rt mode -- -array(1) { - [0]=> - string(15) "=water===fruit=" -} -int(16) -bool(true) - --- Testing fgetcsv() with file opened using r+ mode -- -array(1) { - [0]=> - string(15) "=water===fruit=" -} -int(16) -bool(true) - --- Testing fgetcsv() with file opened using r+b mode -- -array(1) { - [0]=> - string(15) "=water===fruit=" -} -int(16) -bool(true) - --- Testing fgetcsv() with file opened using r+t mode -- -array(1) { - [0]=> - string(15) "=water===fruit=" -} -int(16) -bool(true) - --- Testing fgetcsv() with file opened using a+ mode -- -array(1) { - [0]=> - string(15) "=water===fruit=" -} -int(16) -bool(true) - --- Testing fgetcsv() with file opened using a+b mode -- -array(1) { - [0]=> - string(15) "=water===fruit=" -} -int(16) -bool(true) - --- Testing fgetcsv() with file opened using a+t mode -- -array(1) { - [0]=> - string(15) "=water===fruit=" -} -int(16) -bool(true) - --- Testing fgetcsv() with file opened using w+ mode -- -array(1) { - [0]=> - string(15) "=water===fruit=" -} -int(16) -bool(true) - --- Testing fgetcsv() with file opened using w+b mode -- -array(1) { - [0]=> - string(15) "=water===fruit=" -} -int(16) -bool(true) - --- Testing fgetcsv() with file opened using w+t mode -- -array(1) { - [0]=> - string(15) "=water===fruit=" -} -int(16) -bool(true) - --- Testing fgetcsv() with file opened using x+ mode -- -array(1) { - [0]=> - string(15) "=water===fruit=" -} -int(16) -bool(true) - --- Testing fgetcsv() with file opened using x+b mode -- -array(1) { - [0]=> - string(15) "=water===fruit=" -} -int(16) -bool(true) - --- Testing fgetcsv() with file opened using x+t mode -- -array(1) { - [0]=> - string(15) "=water===fruit=" -} -int(16) -bool(true) - --- Testing fgetcsv() with file opened using r mode -- -array(1) { - [0]=> - string(17) "-water--fruit-air" -} -int(18) -bool(true) - --- Testing fgetcsv() with file opened using rb mode -- -array(1) { - [0]=> - string(17) "-water--fruit-air" -} -int(18) -bool(true) - --- Testing fgetcsv() with file opened using rt mode -- -array(1) { - [0]=> - string(17) "-water--fruit-air" -} -int(18) -bool(true) - --- Testing fgetcsv() with file opened using r+ mode -- -array(1) { - [0]=> - string(17) "-water--fruit-air" -} -int(18) -bool(true) - --- Testing fgetcsv() with file opened using r+b mode -- -array(1) { - [0]=> - string(17) "-water--fruit-air" -} -int(18) -bool(true) - --- Testing fgetcsv() with file opened using r+t mode -- -array(1) { - [0]=> - string(17) "-water--fruit-air" -} -int(18) -bool(true) - --- Testing fgetcsv() with file opened using a+ mode -- -array(1) { - [0]=> - string(17) "-water--fruit-air" -} -int(18) -bool(true) - --- Testing fgetcsv() with file opened using a+b mode -- -array(1) { - [0]=> - string(17) "-water--fruit-air" -} -int(18) -bool(true) - --- Testing fgetcsv() with file opened using a+t mode -- -array(1) { - [0]=> - string(17) "-water--fruit-air" -} -int(18) -bool(true) - --- Testing fgetcsv() with file opened using w+ mode -- -array(1) { - [0]=> - string(17) "-water--fruit-air" -} -int(18) -bool(true) - --- Testing fgetcsv() with file opened using w+b mode -- -array(1) { - [0]=> - string(17) "-water--fruit-air" -} -int(18) -bool(true) - --- Testing fgetcsv() with file opened using w+t mode -- -array(1) { - [0]=> - string(17) "-water--fruit-air" -} -int(18) -bool(true) - --- Testing fgetcsv() with file opened using x+ mode -- -array(1) { - [0]=> - string(17) "-water--fruit-air" -} -int(18) -bool(true) - --- Testing fgetcsv() with file opened using x+b mode -- -array(1) { - [0]=> - string(17) "-water--fruit-air" -} -int(18) -bool(true) - --- Testing fgetcsv() with file opened using x+t mode -- -array(1) { - [0]=> - string(17) "-water--fruit-air" -} -int(18) -bool(true) - --- Testing fgetcsv() with file opened using r mode -- -array(1) { - [0]=> - string(21) "-water---fruit---air-" -} -int(22) -bool(true) - --- Testing fgetcsv() with file opened using rb mode -- -array(1) { - [0]=> - string(21) "-water---fruit---air-" -} -int(22) -bool(true) - --- Testing fgetcsv() with file opened using rt mode -- -array(1) { - [0]=> - string(21) "-water---fruit---air-" -} -int(22) -bool(true) - --- Testing fgetcsv() with file opened using r+ mode -- -array(1) { - [0]=> - string(21) "-water---fruit---air-" -} -int(22) -bool(true) - --- Testing fgetcsv() with file opened using r+b mode -- -array(1) { - [0]=> - string(21) "-water---fruit---air-" -} -int(22) -bool(true) - --- Testing fgetcsv() with file opened using r+t mode -- -array(1) { - [0]=> - string(21) "-water---fruit---air-" -} -int(22) -bool(true) - --- Testing fgetcsv() with file opened using a+ mode -- -array(1) { - [0]=> - string(21) "-water---fruit---air-" -} -int(22) -bool(true) - --- Testing fgetcsv() with file opened using a+b mode -- -array(1) { - [0]=> - string(21) "-water---fruit---air-" -} -int(22) -bool(true) - --- Testing fgetcsv() with file opened using a+t mode -- -array(1) { - [0]=> - string(21) "-water---fruit---air-" -} -int(22) -bool(true) - --- Testing fgetcsv() with file opened using w+ mode -- -array(1) { - [0]=> - string(21) "-water---fruit---air-" -} -int(22) -bool(true) - --- Testing fgetcsv() with file opened using w+b mode -- -array(1) { - [0]=> - string(21) "-water---fruit---air-" -} -int(22) -bool(true) - --- Testing fgetcsv() with file opened using w+t mode -- -array(1) { - [0]=> - string(21) "-water---fruit---air-" -} -int(22) -bool(true) - --- Testing fgetcsv() with file opened using x+ mode -- -array(1) { - [0]=> - string(21) "-water---fruit---air-" -} -int(22) -bool(true) - --- Testing fgetcsv() with file opened using x+b mode -- -array(1) { - [0]=> - string(21) "-water---fruit---air-" -} -int(22) -bool(true) - --- Testing fgetcsv() with file opened using x+t mode -- -array(1) { - [0]=> - string(21) "-water---fruit---air-" -} -int(22) -bool(true) - --- Testing fgetcsv() with file opened using r mode -- -array(7) { - [0]=> - string(11) "&""""&:&"&:" - [1]=> - string(4) ":":&" - [2]=> - string(2) "&:" - [3]=> - string(0) "" - [4]=> - string(0) "" - [5]=> - string(0) "" - [6]=> - string(0) "" -} -int(24) -bool(true) - --- Testing fgetcsv() with file opened using rb mode -- -array(7) { - [0]=> - string(11) "&""""&:&"&:" - [1]=> - string(4) ":":&" - [2]=> - string(2) "&:" - [3]=> - string(0) "" - [4]=> - string(0) "" - [5]=> - string(0) "" - [6]=> - string(0) "" -} -int(24) -bool(true) - --- Testing fgetcsv() with file opened using rt mode -- -array(7) { - [0]=> - string(11) "&""""&:&"&:" - [1]=> - string(4) ":":&" - [2]=> - string(2) "&:" - [3]=> - string(0) "" - [4]=> - string(0) "" - [5]=> - string(0) "" - [6]=> - string(0) "" -} -int(24) -bool(true) - --- Testing fgetcsv() with file opened using r+ mode -- -array(7) { - [0]=> - string(11) "&""""&:&"&:" - [1]=> - string(4) ":":&" - [2]=> - string(2) "&:" - [3]=> - string(0) "" - [4]=> - string(0) "" - [5]=> - string(0) "" - [6]=> - string(0) "" -} -int(24) -bool(true) - --- Testing fgetcsv() with file opened using r+b mode -- -array(7) { - [0]=> - string(11) "&""""&:&"&:" - [1]=> - string(4) ":":&" - [2]=> - string(2) "&:" - [3]=> - string(0) "" - [4]=> - string(0) "" - [5]=> - string(0) "" - [6]=> - string(0) "" -} -int(24) -bool(true) - --- Testing fgetcsv() with file opened using r+t mode -- -array(7) { - [0]=> - string(11) "&""""&:&"&:" - [1]=> - string(4) ":":&" - [2]=> - string(2) "&:" - [3]=> - string(0) "" - [4]=> - string(0) "" - [5]=> - string(0) "" - [6]=> - string(0) "" -} -int(24) -bool(true) - --- Testing fgetcsv() with file opened using a+ mode -- -array(7) { - [0]=> - string(11) "&""""&:&"&:" - [1]=> - string(4) ":":&" - [2]=> - string(2) "&:" - [3]=> - string(0) "" - [4]=> - string(0) "" - [5]=> - string(0) "" - [6]=> - string(0) "" -} -int(24) -bool(true) - --- Testing fgetcsv() with file opened using a+b mode -- -array(7) { - [0]=> - string(11) "&""""&:&"&:" - [1]=> - string(4) ":":&" - [2]=> - string(2) "&:" - [3]=> - string(0) "" - [4]=> - string(0) "" - [5]=> - string(0) "" - [6]=> - string(0) "" -} -int(24) -bool(true) - --- Testing fgetcsv() with file opened using a+t mode -- -array(7) { - [0]=> - string(11) "&""""&:&"&:" - [1]=> - string(4) ":":&" - [2]=> - string(2) "&:" - [3]=> - string(0) "" - [4]=> - string(0) "" - [5]=> - string(0) "" - [6]=> - string(0) "" -} -int(24) -bool(true) - --- Testing fgetcsv() with file opened using w+ mode -- -array(7) { - [0]=> - string(11) "&""""&:&"&:" - [1]=> - string(4) ":":&" - [2]=> - string(2) "&:" - [3]=> - string(0) "" - [4]=> - string(0) "" - [5]=> - string(0) "" - [6]=> - string(0) "" -} -int(24) -bool(true) - --- Testing fgetcsv() with file opened using w+b mode -- -array(7) { - [0]=> - string(11) "&""""&:&"&:" - [1]=> - string(4) ":":&" - [2]=> - string(2) "&:" - [3]=> - string(0) "" - [4]=> - string(0) "" - [5]=> - string(0) "" - [6]=> - string(0) "" -} -int(24) -bool(true) - --- Testing fgetcsv() with file opened using w+t mode -- -array(7) { - [0]=> - string(11) "&""""&:&"&:" - [1]=> - string(4) ":":&" - [2]=> - string(2) "&:" - [3]=> - string(0) "" - [4]=> - string(0) "" - [5]=> - string(0) "" - [6]=> - string(0) "" -} -int(24) -bool(true) - --- Testing fgetcsv() with file opened using x+ mode -- -array(7) { - [0]=> - string(11) "&""""&:&"&:" - [1]=> - string(4) ":":&" - [2]=> - string(2) "&:" - [3]=> - string(0) "" - [4]=> - string(0) "" - [5]=> - string(0) "" - [6]=> - string(0) "" -} -int(24) -bool(true) - --- Testing fgetcsv() with file opened using x+b mode -- -array(7) { - [0]=> - string(11) "&""""&:&"&:" - [1]=> - string(4) ":":&" - [2]=> - string(2) "&:" - [3]=> - string(0) "" - [4]=> - string(0) "" - [5]=> - string(0) "" - [6]=> - string(0) "" -} -int(24) -bool(true) - --- Testing fgetcsv() with file opened using x+t mode -- -array(7) { - [0]=> - string(11) "&""""&:&"&:" - [1]=> - string(4) ":":&" - [2]=> - string(2) "&:" - [3]=> - string(0) "" - [4]=> - string(0) "" - [5]=> - string(0) "" - [6]=> - string(0) "" -} -int(24) -bool(true) -Done - ---UEXPECT-- -*** Testing fgetcsv() : with default arguments value *** - --- Testing fgetcsv() with file opened using r mode -- -array(2) { - [0]=> - string(5) "water" - [1]=> - string(5) "fruit" -} -int(14) -bool(true) - --- Testing fgetcsv() with file opened using rb mode -- -array(2) { - [0]=> - string(5) "water" - [1]=> - string(5) "fruit" -} -int(14) -bool(true) - -- Testing fgetcsv() with file opened using rt mode -- array(2) { [0]=> diff --git a/ext/standard/tests/file/fgetcsv_variation8.phpt b/ext/standard/tests/file/fgetcsv_variation8.phpt index 8c23917bad..d6f635f8cc 100644 --- a/ext/standard/tests/file/fgetcsv_variation8.phpt +++ b/ext/standard/tests/file/fgetcsv_variation8.phpt @@ -112,970 +112,6 @@ array(1) { int(14) bool(false) --- Testing fgetcsv() with file opened using rt mode -- -array(1) { - [0]=> - string(13) ""water",fruit" -} -int(14) -bool(false) - --- Testing fgetcsv() with file opened using r+ mode -- -array(1) { - [0]=> - string(13) ""water",fruit" -} -int(14) -bool(false) - --- Testing fgetcsv() with file opened using r+b mode -- -array(1) { - [0]=> - string(13) ""water",fruit" -} -int(14) -bool(false) - --- Testing fgetcsv() with file opened using r+t mode -- -array(1) { - [0]=> - string(13) ""water",fruit" -} -int(14) -bool(false) - --- Testing fgetcsv() with file opened using a+ mode -- -array(1) { - [0]=> - string(13) ""water",fruit" -} -int(14) -bool(false) - --- Testing fgetcsv() with file opened using a+b mode -- -array(1) { - [0]=> - string(13) ""water",fruit" -} -int(14) -bool(false) - --- Testing fgetcsv() with file opened using a+t mode -- -array(1) { - [0]=> - string(13) ""water",fruit" -} -int(14) -bool(false) - --- Testing fgetcsv() with file opened using w+ mode -- -array(1) { - [0]=> - string(13) ""water",fruit" -} -int(14) -bool(false) - --- Testing fgetcsv() with file opened using w+b mode -- -array(1) { - [0]=> - string(13) ""water",fruit" -} -int(14) -bool(false) - --- Testing fgetcsv() with file opened using w+t mode -- -array(1) { - [0]=> - string(13) ""water",fruit" -} -int(14) -bool(false) - --- Testing fgetcsv() with file opened using x+ mode -- -array(1) { - [0]=> - string(13) ""water",fruit" -} -int(14) -bool(false) - --- Testing fgetcsv() with file opened using x+b mode -- -array(1) { - [0]=> - string(13) ""water",fruit" -} -int(14) -bool(false) - --- Testing fgetcsv() with file opened using x+t mode -- -array(1) { - [0]=> - string(13) ""water",fruit" -} -int(14) -bool(false) - --- Testing fgetcsv() with file opened using r mode -- -array(1) { - [0]=> - string(15) ""water","fruit"" -} -int(16) -bool(false) - --- Testing fgetcsv() with file opened using rb mode -- -array(1) { - [0]=> - string(15) ""water","fruit"" -} -int(16) -bool(false) - --- Testing fgetcsv() with file opened using rt mode -- -array(1) { - [0]=> - string(15) ""water","fruit"" -} -int(16) -bool(false) - --- Testing fgetcsv() with file opened using r+ mode -- -array(1) { - [0]=> - string(15) ""water","fruit"" -} -int(16) -bool(false) - --- Testing fgetcsv() with file opened using r+b mode -- -array(1) { - [0]=> - string(15) ""water","fruit"" -} -int(16) -bool(false) - --- Testing fgetcsv() with file opened using r+t mode -- -array(1) { - [0]=> - string(15) ""water","fruit"" -} -int(16) -bool(false) - --- Testing fgetcsv() with file opened using a+ mode -- -array(1) { - [0]=> - string(15) ""water","fruit"" -} -int(16) -bool(false) - --- Testing fgetcsv() with file opened using a+b mode -- -array(1) { - [0]=> - string(15) ""water","fruit"" -} -int(16) -bool(false) - --- Testing fgetcsv() with file opened using a+t mode -- -array(1) { - [0]=> - string(15) ""water","fruit"" -} -int(16) -bool(false) - --- Testing fgetcsv() with file opened using w+ mode -- -array(1) { - [0]=> - string(15) ""water","fruit"" -} -int(16) -bool(false) - --- Testing fgetcsv() with file opened using w+b mode -- -array(1) { - [0]=> - string(15) ""water","fruit"" -} -int(16) -bool(false) - --- Testing fgetcsv() with file opened using w+t mode -- -array(1) { - [0]=> - string(15) ""water","fruit"" -} -int(16) -bool(false) - --- Testing fgetcsv() with file opened using x+ mode -- -array(1) { - [0]=> - string(15) ""water","fruit"" -} -int(16) -bool(false) - --- Testing fgetcsv() with file opened using x+b mode -- -array(1) { - [0]=> - string(15) ""water","fruit"" -} -int(16) -bool(false) - --- Testing fgetcsv() with file opened using x+t mode -- -array(1) { - [0]=> - string(15) ""water","fruit"" -} -int(16) -bool(false) - --- Testing fgetcsv() with file opened using r mode -- -array(1) { - [0]=> - string(15) "^water^ ^fruit^" -} -int(16) -bool(false) - --- Testing fgetcsv() with file opened using rb mode -- -array(1) { - [0]=> - string(15) "^water^ ^fruit^" -} -int(16) -bool(false) - --- Testing fgetcsv() with file opened using rt mode -- -array(1) { - [0]=> - string(15) "^water^ ^fruit^" -} -int(16) -bool(false) - --- Testing fgetcsv() with file opened using r+ mode -- -array(1) { - [0]=> - string(15) "^water^ ^fruit^" -} -int(16) -bool(false) - --- Testing fgetcsv() with file opened using r+b mode -- -array(1) { - [0]=> - string(15) "^water^ ^fruit^" -} -int(16) -bool(false) - --- Testing fgetcsv() with file opened using r+t mode -- -array(1) { - [0]=> - string(15) "^water^ ^fruit^" -} -int(16) -bool(false) - --- Testing fgetcsv() with file opened using a+ mode -- -array(1) { - [0]=> - string(15) "^water^ ^fruit^" -} -int(16) -bool(false) - --- Testing fgetcsv() with file opened using a+b mode -- -array(1) { - [0]=> - string(15) "^water^ ^fruit^" -} -int(16) -bool(false) - --- Testing fgetcsv() with file opened using a+t mode -- -array(1) { - [0]=> - string(15) "^water^ ^fruit^" -} -int(16) -bool(false) - --- Testing fgetcsv() with file opened using w+ mode -- -array(1) { - [0]=> - string(15) "^water^ ^fruit^" -} -int(16) -bool(false) - --- Testing fgetcsv() with file opened using w+b mode -- -array(1) { - [0]=> - string(15) "^water^ ^fruit^" -} -int(16) -bool(false) - --- Testing fgetcsv() with file opened using w+t mode -- -array(1) { - [0]=> - string(15) "^water^ ^fruit^" -} -int(16) -bool(false) - --- Testing fgetcsv() with file opened using x+ mode -- -array(1) { - [0]=> - string(15) "^water^ ^fruit^" -} -int(16) -bool(false) - --- Testing fgetcsv() with file opened using x+b mode -- -array(1) { - [0]=> - string(15) "^water^ ^fruit^" -} -int(16) -bool(false) - --- Testing fgetcsv() with file opened using x+t mode -- -array(1) { - [0]=> - string(15) "^water^ ^fruit^" -} -int(16) -bool(false) - --- Testing fgetcsv() with file opened using r mode -- -array(1) { - [0]=> - string(15) "&water&:&fruit&" -} -int(16) -bool(false) - --- Testing fgetcsv() with file opened using rb mode -- -array(1) { - [0]=> - string(15) "&water&:&fruit&" -} -int(16) -bool(false) - --- Testing fgetcsv() with file opened using rt mode -- -array(1) { - [0]=> - string(15) "&water&:&fruit&" -} -int(16) -bool(false) - --- Testing fgetcsv() with file opened using r+ mode -- -array(1) { - [0]=> - string(15) "&water&:&fruit&" -} -int(16) -bool(false) - --- Testing fgetcsv() with file opened using r+b mode -- -array(1) { - [0]=> - string(15) "&water&:&fruit&" -} -int(16) -bool(false) - --- Testing fgetcsv() with file opened using r+t mode -- -array(1) { - [0]=> - string(15) "&water&:&fruit&" -} -int(16) -bool(false) - --- Testing fgetcsv() with file opened using a+ mode -- -array(1) { - [0]=> - string(15) "&water&:&fruit&" -} -int(16) -bool(false) - --- Testing fgetcsv() with file opened using a+b mode -- -array(1) { - [0]=> - string(15) "&water&:&fruit&" -} -int(16) -bool(false) - --- Testing fgetcsv() with file opened using a+t mode -- -array(1) { - [0]=> - string(15) "&water&:&fruit&" -} -int(16) -bool(false) - --- Testing fgetcsv() with file opened using w+ mode -- -array(1) { - [0]=> - string(15) "&water&:&fruit&" -} -int(16) -bool(false) - --- Testing fgetcsv() with file opened using w+b mode -- -array(1) { - [0]=> - string(15) "&water&:&fruit&" -} -int(16) -bool(false) - --- Testing fgetcsv() with file opened using w+t mode -- -array(1) { - [0]=> - string(15) "&water&:&fruit&" -} -int(16) -bool(false) - --- Testing fgetcsv() with file opened using x+ mode -- -array(1) { - [0]=> - string(15) "&water&:&fruit&" -} -int(16) -bool(false) - --- Testing fgetcsv() with file opened using x+b mode -- -array(1) { - [0]=> - string(15) "&water&:&fruit&" -} -int(16) -bool(false) - --- Testing fgetcsv() with file opened using x+t mode -- -array(1) { - [0]=> - string(15) "&water&:&fruit&" -} -int(16) -bool(false) - --- Testing fgetcsv() with file opened using r mode -- -array(1) { - [0]=> - string(15) "=water===fruit=" -} -int(16) -bool(false) - --- Testing fgetcsv() with file opened using rb mode -- -array(1) { - [0]=> - string(15) "=water===fruit=" -} -int(16) -bool(false) - --- Testing fgetcsv() with file opened using rt mode -- -array(1) { - [0]=> - string(15) "=water===fruit=" -} -int(16) -bool(false) - --- Testing fgetcsv() with file opened using r+ mode -- -array(1) { - [0]=> - string(15) "=water===fruit=" -} -int(16) -bool(false) - --- Testing fgetcsv() with file opened using r+b mode -- -array(1) { - [0]=> - string(15) "=water===fruit=" -} -int(16) -bool(false) - --- Testing fgetcsv() with file opened using r+t mode -- -array(1) { - [0]=> - string(15) "=water===fruit=" -} -int(16) -bool(false) - --- Testing fgetcsv() with file opened using a+ mode -- -array(1) { - [0]=> - string(15) "=water===fruit=" -} -int(16) -bool(false) - --- Testing fgetcsv() with file opened using a+b mode -- -array(1) { - [0]=> - string(15) "=water===fruit=" -} -int(16) -bool(false) - --- Testing fgetcsv() with file opened using a+t mode -- -array(1) { - [0]=> - string(15) "=water===fruit=" -} -int(16) -bool(false) - --- Testing fgetcsv() with file opened using w+ mode -- -array(1) { - [0]=> - string(15) "=water===fruit=" -} -int(16) -bool(false) - --- Testing fgetcsv() with file opened using w+b mode -- -array(1) { - [0]=> - string(15) "=water===fruit=" -} -int(16) -bool(false) - --- Testing fgetcsv() with file opened using w+t mode -- -array(1) { - [0]=> - string(15) "=water===fruit=" -} -int(16) -bool(false) - --- Testing fgetcsv() with file opened using x+ mode -- -array(1) { - [0]=> - string(15) "=water===fruit=" -} -int(16) -bool(false) - --- Testing fgetcsv() with file opened using x+b mode -- -array(1) { - [0]=> - string(15) "=water===fruit=" -} -int(16) -bool(false) - --- Testing fgetcsv() with file opened using x+t mode -- -array(1) { - [0]=> - string(15) "=water===fruit=" -} -int(16) -bool(false) - --- Testing fgetcsv() with file opened using r mode -- -array(1) { - [0]=> - string(17) "-water--fruit-air" -} -int(18) -bool(false) - --- Testing fgetcsv() with file opened using rb mode -- -array(1) { - [0]=> - string(17) "-water--fruit-air" -} -int(18) -bool(false) - --- Testing fgetcsv() with file opened using rt mode -- -array(1) { - [0]=> - string(17) "-water--fruit-air" -} -int(18) -bool(false) - --- Testing fgetcsv() with file opened using r+ mode -- -array(1) { - [0]=> - string(17) "-water--fruit-air" -} -int(18) -bool(false) - --- Testing fgetcsv() with file opened using r+b mode -- -array(1) { - [0]=> - string(17) "-water--fruit-air" -} -int(18) -bool(false) - --- Testing fgetcsv() with file opened using r+t mode -- -array(1) { - [0]=> - string(17) "-water--fruit-air" -} -int(18) -bool(false) - --- Testing fgetcsv() with file opened using a+ mode -- -array(1) { - [0]=> - string(17) "-water--fruit-air" -} -int(18) -bool(false) - --- Testing fgetcsv() with file opened using a+b mode -- -array(1) { - [0]=> - string(17) "-water--fruit-air" -} -int(18) -bool(false) - --- Testing fgetcsv() with file opened using a+t mode -- -array(1) { - [0]=> - string(17) "-water--fruit-air" -} -int(18) -bool(false) - --- Testing fgetcsv() with file opened using w+ mode -- -array(1) { - [0]=> - string(17) "-water--fruit-air" -} -int(18) -bool(false) - --- Testing fgetcsv() with file opened using w+b mode -- -array(1) { - [0]=> - string(17) "-water--fruit-air" -} -int(18) -bool(false) - --- Testing fgetcsv() with file opened using w+t mode -- -array(1) { - [0]=> - string(17) "-water--fruit-air" -} -int(18) -bool(false) - --- Testing fgetcsv() with file opened using x+ mode -- -array(1) { - [0]=> - string(17) "-water--fruit-air" -} -int(18) -bool(false) - --- Testing fgetcsv() with file opened using x+b mode -- -array(1) { - [0]=> - string(17) "-water--fruit-air" -} -int(18) -bool(false) - --- Testing fgetcsv() with file opened using x+t mode -- -array(1) { - [0]=> - string(17) "-water--fruit-air" -} -int(18) -bool(false) - --- Testing fgetcsv() with file opened using r mode -- -array(1) { - [0]=> - string(21) "-water---fruit---air-" -} -int(22) -bool(false) - --- Testing fgetcsv() with file opened using rb mode -- -array(1) { - [0]=> - string(21) "-water---fruit---air-" -} -int(22) -bool(false) - --- Testing fgetcsv() with file opened using rt mode -- -array(1) { - [0]=> - string(21) "-water---fruit---air-" -} -int(22) -bool(false) - --- Testing fgetcsv() with file opened using r+ mode -- -array(1) { - [0]=> - string(21) "-water---fruit---air-" -} -int(22) -bool(false) - --- Testing fgetcsv() with file opened using r+b mode -- -array(1) { - [0]=> - string(21) "-water---fruit---air-" -} -int(22) -bool(false) - --- Testing fgetcsv() with file opened using r+t mode -- -array(1) { - [0]=> - string(21) "-water---fruit---air-" -} -int(22) -bool(false) - --- Testing fgetcsv() with file opened using a+ mode -- -array(1) { - [0]=> - string(21) "-water---fruit---air-" -} -int(22) -bool(false) - --- Testing fgetcsv() with file opened using a+b mode -- -array(1) { - [0]=> - string(21) "-water---fruit---air-" -} -int(22) -bool(false) - --- Testing fgetcsv() with file opened using a+t mode -- -array(1) { - [0]=> - string(21) "-water---fruit---air-" -} -int(22) -bool(false) - --- Testing fgetcsv() with file opened using w+ mode -- -array(1) { - [0]=> - string(21) "-water---fruit---air-" -} -int(22) -bool(false) - --- Testing fgetcsv() with file opened using w+b mode -- -array(1) { - [0]=> - string(21) "-water---fruit---air-" -} -int(22) -bool(false) - --- Testing fgetcsv() with file opened using w+t mode -- -array(1) { - [0]=> - string(21) "-water---fruit---air-" -} -int(22) -bool(false) - --- Testing fgetcsv() with file opened using x+ mode -- -array(1) { - [0]=> - string(21) "-water---fruit---air-" -} -int(22) -bool(false) - --- Testing fgetcsv() with file opened using x+b mode -- -array(1) { - [0]=> - string(21) "-water---fruit---air-" -} -int(22) -bool(false) - --- Testing fgetcsv() with file opened using x+t mode -- -array(1) { - [0]=> - string(21) "-water---fruit---air-" -} -int(22) -bool(false) - --- Testing fgetcsv() with file opened using r mode -- -array(1) { - [0]=> - string(23) "&""""&:&"&:,:":&,&:,,,," -} -int(24) -bool(false) - --- Testing fgetcsv() with file opened using rb mode -- -array(1) { - [0]=> - string(23) "&""""&:&"&:,:":&,&:,,,," -} -int(24) -bool(false) - --- Testing fgetcsv() with file opened using rt mode -- -array(1) { - [0]=> - string(23) "&""""&:&"&:,:":&,&:,,,," -} -int(24) -bool(false) - --- Testing fgetcsv() with file opened using r+ mode -- -array(1) { - [0]=> - string(23) "&""""&:&"&:,:":&,&:,,,," -} -int(24) -bool(false) - --- Testing fgetcsv() with file opened using r+b mode -- -array(1) { - [0]=> - string(23) "&""""&:&"&:,:":&,&:,,,," -} -int(24) -bool(false) - --- Testing fgetcsv() with file opened using r+t mode -- -array(1) { - [0]=> - string(23) "&""""&:&"&:,:":&,&:,,,," -} -int(24) -bool(false) - --- Testing fgetcsv() with file opened using a+ mode -- -array(1) { - [0]=> - string(23) "&""""&:&"&:,:":&,&:,,,," -} -int(24) -bool(false) - --- Testing fgetcsv() with file opened using a+b mode -- -array(1) { - [0]=> - string(23) "&""""&:&"&:,:":&,&:,,,," -} -int(24) -bool(false) - --- Testing fgetcsv() with file opened using a+t mode -- -array(1) { - [0]=> - string(23) "&""""&:&"&:,:":&,&:,,,," -} -int(24) -bool(false) - --- Testing fgetcsv() with file opened using w+ mode -- -array(1) { - [0]=> - string(23) "&""""&:&"&:,:":&,&:,,,," -} -int(24) -bool(false) - --- Testing fgetcsv() with file opened using w+b mode -- -array(1) { - [0]=> - string(23) "&""""&:&"&:,:":&,&:,,,," -} -int(24) -bool(false) - --- Testing fgetcsv() with file opened using w+t mode -- -array(1) { - [0]=> - string(23) "&""""&:&"&:,:":&,&:,,,," -} -int(24) -bool(false) - --- Testing fgetcsv() with file opened using x+ mode -- -array(1) { - [0]=> - string(23) "&""""&:&"&:,:":&,&:,,,," -} -int(24) -bool(false) - --- Testing fgetcsv() with file opened using x+b mode -- -array(1) { - [0]=> - string(23) "&""""&:&"&:,:":&,&:,,,," -} -int(24) -bool(false) - --- Testing fgetcsv() with file opened using x+t mode -- -array(1) { - [0]=> - string(23) "&""""&:&"&:,:":&,&:,,,," -} -int(24) -bool(false) -Done - ---UEXPECT-- -*** Testing fgetcsv() : with different delimiter and enclosure *** - --- Testing fgetcsv() with file opened using r mode -- -array(1) { - [0]=> - string(13) ""water",fruit" -} -int(14) -bool(false) - --- Testing fgetcsv() with file opened using rb mode -- -array(1) { - [0]=> - string(13) ""water",fruit" -} -int(14) -bool(false) - -- Testing fgetcsv() with file opened using rt mode -- array(1) { [0]=> @@ -2019,4 +1055,4 @@ array(1) { } int(24) bool(false) -Done \ No newline at end of file +Done diff --git a/ext/standard/tests/file/fgetcsv_variation9.phpt b/ext/standard/tests/file/fgetcsv_variation9.phpt index 26b69e7ceb..eb697c8883 100644 --- a/ext/standard/tests/file/fgetcsv_variation9.phpt +++ b/ext/standard/tests/file/fgetcsv_variation9.phpt @@ -110,970 +110,6 @@ array(1) { int(14) bool(false) --- Testing fgetcsv() with file opened using rt mode -- -array(1) { - [0]=> - string(%d) "water,fruit" -} -int(14) -bool(false) - --- Testing fgetcsv() with file opened using r+ mode -- -array(1) { - [0]=> - string(11) "water,fruit" -} -int(14) -bool(false) - --- Testing fgetcsv() with file opened using r+b mode -- -array(1) { - [0]=> - string(11) "water,fruit" -} -int(14) -bool(false) - --- Testing fgetcsv() with file opened using r+t mode -- -array(1) { - [0]=> - string(%d) "water,fruit" -} -int(14) -bool(false) - --- Testing fgetcsv() with file opened using a+ mode -- -array(1) { - [0]=> - string(11) "water,fruit" -} -int(14) -bool(false) - --- Testing fgetcsv() with file opened using a+b mode -- -array(1) { - [0]=> - string(11) "water,fruit" -} -int(14) -bool(false) - --- Testing fgetcsv() with file opened using a+t mode -- -array(1) { - [0]=> - string(%d) "water,fruit" -} -int(14) -bool(false) - --- Testing fgetcsv() with file opened using w+ mode -- -array(1) { - [0]=> - string(11) "water,fruit" -} -int(14) -bool(false) - --- Testing fgetcsv() with file opened using w+b mode -- -array(1) { - [0]=> - string(11) "water,fruit" -} -int(14) -bool(false) - --- Testing fgetcsv() with file opened using w+t mode -- -array(1) { - [0]=> - string(%d) "water,fruit" -} -int(14) -bool(false) - --- Testing fgetcsv() with file opened using x+ mode -- -array(1) { - [0]=> - string(11) "water,fruit" -} -int(14) -bool(false) - --- Testing fgetcsv() with file opened using x+b mode -- -array(1) { - [0]=> - string(11) "water,fruit" -} -int(14) -bool(false) - --- Testing fgetcsv() with file opened using x+t mode -- -array(1) { - [0]=> - string(%d) "water,fruit" -} -int(14) -bool(false) - --- Testing fgetcsv() with file opened using r mode -- -array(1) { - [0]=> - string(13) "water,"fruit"" -} -int(16) -bool(false) - --- Testing fgetcsv() with file opened using rb mode -- -array(1) { - [0]=> - string(13) "water,"fruit"" -} -int(16) -bool(false) - --- Testing fgetcsv() with file opened using rt mode -- -array(1) { - [0]=> - string(%d) "water,"fruit"" -} -int(16) -bool(false) - --- Testing fgetcsv() with file opened using r+ mode -- -array(1) { - [0]=> - string(13) "water,"fruit"" -} -int(16) -bool(false) - --- Testing fgetcsv() with file opened using r+b mode -- -array(1) { - [0]=> - string(13) "water,"fruit"" -} -int(16) -bool(false) - --- Testing fgetcsv() with file opened using r+t mode -- -array(1) { - [0]=> - string(%d) "water,"fruit"" -} -int(16) -bool(false) - --- Testing fgetcsv() with file opened using a+ mode -- -array(1) { - [0]=> - string(13) "water,"fruit"" -} -int(16) -bool(false) - --- Testing fgetcsv() with file opened using a+b mode -- -array(1) { - [0]=> - string(13) "water,"fruit"" -} -int(16) -bool(false) - --- Testing fgetcsv() with file opened using a+t mode -- -array(1) { - [0]=> - string(%d) "water,"fruit"" -} -int(16) -bool(false) - --- Testing fgetcsv() with file opened using w+ mode -- -array(1) { - [0]=> - string(13) "water,"fruit"" -} -int(16) -bool(false) - --- Testing fgetcsv() with file opened using w+b mode -- -array(1) { - [0]=> - string(13) "water,"fruit"" -} -int(16) -bool(false) - --- Testing fgetcsv() with file opened using w+t mode -- -array(1) { - [0]=> - string(%d) "water,"fruit"" -} -int(16) -bool(false) - --- Testing fgetcsv() with file opened using x+ mode -- -array(1) { - [0]=> - string(13) "water,"fruit"" -} -int(16) -bool(false) - --- Testing fgetcsv() with file opened using x+b mode -- -array(1) { - [0]=> - string(13) "water,"fruit"" -} -int(16) -bool(false) - --- Testing fgetcsv() with file opened using x+t mode -- -array(1) { - [0]=> - string(%d) "water,"fruit"" -} -int(16) -bool(false) - --- Testing fgetcsv() with file opened using r mode -- -array(1) { - [0]=> - string(13) "water ^fruit^" -} -int(16) -bool(false) - --- Testing fgetcsv() with file opened using rb mode -- -array(1) { - [0]=> - string(13) "water ^fruit^" -} -int(16) -bool(false) - --- Testing fgetcsv() with file opened using rt mode -- -array(1) { - [0]=> - string(%d) "water ^fruit^" -} -int(16) -bool(false) - --- Testing fgetcsv() with file opened using r+ mode -- -array(1) { - [0]=> - string(13) "water ^fruit^" -} -int(16) -bool(false) - --- Testing fgetcsv() with file opened using r+b mode -- -array(1) { - [0]=> - string(13) "water ^fruit^" -} -int(16) -bool(false) - --- Testing fgetcsv() with file opened using r+t mode -- -array(1) { - [0]=> - string(%d) "water ^fruit^" -} -int(16) -bool(false) - --- Testing fgetcsv() with file opened using a+ mode -- -array(1) { - [0]=> - string(13) "water ^fruit^" -} -int(16) -bool(false) - --- Testing fgetcsv() with file opened using a+b mode -- -array(1) { - [0]=> - string(13) "water ^fruit^" -} -int(16) -bool(false) - --- Testing fgetcsv() with file opened using a+t mode -- -array(1) { - [0]=> - string(%d) "water ^fruit^" -} -int(16) -bool(false) - --- Testing fgetcsv() with file opened using w+ mode -- -array(1) { - [0]=> - string(13) "water ^fruit^" -} -int(16) -bool(false) - --- Testing fgetcsv() with file opened using w+b mode -- -array(1) { - [0]=> - string(13) "water ^fruit^" -} -int(16) -bool(false) - --- Testing fgetcsv() with file opened using w+t mode -- -array(1) { - [0]=> - string(%d) "water ^fruit^" -} -int(16) -bool(false) - --- Testing fgetcsv() with file opened using x+ mode -- -array(1) { - [0]=> - string(13) "water ^fruit^" -} -int(16) -bool(false) - --- Testing fgetcsv() with file opened using x+b mode -- -array(1) { - [0]=> - string(13) "water ^fruit^" -} -int(16) -bool(false) - --- Testing fgetcsv() with file opened using x+t mode -- -array(1) { - [0]=> - string(%d) "water ^fruit^" -} -int(16) -bool(false) - --- Testing fgetcsv() with file opened using r mode -- -array(1) { - [0]=> - string(13) "water:&fruit&" -} -int(16) -bool(false) - --- Testing fgetcsv() with file opened using rb mode -- -array(1) { - [0]=> - string(13) "water:&fruit&" -} -int(16) -bool(false) - --- Testing fgetcsv() with file opened using rt mode -- -array(1) { - [0]=> - string(%d) "water:&fruit&" -} -int(16) -bool(false) - --- Testing fgetcsv() with file opened using r+ mode -- -array(1) { - [0]=> - string(13) "water:&fruit&" -} -int(16) -bool(false) - --- Testing fgetcsv() with file opened using r+b mode -- -array(1) { - [0]=> - string(13) "water:&fruit&" -} -int(16) -bool(false) - --- Testing fgetcsv() with file opened using r+t mode -- -array(1) { - [0]=> - string(%d) "water:&fruit&" -} -int(16) -bool(false) - --- Testing fgetcsv() with file opened using a+ mode -- -array(1) { - [0]=> - string(13) "water:&fruit&" -} -int(16) -bool(false) - --- Testing fgetcsv() with file opened using a+b mode -- -array(1) { - [0]=> - string(13) "water:&fruit&" -} -int(16) -bool(false) - --- Testing fgetcsv() with file opened using a+t mode -- -array(1) { - [0]=> - string(%d) "water:&fruit&" -} -int(16) -bool(false) - --- Testing fgetcsv() with file opened using w+ mode -- -array(1) { - [0]=> - string(13) "water:&fruit&" -} -int(16) -bool(false) - --- Testing fgetcsv() with file opened using w+b mode -- -array(1) { - [0]=> - string(13) "water:&fruit&" -} -int(16) -bool(false) - --- Testing fgetcsv() with file opened using w+t mode -- -array(1) { - [0]=> - string(%d) "water:&fruit&" -} -int(16) -bool(false) - --- Testing fgetcsv() with file opened using x+ mode -- -array(1) { - [0]=> - string(13) "water:&fruit&" -} -int(16) -bool(false) - --- Testing fgetcsv() with file opened using x+b mode -- -array(1) { - [0]=> - string(13) "water:&fruit&" -} -int(16) -bool(false) - --- Testing fgetcsv() with file opened using x+t mode -- -array(1) { - [0]=> - string(%d) "water:&fruit&" -} -int(16) -bool(false) - --- Testing fgetcsv() with file opened using r mode -- -array(1) { - [0]=> - string(12) "water=fruit=" -} -int(16) -bool(false) - --- Testing fgetcsv() with file opened using rb mode -- -array(1) { - [0]=> - string(12) "water=fruit=" -} -int(16) -bool(false) - --- Testing fgetcsv() with file opened using rt mode -- -array(1) { - [0]=> - string(%d) "water=fruit=" -} -int(16) -bool(false) - --- Testing fgetcsv() with file opened using r+ mode -- -array(1) { - [0]=> - string(12) "water=fruit=" -} -int(16) -bool(false) - --- Testing fgetcsv() with file opened using r+b mode -- -array(1) { - [0]=> - string(12) "water=fruit=" -} -int(16) -bool(false) - --- Testing fgetcsv() with file opened using r+t mode -- -array(1) { - [0]=> - string(%d) "water=fruit=" -} -int(16) -bool(false) - --- Testing fgetcsv() with file opened using a+ mode -- -array(1) { - [0]=> - string(12) "water=fruit=" -} -int(16) -bool(false) - --- Testing fgetcsv() with file opened using a+b mode -- -array(1) { - [0]=> - string(12) "water=fruit=" -} -int(16) -bool(false) - --- Testing fgetcsv() with file opened using a+t mode -- -array(1) { - [0]=> - string(%d) "water=fruit=" -} -int(16) -bool(false) - --- Testing fgetcsv() with file opened using w+ mode -- -array(1) { - [0]=> - string(12) "water=fruit=" -} -int(16) -bool(false) - --- Testing fgetcsv() with file opened using w+b mode -- -array(1) { - [0]=> - string(12) "water=fruit=" -} -int(16) -bool(false) - --- Testing fgetcsv() with file opened using w+t mode -- -array(1) { - [0]=> - string(%d) "water=fruit=" -} -int(16) -bool(false) - --- Testing fgetcsv() with file opened using x+ mode -- -array(1) { - [0]=> - string(12) "water=fruit=" -} -int(16) -bool(false) - --- Testing fgetcsv() with file opened using x+b mode -- -array(1) { - [0]=> - string(12) "water=fruit=" -} -int(16) -bool(false) - --- Testing fgetcsv() with file opened using x+t mode -- -array(1) { - [0]=> - string(%d) "water=fruit=" -} -int(16) -bool(false) - --- Testing fgetcsv() with file opened using r mode -- -array(1) { - [0]=> - string(14) "water-fruitair" -} -int(18) -bool(false) - --- Testing fgetcsv() with file opened using rb mode -- -array(1) { - [0]=> - string(14) "water-fruitair" -} -int(18) -bool(false) - --- Testing fgetcsv() with file opened using rt mode -- -array(1) { - [0]=> - string(%d) "water-fruitair" -} -int(18) -bool(false) - --- Testing fgetcsv() with file opened using r+ mode -- -array(1) { - [0]=> - string(14) "water-fruitair" -} -int(18) -bool(false) - --- Testing fgetcsv() with file opened using r+b mode -- -array(1) { - [0]=> - string(14) "water-fruitair" -} -int(18) -bool(false) - --- Testing fgetcsv() with file opened using r+t mode -- -array(1) { - [0]=> - string(%d) "water-fruitair" -} -int(18) -bool(false) - --- Testing fgetcsv() with file opened using a+ mode -- -array(1) { - [0]=> - string(14) "water-fruitair" -} -int(18) -bool(false) - --- Testing fgetcsv() with file opened using a+b mode -- -array(1) { - [0]=> - string(14) "water-fruitair" -} -int(18) -bool(false) - --- Testing fgetcsv() with file opened using a+t mode -- -array(1) { - [0]=> - string(%d) "water-fruitair" -} -int(18) -bool(false) - --- Testing fgetcsv() with file opened using w+ mode -- -array(1) { - [0]=> - string(14) "water-fruitair" -} -int(18) -bool(false) - --- Testing fgetcsv() with file opened using w+b mode -- -array(1) { - [0]=> - string(14) "water-fruitair" -} -int(18) -bool(false) - --- Testing fgetcsv() with file opened using w+t mode -- -array(1) { - [0]=> - string(%d) "water-fruitair" -} -int(18) -bool(false) - --- Testing fgetcsv() with file opened using x+ mode -- -array(1) { - [0]=> - string(14) "water-fruitair" -} -int(18) -bool(false) - --- Testing fgetcsv() with file opened using x+b mode -- -array(1) { - [0]=> - string(14) "water-fruitair" -} -int(18) -bool(false) - --- Testing fgetcsv() with file opened using x+t mode -- -array(1) { - [0]=> - string(%d) "water-fruitair" -} -int(18) -bool(false) - --- Testing fgetcsv() with file opened using r mode -- -array(1) { - [0]=> - string(18) "water-fruit---air-" -} -int(22) -bool(false) - --- Testing fgetcsv() with file opened using rb mode -- -array(1) { - [0]=> - string(18) "water-fruit---air-" -} -int(22) -bool(false) - --- Testing fgetcsv() with file opened using rt mode -- -array(1) { - [0]=> - string(%d) "water-fruit---air-" -} -int(22) -bool(false) - --- Testing fgetcsv() with file opened using r+ mode -- -array(1) { - [0]=> - string(18) "water-fruit---air-" -} -int(22) -bool(false) - --- Testing fgetcsv() with file opened using r+b mode -- -array(1) { - [0]=> - string(18) "water-fruit---air-" -} -int(22) -bool(false) - --- Testing fgetcsv() with file opened using r+t mode -- -array(1) { - [0]=> - string(%d) "water-fruit---air-" -} -int(22) -bool(false) - --- Testing fgetcsv() with file opened using a+ mode -- -array(1) { - [0]=> - string(18) "water-fruit---air-" -} -int(22) -bool(false) - --- Testing fgetcsv() with file opened using a+b mode -- -array(1) { - [0]=> - string(18) "water-fruit---air-" -} -int(22) -bool(false) - --- Testing fgetcsv() with file opened using a+t mode -- -array(1) { - [0]=> - string(%d) "water-fruit---air-" -} -int(22) -bool(false) - --- Testing fgetcsv() with file opened using w+ mode -- -array(1) { - [0]=> - string(18) "water-fruit---air-" -} -int(22) -bool(false) - --- Testing fgetcsv() with file opened using w+b mode -- -array(1) { - [0]=> - string(18) "water-fruit---air-" -} -int(22) -bool(false) - --- Testing fgetcsv() with file opened using w+t mode -- -array(1) { - [0]=> - string(%d) "water-fruit---air-" -} -int(22) -bool(false) - --- Testing fgetcsv() with file opened using x+ mode -- -array(1) { - [0]=> - string(18) "water-fruit---air-" -} -int(22) -bool(false) - --- Testing fgetcsv() with file opened using x+b mode -- -array(1) { - [0]=> - string(18) "water-fruit---air-" -} -int(22) -bool(false) - --- Testing fgetcsv() with file opened using x+t mode -- -array(1) { - [0]=> - string(%d) "water-fruit---air-" -} -int(22) -bool(false) - --- Testing fgetcsv() with file opened using r mode -- -array(1) { - [0]=> - string(21) """"":&"&:,:":&,&:,,,," -} -int(24) -bool(false) - --- Testing fgetcsv() with file opened using rb mode -- -array(1) { - [0]=> - string(21) """"":&"&:,:":&,&:,,,," -} -int(24) -bool(false) - --- Testing fgetcsv() with file opened using rt mode -- -array(1) { - [0]=> - string(%d) """"":&"&:,:":&,&:,,,," -} -int(24) -bool(false) - --- Testing fgetcsv() with file opened using r+ mode -- -array(1) { - [0]=> - string(21) """"":&"&:,:":&,&:,,,," -} -int(24) -bool(false) - --- Testing fgetcsv() with file opened using r+b mode -- -array(1) { - [0]=> - string(21) """"":&"&:,:":&,&:,,,," -} -int(24) -bool(false) - --- Testing fgetcsv() with file opened using r+t mode -- -array(1) { - [0]=> - string(%d) """"":&"&:,:":&,&:,,,," -} -int(24) -bool(false) - --- Testing fgetcsv() with file opened using a+ mode -- -array(1) { - [0]=> - string(21) """"":&"&:,:":&,&:,,,," -} -int(24) -bool(false) - --- Testing fgetcsv() with file opened using a+b mode -- -array(1) { - [0]=> - string(21) """"":&"&:,:":&,&:,,,," -} -int(24) -bool(false) - --- Testing fgetcsv() with file opened using a+t mode -- -array(1) { - [0]=> - string(%d) """"":&"&:,:":&,&:,,,," -} -int(24) -bool(false) - --- Testing fgetcsv() with file opened using w+ mode -- -array(1) { - [0]=> - string(21) """"":&"&:,:":&,&:,,,," -} -int(24) -bool(false) - --- Testing fgetcsv() with file opened using w+b mode -- -array(1) { - [0]=> - string(21) """"":&"&:,:":&,&:,,,," -} -int(24) -bool(false) - --- Testing fgetcsv() with file opened using w+t mode -- -array(1) { - [0]=> - string(%d) """"":&"&:,:":&,&:,,,," -} -int(24) -bool(false) - --- Testing fgetcsv() with file opened using x+ mode -- -array(1) { - [0]=> - string(21) """"":&"&:,:":&,&:,,,," -} -int(24) -bool(false) - --- Testing fgetcsv() with file opened using x+b mode -- -array(1) { - [0]=> - string(21) """"":&"&:,:":&,&:,,,," -} -int(24) -bool(false) - --- Testing fgetcsv() with file opened using x+t mode -- -array(1) { - [0]=> - string(%d) """"":&"&:,:":&,&:,,,," -} -int(24) -bool(false) -Done - ---UEXPECTF-- -*** Testing fgetcsv() : with different delimiter but same enclosure *** - --- Testing fgetcsv() with file opened using r mode -- -array(1) { - [0]=> - string(11) "water,fruit" -} -int(14) -bool(false) - --- Testing fgetcsv() with file opened using rb mode -- -array(1) { - [0]=> - string(11) "water,fruit" -} -int(14) -bool(false) - -- Testing fgetcsv() with file opened using rt mode -- array(1) { [0]=> diff --git a/ext/standard/tests/file/fgets_basic.phpt b/ext/standard/tests/file/fgets_basic.phpt index 476f750253..b2e2a6217d 100644 --- a/ext/standard/tests/file/fgets_basic.phpt +++ b/ext/standard/tests/file/fgets_basic.phpt @@ -49,274 +49,7 @@ foreach($file_modes as $file_mode) { echo "Done\n"; ?> ---EXPECTF-- -*** Testing fgets() : basic functionality *** - --- Testing fgets() with file opened using mode r -- --- File content type : numeric -- --- fgets() with default length, file pointer at 0 -- -string(50) "22222222222222222222222222222222222222222222222222" -int(50) -bool(true) --- fgets() with length = 23, Expected: 22 chars, file pointer at 0 -- -bool(true) -string(22) "2222222222222222222222" -int(22) -bool(false) --- File content type : text -- --- fgets() with default length, file pointer at 0 -- -string(50) "text text text text text text text text text text " -int(50) -bool(true) --- fgets() with length = 23, Expected: 22 chars, file pointer at 0 -- -bool(true) -string(22) "text text text text te" -int(22) -bool(false) --- File content type : text_with_new_line -- --- fgets() with default length, file pointer at 0 -- -string(5) "line -" -int(5) -bool(false) --- fgets() with length = 23, Expected: 22 chars, file pointer at 0 -- -bool(true) -string(5) "line -" -int(5) -bool(false) --- File content type : alphanumeric -- --- fgets() with default length, file pointer at 0 -- -string(50) "ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 " -int(50) -bool(true) --- fgets() with length = 23, Expected: 22 chars, file pointer at 0 -- -bool(true) -string(22) "ab12 ab12 ab12 ab12 ab" -int(22) -bool(false) - --- Testing fgets() with file opened using mode rb -- --- File content type : numeric -- --- fgets() with default length, file pointer at 0 -- -string(50) "22222222222222222222222222222222222222222222222222" -int(50) -bool(true) --- fgets() with length = 23, Expected: 22 chars, file pointer at 0 -- -bool(true) -string(22) "2222222222222222222222" -int(22) -bool(false) --- File content type : text -- --- fgets() with default length, file pointer at 0 -- -string(50) "text text text text text text text text text text " -int(50) -bool(true) --- fgets() with length = 23, Expected: 22 chars, file pointer at 0 -- -bool(true) -string(22) "text text text text te" -int(22) -bool(false) --- File content type : text_with_new_line -- --- fgets() with default length, file pointer at 0 -- -string(5) "line -" -int(5) -bool(false) --- fgets() with length = 23, Expected: 22 chars, file pointer at 0 -- -bool(true) -string(5) "line -" -int(5) -bool(false) --- File content type : alphanumeric -- --- fgets() with default length, file pointer at 0 -- -string(50) "ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 " -int(50) -bool(true) --- fgets() with length = 23, Expected: 22 chars, file pointer at 0 -- -bool(true) -string(22) "ab12 ab12 ab12 ab12 ab" -int(22) -bool(false) - --- Testing fgets() with file opened using mode rt -- --- File content type : numeric -- --- fgets() with default length, file pointer at 0 -- -string(50) "22222222222222222222222222222222222222222222222222" -int(50) -bool(true) --- fgets() with length = 23, Expected: 22 chars, file pointer at 0 -- -bool(true) -string(22) "2222222222222222222222" -int(22) -bool(false) --- File content type : text -- --- fgets() with default length, file pointer at 0 -- -string(50) "text text text text text text text text text text " -int(50) -bool(true) --- fgets() with length = 23, Expected: 22 chars, file pointer at 0 -- -bool(true) -string(22) "text text text text te" -int(22) -bool(false) --- File content type : text_with_new_line -- --- fgets() with default length, file pointer at 0 -- -string(5) "line -" -int(5) -bool(false) --- fgets() with length = 23, Expected: 22 chars, file pointer at 0 -- -bool(true) -string(5) "line -" -int(5) -bool(false) --- File content type : alphanumeric -- --- fgets() with default length, file pointer at 0 -- -string(50) "ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 " -int(50) -bool(true) --- fgets() with length = 23, Expected: 22 chars, file pointer at 0 -- -bool(true) -string(22) "ab12 ab12 ab12 ab12 ab" -int(22) -bool(false) - --- Testing fgets() with file opened using mode r+ -- --- File content type : numeric -- --- fgets() with default length, file pointer at 0 -- -string(50) "22222222222222222222222222222222222222222222222222" -int(50) -bool(true) --- fgets() with length = 23, Expected: 22 chars, file pointer at 0 -- -bool(true) -string(22) "2222222222222222222222" -int(22) -bool(false) --- File content type : text -- --- fgets() with default length, file pointer at 0 -- -string(50) "text text text text text text text text text text " -int(50) -bool(true) --- fgets() with length = 23, Expected: 22 chars, file pointer at 0 -- -bool(true) -string(22) "text text text text te" -int(22) -bool(false) --- File content type : text_with_new_line -- --- fgets() with default length, file pointer at 0 -- -string(5) "line -" -int(5) -bool(false) --- fgets() with length = 23, Expected: 22 chars, file pointer at 0 -- -bool(true) -string(5) "line -" -int(5) -bool(false) --- File content type : alphanumeric -- --- fgets() with default length, file pointer at 0 -- -string(50) "ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 " -int(50) -bool(true) --- fgets() with length = 23, Expected: 22 chars, file pointer at 0 -- -bool(true) -string(22) "ab12 ab12 ab12 ab12 ab" -int(22) -bool(false) - --- Testing fgets() with file opened using mode r+b -- --- File content type : numeric -- --- fgets() with default length, file pointer at 0 -- -string(50) "22222222222222222222222222222222222222222222222222" -int(50) -bool(true) --- fgets() with length = 23, Expected: 22 chars, file pointer at 0 -- -bool(true) -string(22) "2222222222222222222222" -int(22) -bool(false) --- File content type : text -- --- fgets() with default length, file pointer at 0 -- -string(50) "text text text text text text text text text text " -int(50) -bool(true) --- fgets() with length = 23, Expected: 22 chars, file pointer at 0 -- -bool(true) -string(22) "text text text text te" -int(22) -bool(false) --- File content type : text_with_new_line -- --- fgets() with default length, file pointer at 0 -- -string(5) "line -" -int(5) -bool(false) --- fgets() with length = 23, Expected: 22 chars, file pointer at 0 -- -bool(true) -string(5) "line -" -int(5) -bool(false) --- File content type : alphanumeric -- --- fgets() with default length, file pointer at 0 -- -string(50) "ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 " -int(50) -bool(true) --- fgets() with length = 23, Expected: 22 chars, file pointer at 0 -- -bool(true) -string(22) "ab12 ab12 ab12 ab12 ab" -int(22) -bool(false) - --- Testing fgets() with file opened using mode r+t -- --- File content type : numeric -- --- fgets() with default length, file pointer at 0 -- -string(50) "22222222222222222222222222222222222222222222222222" -int(50) -bool(true) --- fgets() with length = 23, Expected: 22 chars, file pointer at 0 -- -bool(true) -string(22) "2222222222222222222222" -int(22) -bool(false) --- File content type : text -- --- fgets() with default length, file pointer at 0 -- -string(50) "text text text text text text text text text text " -int(50) -bool(true) --- fgets() with length = 23, Expected: 22 chars, file pointer at 0 -- -bool(true) -string(22) "text text text text te" -int(22) -bool(false) --- File content type : text_with_new_line -- --- fgets() with default length, file pointer at 0 -- -string(5) "line -" -int(5) -bool(false) --- fgets() with length = 23, Expected: 22 chars, file pointer at 0 -- -bool(true) -string(5) "line -" -int(5) -bool(false) --- File content type : alphanumeric -- --- fgets() with default length, file pointer at 0 -- -string(50) "ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 " -int(50) -bool(true) --- fgets() with length = 23, Expected: 22 chars, file pointer at 0 -- -bool(true) -string(22) "ab12 ab12 ab12 ab12 ab" -int(22) -bool(false) -Done ---UEXPECTF-- +--EXPECT-- *** Testing fgets() : basic functionality *** -- Testing fgets() with file opened using mode r -- @@ -582,4 +315,4 @@ bool(true) unicode(22) "ab12 ab12 ab12 ab12 ab" int(22) bool(false) -Done \ No newline at end of file +Done diff --git a/ext/standard/tests/file/fgets_error.phpt b/ext/standard/tests/file/fgets_error.phpt index 06629d6557..27d0b12930 100644 --- a/ext/standard/tests/file/fgets_error.phpt +++ b/ext/standard/tests/file/fgets_error.phpt @@ -76,56 +76,6 @@ bool(false) -- Testing fgets() with invalid arguments -- -- Iteration 1 -- -Warning: fgets() expects parameter 1 to be resource, string given in %s on line %d -NULL --- Iteration 2 -- - -Warning: fgets() expects parameter 1 to be resource, integer given in %s on line %d -NULL --- Iteration 3 -- - -Warning: fgets() expects parameter 1 to be resource, double given in %s on line %d -NULL --- Iteration 4 -- - -Warning: fgets() expects parameter 1 to be resource, boolean given in %s on line %d -NULL --- Iteration 5 -- - -Warning: fgets() expects parameter 1 to be resource, array given in %s on line %d -NULL --- Iteration 6 -- - -Warning: fgets() expects parameter 1 to be resource, object given in %s on line %d -NULL --- Testing fgets() with closed/unset file handle -- -Warning: fgets(): 5 is not a valid stream resource in %s on line %d -bool(false) - -Warning: fgets() expects parameter 1 to be resource, null given in %s on line %d -NULL -Done ---UEXPECTF-- -*** Testing error conditions *** --- Testing fgets() with zero argument -- - -Warning: fgets() expects at least 1 parameter, 0 given in %s on line %d -NULL --- Testing fgets() with more than expected number of arguments -- - -Warning: fgets() expects at most 2 parameters, 3 given in %s on line %d -NULL --- Testing fgets() with invalid length arguments -- - -Warning: fgets(): Length parameter must be greater than 0 in %s on line %d -bool(false) - -Warning: fgets(): Length parameter must be greater than 0 in %s on line %d -bool(false) -bool(false) --- Testing fgets() with invalid arguments -- --- Iteration 1 -- - Warning: fgets() expects parameter 1 to be resource, Unicode string given in %s on line %d NULL -- Iteration 2 -- diff --git a/ext/standard/tests/file/fgets_variation1.phpt b/ext/standard/tests/file/fgets_variation1.phpt index 65dae4d7bd..300dd27dc5 100644 --- a/ext/standard/tests/file/fgets_variation1.phpt +++ b/ext/standard/tests/file/fgets_variation1.phpt @@ -48,73 +48,7 @@ foreach ($file_modes as $file_mode ) { echo "Done\n"; ?> ---EXPECTF-- -*** Testing fgets() with file opened in write only mode *** --- File opened in mode : w -- -bool(true) -int(0) -bool(false) -bool(false) -int(0) -bool(false) --- File opened in mode : wb -- -bool(true) -int(0) -bool(false) -bool(false) -int(0) -bool(false) --- File opened in mode : wt -- -bool(true) -int(0) -bool(false) -bool(false) -int(0) -bool(false) --- File opened in mode : a -- -bool(true) -int(0) -bool(false) -bool(false) -int(0) -bool(false) --- File opened in mode : ab -- -bool(true) -int(0) -bool(false) -bool(false) -int(0) -bool(false) --- File opened in mode : at -- -bool(true) -int(0) -bool(false) -bool(false) -int(0) -bool(false) --- File opened in mode : x -- -bool(true) -int(0) -bool(false) -bool(false) -int(0) -bool(false) --- File opened in mode : xb -- -bool(true) -int(0) -bool(false) -bool(false) -int(0) -bool(false) --- File opened in mode : xt -- -bool(true) -int(0) -bool(false) -bool(false) -int(0) -bool(false) -Done ---UEXPECTF-- +--EXPECT-- *** Testing fgets() with file opened in write only mode *** -- File opened in mode : w -- bool(true) diff --git a/ext/standard/tests/file/fgets_variation2.phpt b/ext/standard/tests/file/fgets_variation2.phpt index ea70e4da87..60205a558c 100644 --- a/ext/standard/tests/file/fgets_variation2.phpt +++ b/ext/standard/tests/file/fgets_variation2.phpt @@ -60,24 +60,3 @@ Notice: Undefined variable: file_handle in %s on line %s Warning: fgets() expects parameter 1 to be resource, null given in %s on line %s NULL Done ---UEXPECTF-- -*** Testing fgets() : usage variations *** --- Testing fgets() with closed handle -- - -Warning: fgets(): 6 is not a valid stream resource in %s on line %s -bool(false) - -Warning: fgets(): 6 is not a valid stream resource in %s on line %s -bool(false) --- Testing fgets() with unset handle -- - -Notice: Undefined variable: file_handle in %s on line %s - -Warning: fgets() expects parameter 1 to be resource, null given in %s on line %s -NULL - -Notice: Undefined variable: file_handle in %s on line %s - -Warning: fgets() expects parameter 1 to be resource, null given in %s on line %s -NULL -Done \ No newline at end of file diff --git a/ext/standard/tests/file/fgets_variation3.phpt b/ext/standard/tests/file/fgets_variation3.phpt index 4bb3f52850..a078ed582f 100644 --- a/ext/standard/tests/file/fgets_variation3.phpt +++ b/ext/standard/tests/file/fgets_variation3.phpt @@ -63,442 +63,7 @@ foreach($file_modes as $file_mode) { echo "Done\n"; ?> ---EXPECTF-- -*** Testing fgets() : usage variations *** - --- Testing fgets() with file opened using mode w+ -- --- File content type : numeric -- --- fgets() with default length, file pointer at 0 -- -int(0) -string(50) "22222222222222222222222222222222222222222222222222" -int(50) -bool(true) --- fgets() with length = 23, Expected: 22 chars, file pointer at 0 -- -int(0) -string(22) "2222222222222222222222" -int(22) -bool(false) --- File content type : text -- --- fgets() with default length, file pointer at 0 -- -int(0) -string(50) "text text text text text text text text text text " -int(50) -bool(true) --- fgets() with length = 23, Expected: 22 chars, file pointer at 0 -- -int(0) -string(22) "text text text text te" -int(22) -bool(false) --- File content type : text_with_new_line -- --- fgets() with default length, file pointer at 0 -- -int(0) -string(5) "line -" -int(5) -bool(false) --- fgets() with length = 23, Expected: 22 chars, file pointer at 0 -- -int(0) -string(5) "line -" -int(5) -bool(false) --- File content type : alphanumeric -- --- fgets() with default length, file pointer at 0 -- -int(0) -string(50) "ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 " -int(50) -bool(true) --- fgets() with length = 23, Expected: 22 chars, file pointer at 0 -- -int(0) -string(22) "ab12 ab12 ab12 ab12 ab" -int(22) -bool(false) - --- Testing fgets() with file opened using mode w+b -- --- File content type : numeric -- --- fgets() with default length, file pointer at 0 -- -int(0) -string(50) "22222222222222222222222222222222222222222222222222" -int(50) -bool(true) --- fgets() with length = 23, Expected: 22 chars, file pointer at 0 -- -int(0) -string(22) "2222222222222222222222" -int(22) -bool(false) --- File content type : text -- --- fgets() with default length, file pointer at 0 -- -int(0) -string(50) "text text text text text text text text text text " -int(50) -bool(true) --- fgets() with length = 23, Expected: 22 chars, file pointer at 0 -- -int(0) -string(22) "text text text text te" -int(22) -bool(false) --- File content type : text_with_new_line -- --- fgets() with default length, file pointer at 0 -- -int(0) -string(5) "line -" -int(5) -bool(false) --- fgets() with length = 23, Expected: 22 chars, file pointer at 0 -- -int(0) -string(5) "line -" -int(5) -bool(false) --- File content type : alphanumeric -- --- fgets() with default length, file pointer at 0 -- -int(0) -string(50) "ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 " -int(50) -bool(true) --- fgets() with length = 23, Expected: 22 chars, file pointer at 0 -- -int(0) -string(22) "ab12 ab12 ab12 ab12 ab" -int(22) -bool(false) - --- Testing fgets() with file opened using mode w+t -- --- File content type : numeric -- --- fgets() with default length, file pointer at 0 -- -int(0) -string(50) "22222222222222222222222222222222222222222222222222" -int(50) -bool(true) --- fgets() with length = 23, Expected: 22 chars, file pointer at 0 -- -int(0) -string(22) "2222222222222222222222" -int(22) -bool(false) --- File content type : text -- --- fgets() with default length, file pointer at 0 -- -int(0) -string(50) "text text text text text text text text text text " -int(50) -bool(true) --- fgets() with length = 23, Expected: 22 chars, file pointer at 0 -- -int(0) -string(22) "text text text text te" -int(22) -bool(false) --- File content type : text_with_new_line -- --- fgets() with default length, file pointer at 0 -- -int(0) -string(5) "line -" -int(5) -bool(false) --- fgets() with length = 23, Expected: 22 chars, file pointer at 0 -- -int(0) -string(5) "line -" -int(5) -bool(false) --- File content type : alphanumeric -- --- fgets() with default length, file pointer at 0 -- -int(0) -string(50) "ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 " -int(50) -bool(true) --- fgets() with length = 23, Expected: 22 chars, file pointer at 0 -- -int(0) -string(22) "ab12 ab12 ab12 ab12 ab" -int(22) -bool(false) - --- Testing fgets() with file opened using mode a+ -- --- File content type : numeric -- --- fgets() with default length, file pointer at 0 -- -int(0) -string(50) "22222222222222222222222222222222222222222222222222" -int(50) -bool(true) --- fgets() with length = 23, Expected: 22 chars, file pointer at 0 -- -int(0) -string(22) "2222222222222222222222" -int(22) -bool(false) --- File content type : text -- --- fgets() with default length, file pointer at 0 -- -int(0) -string(50) "text text text text text text text text text text " -int(50) -bool(true) --- fgets() with length = 23, Expected: 22 chars, file pointer at 0 -- -int(0) -string(22) "text text text text te" -int(22) -bool(false) --- File content type : text_with_new_line -- --- fgets() with default length, file pointer at 0 -- -int(0) -string(5) "line -" -int(5) -bool(false) --- fgets() with length = 23, Expected: 22 chars, file pointer at 0 -- -int(0) -string(5) "line -" -int(5) -bool(false) --- File content type : alphanumeric -- --- fgets() with default length, file pointer at 0 -- -int(0) -string(50) "ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 " -int(50) -bool(true) --- fgets() with length = 23, Expected: 22 chars, file pointer at 0 -- -int(0) -string(22) "ab12 ab12 ab12 ab12 ab" -int(22) -bool(false) - --- Testing fgets() with file opened using mode a+b -- --- File content type : numeric -- --- fgets() with default length, file pointer at 0 -- -int(0) -string(50) "22222222222222222222222222222222222222222222222222" -int(50) -bool(true) --- fgets() with length = 23, Expected: 22 chars, file pointer at 0 -- -int(0) -string(22) "2222222222222222222222" -int(22) -bool(false) --- File content type : text -- --- fgets() with default length, file pointer at 0 -- -int(0) -string(50) "text text text text text text text text text text " -int(50) -bool(true) --- fgets() with length = 23, Expected: 22 chars, file pointer at 0 -- -int(0) -string(22) "text text text text te" -int(22) -bool(false) --- File content type : text_with_new_line -- --- fgets() with default length, file pointer at 0 -- -int(0) -string(5) "line -" -int(5) -bool(false) --- fgets() with length = 23, Expected: 22 chars, file pointer at 0 -- -int(0) -string(5) "line -" -int(5) -bool(false) --- File content type : alphanumeric -- --- fgets() with default length, file pointer at 0 -- -int(0) -string(50) "ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 " -int(50) -bool(true) --- fgets() with length = 23, Expected: 22 chars, file pointer at 0 -- -int(0) -string(22) "ab12 ab12 ab12 ab12 ab" -int(22) -bool(false) - --- Testing fgets() with file opened using mode a+t -- --- File content type : numeric -- --- fgets() with default length, file pointer at 0 -- -int(0) -string(50) "22222222222222222222222222222222222222222222222222" -int(50) -bool(true) --- fgets() with length = 23, Expected: 22 chars, file pointer at 0 -- -int(0) -string(22) "2222222222222222222222" -int(22) -bool(false) --- File content type : text -- --- fgets() with default length, file pointer at 0 -- -int(0) -string(50) "text text text text text text text text text text " -int(50) -bool(true) --- fgets() with length = 23, Expected: 22 chars, file pointer at 0 -- -int(0) -string(22) "text text text text te" -int(22) -bool(false) --- File content type : text_with_new_line -- --- fgets() with default length, file pointer at 0 -- -int(0) -string(5) "line -" -int(5) -bool(false) --- fgets() with length = 23, Expected: 22 chars, file pointer at 0 -- -int(0) -string(5) "line -" -int(5) -bool(false) --- File content type : alphanumeric -- --- fgets() with default length, file pointer at 0 -- -int(0) -string(50) "ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 " -int(50) -bool(true) --- fgets() with length = 23, Expected: 22 chars, file pointer at 0 -- -int(0) -string(22) "ab12 ab12 ab12 ab12 ab" -int(22) -bool(false) - --- Testing fgets() with file opened using mode x+ -- --- File content type : numeric -- --- fgets() with default length, file pointer at 0 -- -int(0) -string(50) "22222222222222222222222222222222222222222222222222" -int(50) -bool(true) --- fgets() with length = 23, Expected: 22 chars, file pointer at 0 -- -int(0) -string(22) "2222222222222222222222" -int(22) -bool(false) --- File content type : text -- --- fgets() with default length, file pointer at 0 -- -int(0) -string(50) "text text text text text text text text text text " -int(50) -bool(true) --- fgets() with length = 23, Expected: 22 chars, file pointer at 0 -- -int(0) -string(22) "text text text text te" -int(22) -bool(false) --- File content type : text_with_new_line -- --- fgets() with default length, file pointer at 0 -- -int(0) -string(5) "line -" -int(5) -bool(false) --- fgets() with length = 23, Expected: 22 chars, file pointer at 0 -- -int(0) -string(5) "line -" -int(5) -bool(false) --- File content type : alphanumeric -- --- fgets() with default length, file pointer at 0 -- -int(0) -string(50) "ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 " -int(50) -bool(true) --- fgets() with length = 23, Expected: 22 chars, file pointer at 0 -- -int(0) -string(22) "ab12 ab12 ab12 ab12 ab" -int(22) -bool(false) - --- Testing fgets() with file opened using mode x+b -- --- File content type : numeric -- --- fgets() with default length, file pointer at 0 -- -int(0) -string(50) "22222222222222222222222222222222222222222222222222" -int(50) -bool(true) --- fgets() with length = 23, Expected: 22 chars, file pointer at 0 -- -int(0) -string(22) "2222222222222222222222" -int(22) -bool(false) --- File content type : text -- --- fgets() with default length, file pointer at 0 -- -int(0) -string(50) "text text text text text text text text text text " -int(50) -bool(true) --- fgets() with length = 23, Expected: 22 chars, file pointer at 0 -- -int(0) -string(22) "text text text text te" -int(22) -bool(false) --- File content type : text_with_new_line -- --- fgets() with default length, file pointer at 0 -- -int(0) -string(5) "line -" -int(5) -bool(false) --- fgets() with length = 23, Expected: 22 chars, file pointer at 0 -- -int(0) -string(5) "line -" -int(5) -bool(false) --- File content type : alphanumeric -- --- fgets() with default length, file pointer at 0 -- -int(0) -string(50) "ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 " -int(50) -bool(true) --- fgets() with length = 23, Expected: 22 chars, file pointer at 0 -- -int(0) -string(22) "ab12 ab12 ab12 ab12 ab" -int(22) -bool(false) - --- Testing fgets() with file opened using mode x+t -- --- File content type : numeric -- --- fgets() with default length, file pointer at 0 -- -int(0) -string(50) "22222222222222222222222222222222222222222222222222" -int(50) -bool(true) --- fgets() with length = 23, Expected: 22 chars, file pointer at 0 -- -int(0) -string(22) "2222222222222222222222" -int(22) -bool(false) --- File content type : text -- --- fgets() with default length, file pointer at 0 -- -int(0) -string(50) "text text text text text text text text text text " -int(50) -bool(true) --- fgets() with length = 23, Expected: 22 chars, file pointer at 0 -- -int(0) -string(22) "text text text text te" -int(22) -bool(false) --- File content type : text_with_new_line -- --- fgets() with default length, file pointer at 0 -- -int(0) -string(5) "line -" -int(5) -bool(false) --- fgets() with length = 23, Expected: 22 chars, file pointer at 0 -- -int(0) -string(5) "line -" -int(5) -bool(false) --- File content type : alphanumeric -- --- fgets() with default length, file pointer at 0 -- -int(0) -string(50) "ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 " -int(50) -bool(true) --- fgets() with length = 23, Expected: 22 chars, file pointer at 0 -- -int(0) -string(22) "ab12 ab12 ab12 ab12 ab" -int(22) -bool(false) -Done ---UEXPECTF-- +--EXPECT-- *** Testing fgets() : usage variations *** -- Testing fgets() with file opened using mode w+ -- @@ -932,4 +497,4 @@ int(0) unicode(22) "ab12 ab12 ab12 ab12 ab" int(22) bool(false) -Done \ No newline at end of file +Done diff --git a/ext/standard/tests/file/fgets_variation4-win32.phpt b/ext/standard/tests/file/fgets_variation4-win32.phpt index e03d90a709..00d0bb1e35 100644 --- a/ext/standard/tests/file/fgets_variation4-win32.phpt +++ b/ext/standard/tests/file/fgets_variation4-win32.phpt @@ -65,514 +65,7 @@ foreach($file_modes as $file_mode) { echo "Done\n"; ?> ---EXPECTF-- -*** Testing fgets() : usage variations *** - --- Testing fgets() with file opened using mode w+ -- --- File content type : numeric -- --- fgets() with location set by fseek() with default length -- -int(0) -int(5) -string(45) "222222222222222222222222222222222222222222222" -int(50) -bool(true) --- fgets() with location set by fseek() with length = 20 -- -int(0) -int(25) -string(19) "2222222222222222222" -int(44) -bool(false) --- File content type : text -- --- fgets() with location set by fseek() with default length -- -int(0) -int(5) -string(45) "text text text text text text text text text " -int(50) -bool(true) --- fgets() with location set by fseek() with length = 20 -- -int(0) -int(25) -string(19) "text text text text" -int(44) -bool(false) --- File content type : text_with_new_line -- --- fgets() with location set by fseek() with default length -- -int(0) -int(5) -string(13) "line of text -" -int(18) -bool(false) --- fgets() with location set by fseek() with length = 20 -- -int(0) -int(25) -string(11) "ne of text -" -int(36) -bool(false) --- File content type : alphanumeric -- --- fgets() with location set by fseek() with default length -- -int(0) -int(5) -string(45) "ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 " -int(50) -bool(true) --- fgets() with location set by fseek() with length = 20 -- -int(0) -int(25) -string(19) "ab12 ab12 ab12 ab12" -int(44) -bool(false) - --- Testing fgets() with file opened using mode w+b -- --- File content type : numeric -- --- fgets() with location set by fseek() with default length -- -int(0) -int(5) -string(45) "222222222222222222222222222222222222222222222" -int(50) -bool(true) --- fgets() with location set by fseek() with length = 20 -- -int(0) -int(25) -string(19) "2222222222222222222" -int(44) -bool(false) --- File content type : text -- --- fgets() with location set by fseek() with default length -- -int(0) -int(5) -string(45) "text text text text text text text text text " -int(50) -bool(true) --- fgets() with location set by fseek() with length = 20 -- -int(0) -int(25) -string(19) "text text text text" -int(44) -bool(false) --- File content type : text_with_new_line -- --- fgets() with location set by fseek() with default length -- -int(0) -int(5) -string(13) "line of text -" -int(18) -bool(false) --- fgets() with location set by fseek() with length = 20 -- -int(0) -int(25) -string(11) "ne of text -" -int(36) -bool(false) --- File content type : alphanumeric -- --- fgets() with location set by fseek() with default length -- -int(0) -int(5) -string(45) "ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 " -int(50) -bool(true) --- fgets() with location set by fseek() with length = 20 -- -int(0) -int(25) -string(19) "ab12 ab12 ab12 ab12" -int(44) -bool(false) - --- Testing fgets() with file opened using mode w+t -- --- File content type : numeric -- --- fgets() with location set by fseek() with default length -- -int(0) -int(5) -string(45) "222222222222222222222222222222222222222222222" -int(50) -bool(true) --- fgets() with location set by fseek() with length = 20 -- -int(0) -int(25) -string(19) "2222222222222222222" -int(44) -bool(false) --- File content type : text -- --- fgets() with location set by fseek() with default length -- -int(0) -int(5) -string(45) "text text text text text text text text text " -int(50) -bool(true) --- fgets() with location set by fseek() with length = 20 -- -int(0) -int(25) -string(19) "text text text text" -int(44) -bool(false) --- File content type : text_with_new_line -- --- fgets() with location set by fseek() with default length -- -int(0) -int(5) -string(1) " -" -int(6) -bool(false) --- fgets() with location set by fseek() with length = 20 -- -int(0) -int(25) -string(12) "ine of text -" -int(37) -bool(false) --- File content type : alphanumeric -- --- fgets() with location set by fseek() with default length -- -int(0) -int(5) -string(45) "ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 " -int(50) -bool(true) --- fgets() with location set by fseek() with length = 20 -- -int(0) -int(25) -string(19) "ab12 ab12 ab12 ab12" -int(44) -bool(false) - --- Testing fgets() with file opened using mode a+ -- --- File content type : numeric -- --- fgets() with location set by fseek() with default length -- -int(0) -int(5) -string(45) "222222222222222222222222222222222222222222222" -int(50) -bool(true) --- fgets() with location set by fseek() with length = 20 -- -int(0) -int(25) -string(19) "2222222222222222222" -int(44) -bool(false) --- File content type : text -- --- fgets() with location set by fseek() with default length -- -int(0) -int(5) -string(45) "text text text text text text text text text " -int(50) -bool(true) --- fgets() with location set by fseek() with length = 20 -- -int(0) -int(25) -string(19) "text text text text" -int(44) -bool(false) --- File content type : text_with_new_line -- --- fgets() with location set by fseek() with default length -- -int(0) -int(5) -string(13) "line of text -" -int(18) -bool(false) --- fgets() with location set by fseek() with length = 20 -- -int(0) -int(25) -string(11) "ne of text -" -int(36) -bool(false) --- File content type : alphanumeric -- --- fgets() with location set by fseek() with default length -- -int(0) -int(5) -string(45) "ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 " -int(50) -bool(true) --- fgets() with location set by fseek() with length = 20 -- -int(0) -int(25) -string(19) "ab12 ab12 ab12 ab12" -int(44) -bool(false) - --- Testing fgets() with file opened using mode a+b -- --- File content type : numeric -- --- fgets() with location set by fseek() with default length -- -int(0) -int(5) -string(45) "222222222222222222222222222222222222222222222" -int(50) -bool(true) --- fgets() with location set by fseek() with length = 20 -- -int(0) -int(25) -string(19) "2222222222222222222" -int(44) -bool(false) --- File content type : text -- --- fgets() with location set by fseek() with default length -- -int(0) -int(5) -string(45) "text text text text text text text text text " -int(50) -bool(true) --- fgets() with location set by fseek() with length = 20 -- -int(0) -int(25) -string(19) "text text text text" -int(44) -bool(false) --- File content type : text_with_new_line -- --- fgets() with location set by fseek() with default length -- -int(0) -int(5) -string(13) "line of text -" -int(18) -bool(false) --- fgets() with location set by fseek() with length = 20 -- -int(0) -int(25) -string(11) "ne of text -" -int(36) -bool(false) --- File content type : alphanumeric -- --- fgets() with location set by fseek() with default length -- -int(0) -int(5) -string(45) "ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 " -int(50) -bool(true) --- fgets() with location set by fseek() with length = 20 -- -int(0) -int(25) -string(19) "ab12 ab12 ab12 ab12" -int(44) -bool(false) - --- Testing fgets() with file opened using mode a+t -- --- File content type : numeric -- --- fgets() with location set by fseek() with default length -- -int(0) -int(5) -string(45) "222222222222222222222222222222222222222222222" -int(50) -bool(true) --- fgets() with location set by fseek() with length = 20 -- -int(0) -int(25) -string(19) "2222222222222222222" -int(44) -bool(false) --- File content type : text -- --- fgets() with location set by fseek() with default length -- -int(0) -int(5) -string(45) "text text text text text text text text text " -int(50) -bool(true) --- fgets() with location set by fseek() with length = 20 -- -int(0) -int(25) -string(19) "text text text text" -int(44) -bool(false) --- File content type : text_with_new_line -- --- fgets() with location set by fseek() with default length -- -int(0) -int(5) -string(1) " -" -int(6) -bool(false) --- fgets() with location set by fseek() with length = 20 -- -int(0) -int(25) -string(12) "ine of text -" -int(37) -bool(false) --- File content type : alphanumeric -- --- fgets() with location set by fseek() with default length -- -int(0) -int(5) -string(45) "ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 " -int(50) -bool(true) --- fgets() with location set by fseek() with length = 20 -- -int(0) -int(25) -string(19) "ab12 ab12 ab12 ab12" -int(44) -bool(false) - --- Testing fgets() with file opened using mode x+ -- --- File content type : numeric -- --- fgets() with location set by fseek() with default length -- -int(0) -int(5) -string(45) "222222222222222222222222222222222222222222222" -int(50) -bool(true) --- fgets() with location set by fseek() with length = 20 -- -int(0) -int(25) -string(19) "2222222222222222222" -int(44) -bool(false) --- File content type : text -- --- fgets() with location set by fseek() with default length -- -int(0) -int(5) -string(45) "text text text text text text text text text " -int(50) -bool(true) --- fgets() with location set by fseek() with length = 20 -- -int(0) -int(25) -string(19) "text text text text" -int(44) -bool(false) --- File content type : text_with_new_line -- --- fgets() with location set by fseek() with default length -- -int(0) -int(5) -string(13) "line of text -" -int(18) -bool(false) --- fgets() with location set by fseek() with length = 20 -- -int(0) -int(25) -string(11) "ne of text -" -int(36) -bool(false) --- File content type : alphanumeric -- --- fgets() with location set by fseek() with default length -- -int(0) -int(5) -string(45) "ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 " -int(50) -bool(true) --- fgets() with location set by fseek() with length = 20 -- -int(0) -int(25) -string(19) "ab12 ab12 ab12 ab12" -int(44) -bool(false) - --- Testing fgets() with file opened using mode x+b -- --- File content type : numeric -- --- fgets() with location set by fseek() with default length -- -int(0) -int(5) -string(45) "222222222222222222222222222222222222222222222" -int(50) -bool(true) --- fgets() with location set by fseek() with length = 20 -- -int(0) -int(25) -string(19) "2222222222222222222" -int(44) -bool(false) --- File content type : text -- --- fgets() with location set by fseek() with default length -- -int(0) -int(5) -string(45) "text text text text text text text text text " -int(50) -bool(true) --- fgets() with location set by fseek() with length = 20 -- -int(0) -int(25) -string(19) "text text text text" -int(44) -bool(false) --- File content type : text_with_new_line -- --- fgets() with location set by fseek() with default length -- -int(0) -int(5) -string(13) "line of text -" -int(18) -bool(false) --- fgets() with location set by fseek() with length = 20 -- -int(0) -int(25) -string(11) "ne of text -" -int(36) -bool(false) --- File content type : alphanumeric -- --- fgets() with location set by fseek() with default length -- -int(0) -int(5) -string(45) "ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 " -int(50) -bool(true) --- fgets() with location set by fseek() with length = 20 -- -int(0) -int(25) -string(19) "ab12 ab12 ab12 ab12" -int(44) -bool(false) - --- Testing fgets() with file opened using mode x+t -- --- File content type : numeric -- --- fgets() with location set by fseek() with default length -- -int(0) -int(5) -string(45) "222222222222222222222222222222222222222222222" -int(50) -bool(true) --- fgets() with location set by fseek() with length = 20 -- -int(0) -int(25) -string(19) "2222222222222222222" -int(44) -bool(false) --- File content type : text -- --- fgets() with location set by fseek() with default length -- -int(0) -int(5) -string(45) "text text text text text text text text text " -int(50) -bool(true) --- fgets() with location set by fseek() with length = 20 -- -int(0) -int(25) -string(19) "text text text text" -int(44) -bool(false) --- File content type : text_with_new_line -- --- fgets() with location set by fseek() with default length -- -int(0) -int(5) -string(1) " -" -int(6) -bool(false) --- fgets() with location set by fseek() with length = 20 -- -int(0) -int(25) -string(12) "ine of text -" -int(37) -bool(false) --- File content type : alphanumeric -- --- fgets() with location set by fseek() with default length -- -int(0) -int(5) -string(45) "ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 " -int(50) -bool(true) --- fgets() with location set by fseek() with length = 20 -- -int(0) -int(25) -string(19) "ab12 ab12 ab12 ab12" -int(44) -bool(false) -Done ---UEXPECTF-- +--EXPECT-- *** Testing fgets() : usage variations *** -- Testing fgets() with file opened using mode w+ -- diff --git a/ext/standard/tests/file/fgets_variation4.phpt b/ext/standard/tests/file/fgets_variation4.phpt index 66f87a0d4b..046d383a87 100644 --- a/ext/standard/tests/file/fgets_variation4.phpt +++ b/ext/standard/tests/file/fgets_variation4.phpt @@ -64,514 +64,7 @@ foreach($file_modes as $file_mode) { echo "Done\n"; ?> ---EXPECTF-- -*** Testing fgets() : usage variations *** - --- Testing fgets() with file opened using mode w+ -- --- File content type : numeric -- --- fgets() with location set by fseek() with default length -- -int(0) -int(5) -string(45) "222222222222222222222222222222222222222222222" -int(50) -bool(true) --- fgets() with location set by fseek() with length = 20 -- -int(0) -int(25) -string(19) "2222222222222222222" -int(44) -bool(false) --- File content type : text -- --- fgets() with location set by fseek() with default length -- -int(0) -int(5) -string(45) "text text text text text text text text text " -int(50) -bool(true) --- fgets() with location set by fseek() with length = 20 -- -int(0) -int(25) -string(19) "text text text text" -int(44) -bool(false) --- File content type : text_with_new_line -- --- fgets() with location set by fseek() with default length -- -int(0) -int(5) -string(13) "line of text -" -int(18) -bool(false) --- fgets() with location set by fseek() with length = 20 -- -int(0) -int(25) -string(11) "ne of text -" -int(36) -bool(false) --- File content type : alphanumeric -- --- fgets() with location set by fseek() with default length -- -int(0) -int(5) -string(45) "ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 " -int(50) -bool(true) --- fgets() with location set by fseek() with length = 20 -- -int(0) -int(25) -string(19) "ab12 ab12 ab12 ab12" -int(44) -bool(false) - --- Testing fgets() with file opened using mode w+b -- --- File content type : numeric -- --- fgets() with location set by fseek() with default length -- -int(0) -int(5) -string(45) "222222222222222222222222222222222222222222222" -int(50) -bool(true) --- fgets() with location set by fseek() with length = 20 -- -int(0) -int(25) -string(19) "2222222222222222222" -int(44) -bool(false) --- File content type : text -- --- fgets() with location set by fseek() with default length -- -int(0) -int(5) -string(45) "text text text text text text text text text " -int(50) -bool(true) --- fgets() with location set by fseek() with length = 20 -- -int(0) -int(25) -string(19) "text text text text" -int(44) -bool(false) --- File content type : text_with_new_line -- --- fgets() with location set by fseek() with default length -- -int(0) -int(5) -string(13) "line of text -" -int(18) -bool(false) --- fgets() with location set by fseek() with length = 20 -- -int(0) -int(25) -string(11) "ne of text -" -int(36) -bool(false) --- File content type : alphanumeric -- --- fgets() with location set by fseek() with default length -- -int(0) -int(5) -string(45) "ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 " -int(50) -bool(true) --- fgets() with location set by fseek() with length = 20 -- -int(0) -int(25) -string(19) "ab12 ab12 ab12 ab12" -int(44) -bool(false) - --- Testing fgets() with file opened using mode w+t -- --- File content type : numeric -- --- fgets() with location set by fseek() with default length -- -int(0) -int(5) -string(45) "222222222222222222222222222222222222222222222" -int(50) -bool(true) --- fgets() with location set by fseek() with length = 20 -- -int(0) -int(25) -string(19) "2222222222222222222" -int(44) -bool(false) --- File content type : text -- --- fgets() with location set by fseek() with default length -- -int(0) -int(5) -string(45) "text text text text text text text text text " -int(50) -bool(true) --- fgets() with location set by fseek() with length = 20 -- -int(0) -int(25) -string(19) "text text text text" -int(44) -bool(false) --- File content type : text_with_new_line -- --- fgets() with location set by fseek() with default length -- -int(0) -int(5) -string(13) "line of text -" -int(18) -bool(false) --- fgets() with location set by fseek() with length = 20 -- -int(0) -int(25) -string(11) "ne of text -" -int(36) -bool(false) --- File content type : alphanumeric -- --- fgets() with location set by fseek() with default length -- -int(0) -int(5) -string(45) "ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 " -int(50) -bool(true) --- fgets() with location set by fseek() with length = 20 -- -int(0) -int(25) -string(19) "ab12 ab12 ab12 ab12" -int(44) -bool(false) - --- Testing fgets() with file opened using mode a+ -- --- File content type : numeric -- --- fgets() with location set by fseek() with default length -- -int(0) -int(5) -string(45) "222222222222222222222222222222222222222222222" -int(50) -bool(true) --- fgets() with location set by fseek() with length = 20 -- -int(0) -int(25) -string(19) "2222222222222222222" -int(44) -bool(false) --- File content type : text -- --- fgets() with location set by fseek() with default length -- -int(0) -int(5) -string(45) "text text text text text text text text text " -int(50) -bool(true) --- fgets() with location set by fseek() with length = 20 -- -int(0) -int(25) -string(19) "text text text text" -int(44) -bool(false) --- File content type : text_with_new_line -- --- fgets() with location set by fseek() with default length -- -int(0) -int(5) -string(13) "line of text -" -int(18) -bool(false) --- fgets() with location set by fseek() with length = 20 -- -int(0) -int(25) -string(11) "ne of text -" -int(36) -bool(false) --- File content type : alphanumeric -- --- fgets() with location set by fseek() with default length -- -int(0) -int(5) -string(45) "ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 " -int(50) -bool(true) --- fgets() with location set by fseek() with length = 20 -- -int(0) -int(25) -string(19) "ab12 ab12 ab12 ab12" -int(44) -bool(false) - --- Testing fgets() with file opened using mode a+b -- --- File content type : numeric -- --- fgets() with location set by fseek() with default length -- -int(0) -int(5) -string(45) "222222222222222222222222222222222222222222222" -int(50) -bool(true) --- fgets() with location set by fseek() with length = 20 -- -int(0) -int(25) -string(19) "2222222222222222222" -int(44) -bool(false) --- File content type : text -- --- fgets() with location set by fseek() with default length -- -int(0) -int(5) -string(45) "text text text text text text text text text " -int(50) -bool(true) --- fgets() with location set by fseek() with length = 20 -- -int(0) -int(25) -string(19) "text text text text" -int(44) -bool(false) --- File content type : text_with_new_line -- --- fgets() with location set by fseek() with default length -- -int(0) -int(5) -string(13) "line of text -" -int(18) -bool(false) --- fgets() with location set by fseek() with length = 20 -- -int(0) -int(25) -string(11) "ne of text -" -int(36) -bool(false) --- File content type : alphanumeric -- --- fgets() with location set by fseek() with default length -- -int(0) -int(5) -string(45) "ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 " -int(50) -bool(true) --- fgets() with location set by fseek() with length = 20 -- -int(0) -int(25) -string(19) "ab12 ab12 ab12 ab12" -int(44) -bool(false) - --- Testing fgets() with file opened using mode a+t -- --- File content type : numeric -- --- fgets() with location set by fseek() with default length -- -int(0) -int(5) -string(45) "222222222222222222222222222222222222222222222" -int(50) -bool(true) --- fgets() with location set by fseek() with length = 20 -- -int(0) -int(25) -string(19) "2222222222222222222" -int(44) -bool(false) --- File content type : text -- --- fgets() with location set by fseek() with default length -- -int(0) -int(5) -string(45) "text text text text text text text text text " -int(50) -bool(true) --- fgets() with location set by fseek() with length = 20 -- -int(0) -int(25) -string(19) "text text text text" -int(44) -bool(false) --- File content type : text_with_new_line -- --- fgets() with location set by fseek() with default length -- -int(0) -int(5) -string(13) "line of text -" -int(18) -bool(false) --- fgets() with location set by fseek() with length = 20 -- -int(0) -int(25) -string(11) "ne of text -" -int(36) -bool(false) --- File content type : alphanumeric -- --- fgets() with location set by fseek() with default length -- -int(0) -int(5) -string(45) "ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 " -int(50) -bool(true) --- fgets() with location set by fseek() with length = 20 -- -int(0) -int(25) -string(19) "ab12 ab12 ab12 ab12" -int(44) -bool(false) - --- Testing fgets() with file opened using mode x+ -- --- File content type : numeric -- --- fgets() with location set by fseek() with default length -- -int(0) -int(5) -string(45) "222222222222222222222222222222222222222222222" -int(50) -bool(true) --- fgets() with location set by fseek() with length = 20 -- -int(0) -int(25) -string(19) "2222222222222222222" -int(44) -bool(false) --- File content type : text -- --- fgets() with location set by fseek() with default length -- -int(0) -int(5) -string(45) "text text text text text text text text text " -int(50) -bool(true) --- fgets() with location set by fseek() with length = 20 -- -int(0) -int(25) -string(19) "text text text text" -int(44) -bool(false) --- File content type : text_with_new_line -- --- fgets() with location set by fseek() with default length -- -int(0) -int(5) -string(13) "line of text -" -int(18) -bool(false) --- fgets() with location set by fseek() with length = 20 -- -int(0) -int(25) -string(11) "ne of text -" -int(36) -bool(false) --- File content type : alphanumeric -- --- fgets() with location set by fseek() with default length -- -int(0) -int(5) -string(45) "ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 " -int(50) -bool(true) --- fgets() with location set by fseek() with length = 20 -- -int(0) -int(25) -string(19) "ab12 ab12 ab12 ab12" -int(44) -bool(false) - --- Testing fgets() with file opened using mode x+b -- --- File content type : numeric -- --- fgets() with location set by fseek() with default length -- -int(0) -int(5) -string(45) "222222222222222222222222222222222222222222222" -int(50) -bool(true) --- fgets() with location set by fseek() with length = 20 -- -int(0) -int(25) -string(19) "2222222222222222222" -int(44) -bool(false) --- File content type : text -- --- fgets() with location set by fseek() with default length -- -int(0) -int(5) -string(45) "text text text text text text text text text " -int(50) -bool(true) --- fgets() with location set by fseek() with length = 20 -- -int(0) -int(25) -string(19) "text text text text" -int(44) -bool(false) --- File content type : text_with_new_line -- --- fgets() with location set by fseek() with default length -- -int(0) -int(5) -string(13) "line of text -" -int(18) -bool(false) --- fgets() with location set by fseek() with length = 20 -- -int(0) -int(25) -string(11) "ne of text -" -int(36) -bool(false) --- File content type : alphanumeric -- --- fgets() with location set by fseek() with default length -- -int(0) -int(5) -string(45) "ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 " -int(50) -bool(true) --- fgets() with location set by fseek() with length = 20 -- -int(0) -int(25) -string(19) "ab12 ab12 ab12 ab12" -int(44) -bool(false) - --- Testing fgets() with file opened using mode x+t -- --- File content type : numeric -- --- fgets() with location set by fseek() with default length -- -int(0) -int(5) -string(45) "222222222222222222222222222222222222222222222" -int(50) -bool(true) --- fgets() with location set by fseek() with length = 20 -- -int(0) -int(25) -string(19) "2222222222222222222" -int(44) -bool(false) --- File content type : text -- --- fgets() with location set by fseek() with default length -- -int(0) -int(5) -string(45) "text text text text text text text text text " -int(50) -bool(true) --- fgets() with location set by fseek() with length = 20 -- -int(0) -int(25) -string(19) "text text text text" -int(44) -bool(false) --- File content type : text_with_new_line -- --- fgets() with location set by fseek() with default length -- -int(0) -int(5) -string(13) "line of text -" -int(18) -bool(false) --- fgets() with location set by fseek() with length = 20 -- -int(0) -int(25) -string(11) "ne of text -" -int(36) -bool(false) --- File content type : alphanumeric -- --- fgets() with location set by fseek() with default length -- -int(0) -int(5) -string(45) "ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 " -int(50) -bool(true) --- fgets() with location set by fseek() with length = 20 -- -int(0) -int(25) -string(19) "ab12 ab12 ab12 ab12" -int(44) -bool(false) -Done ---UEXPECTF-- +--EXPECT-- *** Testing fgets() : usage variations *** -- Testing fgets() with file opened using mode w+ -- @@ -1077,4 +570,4 @@ int(25) unicode(19) "ab12 ab12 ab12 ab12" int(44) bool(false) -Done \ No newline at end of file +Done diff --git a/ext/standard/tests/file/fgets_variation5.phpt b/ext/standard/tests/file/fgets_variation5.phpt index 738ba37cd7..d1b3826c28 100644 --- a/ext/standard/tests/file/fgets_variation5.phpt +++ b/ext/standard/tests/file/fgets_variation5.phpt @@ -54,253 +54,7 @@ foreach($file_modes as $file_mode) { echo "Done\n"; ?> ---EXPECTF-- -*** Testing fgets() : usage variations *** - --- Testing fgets() with file opened using mode w+ -- --- File content type : numeric -- --- fgets() with length > filesize -- -int(0) -string(50) "22222222222222222222222222222222222222222222222222" -int(50) -bool(true) --- File content type : text -- --- fgets() with length > filesize -- -int(0) -string(50) "text text text text text text text text text text " -int(50) -bool(true) --- File content type : text_with_new_line -- --- fgets() with length > filesize -- -int(0) -string(5) "line -" -int(5) -bool(false) --- File content type : alphanumeric -- --- fgets() with length > filesize -- -int(0) -string(50) "ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 " -int(50) -bool(true) - --- Testing fgets() with file opened using mode w+b -- --- File content type : numeric -- --- fgets() with length > filesize -- -int(0) -string(50) "22222222222222222222222222222222222222222222222222" -int(50) -bool(true) --- File content type : text -- --- fgets() with length > filesize -- -int(0) -string(50) "text text text text text text text text text text " -int(50) -bool(true) --- File content type : text_with_new_line -- --- fgets() with length > filesize -- -int(0) -string(5) "line -" -int(5) -bool(false) --- File content type : alphanumeric -- --- fgets() with length > filesize -- -int(0) -string(50) "ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 " -int(50) -bool(true) - --- Testing fgets() with file opened using mode w+t -- --- File content type : numeric -- --- fgets() with length > filesize -- -int(0) -string(50) "22222222222222222222222222222222222222222222222222" -int(50) -bool(true) --- File content type : text -- --- fgets() with length > filesize -- -int(0) -string(50) "text text text text text text text text text text " -int(50) -bool(true) --- File content type : text_with_new_line -- --- fgets() with length > filesize -- -int(0) -string(5) "line -" -int(5) -bool(false) --- File content type : alphanumeric -- --- fgets() with length > filesize -- -int(0) -string(50) "ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 " -int(50) -bool(true) - --- Testing fgets() with file opened using mode a+ -- --- File content type : numeric -- --- fgets() with length > filesize -- -int(0) -string(50) "22222222222222222222222222222222222222222222222222" -int(50) -bool(true) --- File content type : text -- --- fgets() with length > filesize -- -int(0) -string(50) "text text text text text text text text text text " -int(50) -bool(true) --- File content type : text_with_new_line -- --- fgets() with length > filesize -- -int(0) -string(5) "line -" -int(5) -bool(false) --- File content type : alphanumeric -- --- fgets() with length > filesize -- -int(0) -string(50) "ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 " -int(50) -bool(true) - --- Testing fgets() with file opened using mode a+b -- --- File content type : numeric -- --- fgets() with length > filesize -- -int(0) -string(50) "22222222222222222222222222222222222222222222222222" -int(50) -bool(true) --- File content type : text -- --- fgets() with length > filesize -- -int(0) -string(50) "text text text text text text text text text text " -int(50) -bool(true) --- File content type : text_with_new_line -- --- fgets() with length > filesize -- -int(0) -string(5) "line -" -int(5) -bool(false) --- File content type : alphanumeric -- --- fgets() with length > filesize -- -int(0) -string(50) "ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 " -int(50) -bool(true) - --- Testing fgets() with file opened using mode a+t -- --- File content type : numeric -- --- fgets() with length > filesize -- -int(0) -string(50) "22222222222222222222222222222222222222222222222222" -int(50) -bool(true) --- File content type : text -- --- fgets() with length > filesize -- -int(0) -string(50) "text text text text text text text text text text " -int(50) -bool(true) --- File content type : text_with_new_line -- --- fgets() with length > filesize -- -int(0) -string(5) "line -" -int(5) -bool(false) --- File content type : alphanumeric -- --- fgets() with length > filesize -- -int(0) -string(50) "ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 " -int(50) -bool(true) - --- Testing fgets() with file opened using mode x+ -- --- File content type : numeric -- --- fgets() with length > filesize -- -int(0) -string(50) "22222222222222222222222222222222222222222222222222" -int(50) -bool(true) --- File content type : text -- --- fgets() with length > filesize -- -int(0) -string(50) "text text text text text text text text text text " -int(50) -bool(true) --- File content type : text_with_new_line -- --- fgets() with length > filesize -- -int(0) -string(5) "line -" -int(5) -bool(false) --- File content type : alphanumeric -- --- fgets() with length > filesize -- -int(0) -string(50) "ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 " -int(50) -bool(true) - --- Testing fgets() with file opened using mode x+b -- --- File content type : numeric -- --- fgets() with length > filesize -- -int(0) -string(50) "22222222222222222222222222222222222222222222222222" -int(50) -bool(true) --- File content type : text -- --- fgets() with length > filesize -- -int(0) -string(50) "text text text text text text text text text text " -int(50) -bool(true) --- File content type : text_with_new_line -- --- fgets() with length > filesize -- -int(0) -string(5) "line -" -int(5) -bool(false) --- File content type : alphanumeric -- --- fgets() with length > filesize -- -int(0) -string(50) "ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 " -int(50) -bool(true) - --- Testing fgets() with file opened using mode x+t -- --- File content type : numeric -- --- fgets() with length > filesize -- -int(0) -string(50) "22222222222222222222222222222222222222222222222222" -int(50) -bool(true) --- File content type : text -- --- fgets() with length > filesize -- -int(0) -string(50) "text text text text text text text text text text " -int(50) -bool(true) --- File content type : text_with_new_line -- --- fgets() with length > filesize -- -int(0) -string(5) "line -" -int(5) -bool(false) --- File content type : alphanumeric -- --- fgets() with length > filesize -- -int(0) -string(50) "ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 " -int(50) -bool(true) -Done ---UEXPECTF-- +--EXPECT-- *** Testing fgets() : usage variations *** -- Testing fgets() with file opened using mode w+ -- @@ -545,4 +299,4 @@ int(0) unicode(50) "ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 ab12 " int(50) bool(true) -Done \ No newline at end of file +Done diff --git a/ext/standard/tests/file/fgets_variation6-win32.phpt b/ext/standard/tests/file/fgets_variation6-win32.phpt index 07bb35e3f6..a8c500b3a3 100644 --- a/ext/standard/tests/file/fgets_variation6-win32.phpt +++ b/ext/standard/tests/file/fgets_variation6-win32.phpt @@ -61,316 +61,7 @@ foreach($file_modes as $file_mode) { echo "Done\n"; ?> ---EXPECTF-- -*** Testing fgets() : usage variations *** - --- Testing fgets() with file opened using mode w+ -- --- File content type : numeric -- --- fgets() with file pointer pointing at EOF -- -int(0) -int(50) -bool(false) -bool(false) -int(50) -bool(true) --- File content type : text -- --- fgets() with file pointer pointing at EOF -- -int(0) -int(50) -bool(false) -bool(false) -int(50) -bool(true) --- File content type : text_with_new_line -- --- fgets() with file pointer pointing at EOF -- -int(0) -int(50) -bool(false) -bool(false) -int(50) -bool(true) --- File content type : alphanumeric -- --- fgets() with file pointer pointing at EOF -- -int(0) -int(50) -bool(false) -bool(false) -int(50) -bool(true) - --- Testing fgets() with file opened using mode w+b -- --- File content type : numeric -- --- fgets() with file pointer pointing at EOF -- -int(0) -int(50) -bool(false) -bool(false) -int(50) -bool(true) --- File content type : text -- --- fgets() with file pointer pointing at EOF -- -int(0) -int(50) -bool(false) -bool(false) -int(50) -bool(true) --- File content type : text_with_new_line -- --- fgets() with file pointer pointing at EOF -- -int(0) -int(50) -bool(false) -bool(false) -int(50) -bool(true) --- File content type : alphanumeric -- --- fgets() with file pointer pointing at EOF -- -int(0) -int(50) -bool(false) -bool(false) -int(50) -bool(true) - --- Testing fgets() with file opened using mode w+t -- --- File content type : numeric -- --- fgets() with file pointer pointing at EOF -- -int(0) -int(50) -bool(false) -bool(false) -int(50) -bool(true) --- File content type : text -- --- fgets() with file pointer pointing at EOF -- -int(0) -int(50) -bool(false) -bool(false) -int(50) -bool(true) --- File content type : text_with_new_line -- --- fgets() with file pointer pointing at EOF -- -int(0) -int(55) -bool(false) -bool(false) -int(55) -bool(true) --- File content type : alphanumeric -- --- fgets() with file pointer pointing at EOF -- -int(0) -int(50) -bool(false) -bool(false) -int(50) -bool(true) - --- Testing fgets() with file opened using mode a+ -- --- File content type : numeric -- --- fgets() with file pointer pointing at EOF -- -int(0) -int(50) -bool(false) -bool(false) -int(50) -bool(true) --- File content type : text -- --- fgets() with file pointer pointing at EOF -- -int(0) -int(50) -bool(false) -bool(false) -int(50) -bool(true) --- File content type : text_with_new_line -- --- fgets() with file pointer pointing at EOF -- -int(0) -int(50) -bool(false) -bool(false) -int(50) -bool(true) --- File content type : alphanumeric -- --- fgets() with file pointer pointing at EOF -- -int(0) -int(50) -bool(false) -bool(false) -int(50) -bool(true) - --- Testing fgets() with file opened using mode a+b -- --- File content type : numeric -- --- fgets() with file pointer pointing at EOF -- -int(0) -int(50) -bool(false) -bool(false) -int(50) -bool(true) --- File content type : text -- --- fgets() with file pointer pointing at EOF -- -int(0) -int(50) -bool(false) -bool(false) -int(50) -bool(true) --- File content type : text_with_new_line -- --- fgets() with file pointer pointing at EOF -- -int(0) -int(50) -bool(false) -bool(false) -int(50) -bool(true) --- File content type : alphanumeric -- --- fgets() with file pointer pointing at EOF -- -int(0) -int(50) -bool(false) -bool(false) -int(50) -bool(true) - --- Testing fgets() with file opened using mode a+t -- --- File content type : numeric -- --- fgets() with file pointer pointing at EOF -- -int(0) -int(50) -bool(false) -bool(false) -int(50) -bool(true) --- File content type : text -- --- fgets() with file pointer pointing at EOF -- -int(0) -int(50) -bool(false) -bool(false) -int(50) -bool(true) --- File content type : text_with_new_line -- --- fgets() with file pointer pointing at EOF -- -int(0) -int(55) -bool(false) -bool(false) -int(55) -bool(true) --- File content type : alphanumeric -- --- fgets() with file pointer pointing at EOF -- -int(0) -int(50) -bool(false) -bool(false) -int(50) -bool(true) - --- Testing fgets() with file opened using mode x+ -- --- File content type : numeric -- --- fgets() with file pointer pointing at EOF -- -int(0) -int(50) -bool(false) -bool(false) -int(50) -bool(true) --- File content type : text -- --- fgets() with file pointer pointing at EOF -- -int(0) -int(50) -bool(false) -bool(false) -int(50) -bool(true) --- File content type : text_with_new_line -- --- fgets() with file pointer pointing at EOF -- -int(0) -int(50) -bool(false) -bool(false) -int(50) -bool(true) --- File content type : alphanumeric -- --- fgets() with file pointer pointing at EOF -- -int(0) -int(50) -bool(false) -bool(false) -int(50) -bool(true) - --- Testing fgets() with file opened using mode x+b -- --- File content type : numeric -- --- fgets() with file pointer pointing at EOF -- -int(0) -int(50) -bool(false) -bool(false) -int(50) -bool(true) --- File content type : text -- --- fgets() with file pointer pointing at EOF -- -int(0) -int(50) -bool(false) -bool(false) -int(50) -bool(true) --- File content type : text_with_new_line -- --- fgets() with file pointer pointing at EOF -- -int(0) -int(50) -bool(false) -bool(false) -int(50) -bool(true) --- File content type : alphanumeric -- --- fgets() with file pointer pointing at EOF -- -int(0) -int(50) -bool(false) -bool(false) -int(50) -bool(true) - --- Testing fgets() with file opened using mode x+t -- --- File content type : numeric -- --- fgets() with file pointer pointing at EOF -- -int(0) -int(50) -bool(false) -bool(false) -int(50) -bool(true) --- File content type : text -- --- fgets() with file pointer pointing at EOF -- -int(0) -int(50) -bool(false) -bool(false) -int(50) -bool(true) --- File content type : text_with_new_line -- --- fgets() with file pointer pointing at EOF -- -int(0) -int(55) -bool(false) -bool(false) -int(55) -bool(true) --- File content type : alphanumeric -- --- fgets() with file pointer pointing at EOF -- -int(0) -int(50) -bool(false) -bool(false) -int(50) -bool(true) -Done ---UEXPECTF-- +--EXPECT-- *** Testing fgets() : usage variations *** -- Testing fgets() with file opened using mode w+ -- diff --git a/ext/standard/tests/file/fgets_variation6.phpt b/ext/standard/tests/file/fgets_variation6.phpt index 7a71b4f974..0ffa7b9ed2 100644 --- a/ext/standard/tests/file/fgets_variation6.phpt +++ b/ext/standard/tests/file/fgets_variation6.phpt @@ -60,7 +60,7 @@ foreach($file_modes as $file_mode) { echo "Done\n"; ?> ---EXPECTF-- +--EXPECT-- *** Testing fgets() : usage variations *** -- Testing fgets() with file opened using mode w+ -- @@ -369,312 +369,3 @@ bool(false) int(50) bool(true) Done ---UEXPECTF-- -*** Testing fgets() : usage variations *** - --- Testing fgets() with file opened using mode w+ -- --- File content type : numeric -- --- fgets() with file pointer pointing at EOF -- -int(0) -int(50) -bool(false) -bool(false) -int(50) -bool(true) --- File content type : text -- --- fgets() with file pointer pointing at EOF -- -int(0) -int(50) -bool(false) -bool(false) -int(50) -bool(true) --- File content type : text_with_new_line -- --- fgets() with file pointer pointing at EOF -- -int(0) -int(50) -bool(false) -bool(false) -int(50) -bool(true) --- File content type : alphanumeric -- --- fgets() with file pointer pointing at EOF -- -int(0) -int(50) -bool(false) -bool(false) -int(50) -bool(true) - --- Testing fgets() with file opened using mode w+b -- --- File content type : numeric -- --- fgets() with file pointer pointing at EOF -- -int(0) -int(50) -bool(false) -bool(false) -int(50) -bool(true) --- File content type : text -- --- fgets() with file pointer pointing at EOF -- -int(0) -int(50) -bool(false) -bool(false) -int(50) -bool(true) --- File content type : text_with_new_line -- --- fgets() with file pointer pointing at EOF -- -int(0) -int(50) -bool(false) -bool(false) -int(50) -bool(true) --- File content type : alphanumeric -- --- fgets() with file pointer pointing at EOF -- -int(0) -int(50) -bool(false) -bool(false) -int(50) -bool(true) - --- Testing fgets() with file opened using mode w+t -- --- File content type : numeric -- --- fgets() with file pointer pointing at EOF -- -int(0) -int(50) -bool(false) -bool(false) -int(50) -bool(true) --- File content type : text -- --- fgets() with file pointer pointing at EOF -- -int(0) -int(50) -bool(false) -bool(false) -int(50) -bool(true) --- File content type : text_with_new_line -- --- fgets() with file pointer pointing at EOF -- -int(0) -int(50) -bool(false) -bool(false) -int(50) -bool(true) --- File content type : alphanumeric -- --- fgets() with file pointer pointing at EOF -- -int(0) -int(50) -bool(false) -bool(false) -int(50) -bool(true) - --- Testing fgets() with file opened using mode a+ -- --- File content type : numeric -- --- fgets() with file pointer pointing at EOF -- -int(0) -int(50) -bool(false) -bool(false) -int(50) -bool(true) --- File content type : text -- --- fgets() with file pointer pointing at EOF -- -int(0) -int(50) -bool(false) -bool(false) -int(50) -bool(true) --- File content type : text_with_new_line -- --- fgets() with file pointer pointing at EOF -- -int(0) -int(50) -bool(false) -bool(false) -int(50) -bool(true) --- File content type : alphanumeric -- --- fgets() with file pointer pointing at EOF -- -int(0) -int(50) -bool(false) -bool(false) -int(50) -bool(true) - --- Testing fgets() with file opened using mode a+b -- --- File content type : numeric -- --- fgets() with file pointer pointing at EOF -- -int(0) -int(50) -bool(false) -bool(false) -int(50) -bool(true) --- File content type : text -- --- fgets() with file pointer pointing at EOF -- -int(0) -int(50) -bool(false) -bool(false) -int(50) -bool(true) --- File content type : text_with_new_line -- --- fgets() with file pointer pointing at EOF -- -int(0) -int(50) -bool(false) -bool(false) -int(50) -bool(true) --- File content type : alphanumeric -- --- fgets() with file pointer pointing at EOF -- -int(0) -int(50) -bool(false) -bool(false) -int(50) -bool(true) - --- Testing fgets() with file opened using mode a+t -- --- File content type : numeric -- --- fgets() with file pointer pointing at EOF -- -int(0) -int(50) -bool(false) -bool(false) -int(50) -bool(true) --- File content type : text -- --- fgets() with file pointer pointing at EOF -- -int(0) -int(50) -bool(false) -bool(false) -int(50) -bool(true) --- File content type : text_with_new_line -- --- fgets() with file pointer pointing at EOF -- -int(0) -int(50) -bool(false) -bool(false) -int(50) -bool(true) --- File content type : alphanumeric -- --- fgets() with file pointer pointing at EOF -- -int(0) -int(50) -bool(false) -bool(false) -int(50) -bool(true) - --- Testing fgets() with file opened using mode x+ -- --- File content type : numeric -- --- fgets() with file pointer pointing at EOF -- -int(0) -int(50) -bool(false) -bool(false) -int(50) -bool(true) --- File content type : text -- --- fgets() with file pointer pointing at EOF -- -int(0) -int(50) -bool(false) -bool(false) -int(50) -bool(true) --- File content type : text_with_new_line -- --- fgets() with file pointer pointing at EOF -- -int(0) -int(50) -bool(false) -bool(false) -int(50) -bool(true) --- File content type : alphanumeric -- --- fgets() with file pointer pointing at EOF -- -int(0) -int(50) -bool(false) -bool(false) -int(50) -bool(true) - --- Testing fgets() with file opened using mode x+b -- --- File content type : numeric -- --- fgets() with file pointer pointing at EOF -- -int(0) -int(50) -bool(false) -bool(false) -int(50) -bool(true) --- File content type : text -- --- fgets() with file pointer pointing at EOF -- -int(0) -int(50) -bool(false) -bool(false) -int(50) -bool(true) --- File content type : text_with_new_line -- --- fgets() with file pointer pointing at EOF -- -int(0) -int(50) -bool(false) -bool(false) -int(50) -bool(true) --- File content type : alphanumeric -- --- fgets() with file pointer pointing at EOF -- -int(0) -int(50) -bool(false) -bool(false) -int(50) -bool(true) - --- Testing fgets() with file opened using mode x+t -- --- File content type : numeric -- --- fgets() with file pointer pointing at EOF -- -int(0) -int(50) -bool(false) -bool(false) -int(50) -bool(true) --- File content type : text -- --- fgets() with file pointer pointing at EOF -- -int(0) -int(50) -bool(false) -bool(false) -int(50) -bool(true) --- File content type : text_with_new_line -- --- fgets() with file pointer pointing at EOF -- -int(0) -int(50) -bool(false) -bool(false) -int(50) -bool(true) --- File content type : alphanumeric -- --- fgets() with file pointer pointing at EOF -- -int(0) -int(50) -bool(false) -bool(false) -int(50) -bool(true) -Done \ No newline at end of file diff --git a/ext/standard/tests/file/fgetss.phpt b/ext/standard/tests/file/fgetss.phpt index b4ac21167b..4e91db20fc 100644 --- a/ext/standard/tests/file/fgetss.phpt +++ b/ext/standard/tests/file/fgetss.phpt @@ -38,7 +38,7 @@ var_dump(fgetss($fp, 0)); echo "Done\n"; ?> ---EXPECTF-- +--EXPECTF-- string(18) "askasdfasdfaaaaaa " string(6) "dddddd" diff --git a/ext/standard/tests/file/fgetss1.phpt b/ext/standard/tests/file/fgetss1.phpt index 96b8b6f532..46706a6fe0 100644 --- a/ext/standard/tests/file/fgetss1.phpt +++ b/ext/standard/tests/file/fgetss1.phpt @@ -29,11 +29,11 @@ foreach ($array as $str) { var_dump(fgetss($fp, 10, "