/PHP-7.4/ext/phar/tests/ |
H A D | 022.phpt | 24 echo 'fseek($fp, 1)';var_dump(fseek($fp, 1)); 26 echo 'fseek($fp, 1, SEEK_CUR)';var_dump(fseek($fp, 1, SEEK_CUR)); 28 echo 'fseek($fp, -1, SEEK_CUR)';var_dump(fseek($fp, -1, SEEK_CUR)); 36 echo 'fseek($fp, 0, SEEK_END)';var_dump(fseek($fp, 0, SEEK_END)); 42 echo 'fseek($fp, 6)';var_dump(fseek($fp, 6)); 44 echo 'fseek($fp, 8)';var_dump(fseek($fp, 8)); 46 echo 'fseek($fp, -1)';var_dump(fseek($fp, -1)); 49 fseek($fp, 4); 53 fseek($fp, 4); 57 fseek($fp, 4); [all …]
|
H A D | bug70091.phpt | 20 fseek($stream, 53); 24 fseek($stream, 104); 28 fseek($stream, 173);
|
H A D | 027.phpt | 47 echo "fseek on dir handle\n"; 48 var_dump(fseek($a, 0, SEEK_END), ftell($a)); 49 var_dump(fseek($a, -1), ftell($a)); 50 var_dump(fseek($a, 1), ftell($a)); 77 fseek on dir handle
|
/PHP-7.4/ext/standard/tests/file/ |
H A D | fseek_ftell_rewind_error1.phpt | 2 Test fseek(), ftell() & rewind() functions : error conditions - fseek() 18 echo "-- Testing fseek() with zero argument --\n"; 19 var_dump( fseek() ); 24 var_dump( fseek($fp) ); 25 var_dump( fseek($fp, 10, $fp,10) ); 46 var_dump(fseek($fp,10)); 48 // fseek() on a file handle which is unset 51 var_dump( fseek(@$file_handle,10)); 56 *** Testing fseek() : error conditions *** 57 -- Testing fseek() with zero argument -- [all …]
|
H A D | fseek_ftell_rewind_basic1.phpt | 70 -- Testing fseek() with whence = SEEK_SET -- 74 -- Testing fseek() with whence = SEEK_CUR -- 78 -- Testing fseek() with whence = SEEK_END -- 86 -- Testing fseek() with whence = SEEK_SET -- 90 -- Testing fseek() with whence = SEEK_CUR -- 94 -- Testing fseek() with whence = SEEK_END -- 102 -- Testing fseek() with whence = SEEK_SET -- 106 -- Testing fseek() with whence = SEEK_CUR -- 110 -- Testing fseek() with whence = SEEK_END -- 118 -- Testing fseek() with whence = SEEK_SET -- [all …]
|
H A D | fseek_ftell_rewind_basic2-win32-mb.phpt | 80 -- Testing fseek() with whence = SEEK_SET -- 84 -- Testing fseek() with whence = SEEK_CUR -- 88 -- Testing fseek() with whence = SEEK_END -- 96 -- Testing fseek() with whence = SEEK_SET -- 100 -- Testing fseek() with whence = SEEK_CUR -- 104 -- Testing fseek() with whence = SEEK_END -- 112 -- Testing fseek() with whence = SEEK_SET -- 116 -- Testing fseek() with whence = SEEK_CUR -- 120 -- Testing fseek() with whence = SEEK_END -- 128 -- Testing fseek() with whence = SEEK_SET -- [all …]
|
H A D | fseek_ftell_rewind_basic2-win32.phpt | 80 -- Testing fseek() with whence = SEEK_SET -- 84 -- Testing fseek() with whence = SEEK_CUR -- 88 -- Testing fseek() with whence = SEEK_END -- 96 -- Testing fseek() with whence = SEEK_SET -- 100 -- Testing fseek() with whence = SEEK_CUR -- 104 -- Testing fseek() with whence = SEEK_END -- 112 -- Testing fseek() with whence = SEEK_SET -- 116 -- Testing fseek() with whence = SEEK_CUR -- 120 -- Testing fseek() with whence = SEEK_END -- 128 -- Testing fseek() with whence = SEEK_SET -- [all …]
|
H A D | fseek_ftell_rewind_basic2.phpt | 80 -- Testing fseek() with whence = SEEK_SET -- 84 -- Testing fseek() with whence = SEEK_CUR -- 88 -- Testing fseek() with whence = SEEK_END -- 96 -- Testing fseek() with whence = SEEK_SET -- 100 -- Testing fseek() with whence = SEEK_CUR -- 104 -- Testing fseek() with whence = SEEK_END -- 112 -- Testing fseek() with whence = SEEK_SET -- 116 -- Testing fseek() with whence = SEEK_CUR -- 120 -- Testing fseek() with whence = SEEK_END -- 128 -- Testing fseek() with whence = SEEK_SET -- [all …]
|
H A D | fseek_variation3.phpt | 2 Test fseek() function : variation functionality beyond file boundaries 22 echo "--- fseek beyond start of file ---\n"; 23 var_dump(fseek($h, -4, SEEK_SET)); 25 var_dump(fseek($h, -1, SEEK_CUR)); 27 var_dump(fseek($h, -20, SEEK_CUR)); 30 echo "--- fseek beyond end of file ---\n"; 31 var_dump(fseek($h, 16, SEEK_SET)); 33 fseek($h ,0, SEEK_SET); 43 *** Testing fseek() : variation - beyond file boundaries *** 44 --- fseek beyond start of file --- [all …]
|
H A D | fgets_variation4-win32-mb.phpt | 45 var_dump( fseek($file_handle, 5, SEEK_SET) ); 52 var_dump( fseek($file_handle, 25, SEEK_SET) ); 79 -- fgets() with location set by fseek() with length = 20 -- 92 -- fgets() with location set by fseek() with length = 20 -- 106 -- fgets() with location set by fseek() with length = 20 -- 120 -- fgets() with location set by fseek() with length = 20 -- 135 -- fgets() with location set by fseek() with length = 20 -- 148 -- fgets() with location set by fseek() with length = 20 -- 162 -- fgets() with location set by fseek() with length = 20 -- 176 -- fgets() with location set by fseek() with length = 20 -- [all …]
|
H A D | fgets_variation4-win32.phpt | 45 var_dump( fseek($file_handle, 5, SEEK_SET) ); 52 var_dump( fseek($file_handle, 25, SEEK_SET) ); 79 -- fgets() with location set by fseek() with length = 20 -- 92 -- fgets() with location set by fseek() with length = 20 -- 106 -- fgets() with location set by fseek() with length = 20 -- 120 -- fgets() with location set by fseek() with length = 20 -- 135 -- fgets() with location set by fseek() with length = 20 -- 148 -- fgets() with location set by fseek() with length = 20 -- 162 -- fgets() with location set by fseek() with length = 20 -- 176 -- fgets() with location set by fseek() with length = 20 -- [all …]
|
H A D | fgets_variation4.phpt | 45 var_dump( fseek($file_handle, 5, SEEK_SET) ); 52 var_dump( fseek($file_handle, 25, SEEK_SET) ); 79 -- fgets() with location set by fseek() with length = 20 -- 92 -- fgets() with location set by fseek() with length = 20 -- 106 -- fgets() with location set by fseek() with length = 20 -- 120 -- fgets() with location set by fseek() with length = 20 -- 135 -- fgets() with location set by fseek() with length = 20 -- 148 -- fgets() with location set by fseek() with length = 20 -- 162 -- fgets() with location set by fseek() with length = 20 -- 176 -- fgets() with location set by fseek() with length = 20 -- [all …]
|
H A D | fseek_ftell_rewind_variation1.phpt | 18 /* Testing fseek(),ftell(),rewind() functions 20 2. Testing fseek() without using argument whence 47 var_dump( fseek($file_handle, $count) ); 67 -- Testing fseek() without using argument whence -- 82 -- Testing fseek() without using argument whence -- 97 -- Testing fseek() without using argument whence -- 112 -- Testing fseek() without using argument whence -- 127 -- Testing fseek() without using argument whence -- 142 -- Testing fseek() without using argument whence -- 157 -- Testing fseek() without using argument whence -- [all …]
|
H A D | fseek_ftell_rewind_variation2-win32.phpt | 23 /* Testing fseek(),ftell(),rewind() functions 25 2. Testing fseek() without using argument whence 56 var_dump( fseek($file_handle,$count) ); 76 -- Testing fseek() without using argument whence -- 91 -- Testing fseek() without using argument whence -- 106 -- Testing fseek() without using argument whence -- 121 -- Testing fseek() without using argument whence -- 136 -- Testing fseek() without using argument whence -- 151 -- Testing fseek() without using argument whence -- 166 -- Testing fseek() without using argument whence -- [all …]
|
H A D | fseek_ftell_rewind_variation2.phpt | 23 /* Testing fseek(),ftell(),rewind() functions 25 2. Testing fseek() without using argument whence 56 var_dump( fseek($file_handle,$count) ); 76 -- Testing fseek() without using argument whence -- 91 -- Testing fseek() without using argument whence -- 106 -- Testing fseek() without using argument whence -- 121 -- Testing fseek() without using argument whence -- 136 -- Testing fseek() without using argument whence -- 151 -- Testing fseek() without using argument whence -- 166 -- Testing fseek() without using argument whence -- [all …]
|
H A D | fseek_dir_basic.phpt | 2 Testing fseek() on a directory stream 21 echo "\ncall fseek() on directory resource:\n"; 22 var_dump(fseek($dh, 20)); 30 echo "\ncall fseek() with different arguments on directory resource:\n"; 31 var_dump(fseek($dh, 20, SEEK_END)); 61 call fseek() on directory resource: 79 call fseek() with different arguments on directory resource:
|
H A D | stream_rfc2397_007.phpt | 21 var_dump(fseek($fp, 4)); 42 var_dump(fseek($fp, 3, SEEK_SET)); 46 var_dump(fseek($fp, 1, SEEK_CUR)); 50 var_dump(fseek($fp, -2, SEEK_CUR)); 54 var_dump(fseek($fp, -10, SEEK_CUR)); 58 var_dump(fseek($fp, 3, SEEK_SET)); 62 var_dump(fseek($fp, 10, SEEK_CUR)); 66 var_dump(fseek($fp, -1, SEEK_END)); 70 var_dump(fseek($fp, 0, SEEK_END)); 74 var_dump(fseek($fp, 1, SEEK_END));
|
H A D | fpassthru_basic.phpt | 29 fseek($read_handle, 0); 33 fseek($read_handle, 3); 37 fseek($read_handle, 13); 41 fseek($read_handle, 14); 45 fseek($read_handle, 23); 49 fseek($read_handle, 34); 53 fseek($read_handle, 1000);
|
H A D | bug45303.phpt | 7 var_dump(fseek($fd, 1024*1024, SEEK_SET)); 12 Warning: fseek(): stream does not support seeking in %s
|
H A D | fopen_unlink.phpt | 12 fseek($f, 0), 15 fseek($f, 0),
|
H A D | fread_fwrite_basic.phpt | 30 fseek($h, 0, SEEK_SET); 35 fseek($h, -4, SEEK_CUR); 37 fseek($h, 0, SEEK_SET); 52 fseek($h, -strlen($out) + 1, SEEK_CUR);
|
/PHP-7.4/tests/basic/ |
H A D | enable_post_data_reading_07.phpt | 13 fseek($f1, 3, SEEK_SET); 15 fseek($f1, 1, SEEK_SET); 17 fseek($f1, 3, SEEK_CUR); 19 fseek($f1, -3, SEEK_CUR); 21 fseek($f1, 3, SEEK_END); 23 fseek($f1, -3, SEEK_END); 25 fseek($f2, 1, SEEK_SET);
|
/PHP-7.4/ext/standard/tests/streams/ |
H A D | bug48309.phpt | 8 fseek($tmp, 0, SEEK_SET); 12 fseek($tmp, 0, SEEK_SET); 20 fseek($tmp, 0, SEEK_SET);
|
H A D | stream_copy_to_stream_socket.phpt | 18 fseek($tmp, 0, SEEK_SET); 23 fseek($tmp, 0, SEEK_SET);
|
/PHP-7.4/ext/standard/tests/filters/ |
H A D | filter_errors.inc | 21 fseek($stream, 0, SEEK_SET); 31 fseek($stream, 0, SEEK_SET);
|