Home
last modified time | relevance | path

Searched refs:fseek (Results 1 – 25 of 133) sorted by relevance

123456

/PHP-7.4/ext/phar/tests/
H A D022.phpt24 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 Dbug70091.phpt20 fseek($stream, 53);
24 fseek($stream, 104);
28 fseek($stream, 173);
H A D027.phpt47 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 Dfseek_ftell_rewind_error1.phpt2 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 Dfseek_ftell_rewind_basic1.phpt70 -- 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 Dfseek_ftell_rewind_basic2-win32-mb.phpt80 -- 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 Dfseek_ftell_rewind_basic2-win32.phpt80 -- 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 Dfseek_ftell_rewind_basic2.phpt80 -- 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 Dfseek_variation3.phpt2 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 Dfgets_variation4-win32-mb.phpt45 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 Dfgets_variation4-win32.phpt45 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 Dfgets_variation4.phpt45 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 Dfseek_ftell_rewind_variation1.phpt18 /* 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 Dfseek_ftell_rewind_variation2-win32.phpt23 /* 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 Dfseek_ftell_rewind_variation2.phpt23 /* 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 Dfseek_dir_basic.phpt2 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 Dstream_rfc2397_007.phpt21 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 Dfpassthru_basic.phpt29 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 Dbug45303.phpt7 var_dump(fseek($fd, 1024*1024, SEEK_SET));
12 Warning: fseek(): stream does not support seeking in %s
H A Dfopen_unlink.phpt12 fseek($f, 0),
15 fseek($f, 0),
H A Dfread_fwrite_basic.phpt30 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 Denable_post_data_reading_07.phpt13 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 Dbug48309.phpt8 fseek($tmp, 0, SEEK_SET);
12 fseek($tmp, 0, SEEK_SET);
20 fseek($tmp, 0, SEEK_SET);
H A Dstream_copy_to_stream_socket.phpt18 fseek($tmp, 0, SEEK_SET);
23 fseek($tmp, 0, SEEK_SET);
/PHP-7.4/ext/standard/tests/filters/
H A Dfilter_errors.inc21 fseek($stream, 0, SEEK_SET);
31 fseek($stream, 0, SEEK_SET);

Completed in 42 milliseconds

123456