Home
last modified time | relevance | path

Searched refs:ftell (Results 26 – 50 of 187) sorted by relevance

12345678

/PHP-5.5/ext/standard/tests/file/
H A Dfseek_ftell_rewind_variation7.phpt2 Test fseek(), ftell() & rewind() functions : usage variations - all r and a modes, SEEK_END
11 Prototype: int ftell ( resource $handle );
18 /* Testing fseek(),ftell(),rewind() functions
23 echo "*** Testing fseek(), ftell(), rewind() : whence = SEEK_END & all r and a modes ***\n";
33 /* open the file using $files_modes and perform fseek(),ftell() and rewind() on it */
48 var_dump( ftell($file_handle) ); // confirm the file pointer position
64 *** Testing fseek(), ftell(), rewind() : whence = SEEK_END & all r and a modes ***
H A Dfseek_ftell_rewind_variation1.phpt2 Test fseek(), ftell() & rewind() functions : usage variations - all r & a modes, default whence
11 Prototype: int ftell ( resource $handle );
18 /* Testing fseek(),ftell(),rewind() functions
22 echo "*** Testing fseek(), ftell(), rewind() : default whence & all r and a modes ***\n";
31 /* open the file using $files_modes and perform fseek(),ftell() and rewind() on it */
48 var_dump( ftell($file_handle) ); // confirm the file pointer position
63 *** Testing fseek(), ftell(), rewind() : default whence & all r and a modes ***
H A Dfseek_ftell_rewind_variation8-win32.phpt2 Test fseek(), ftell() & rewind() functions : usage variations - all w and x modes, SEEK_END
16 Prototype: int ftell ( resource $handle );
23 /* Testing fseek(),ftell(),rewind() functions
27 echo "*** Testing fseek(), ftell(), rewind() : whence = SEEK_END & all r and a modes ***\n";
37 /* open the file using $files_modes and perform fseek(),ftell() and rewind() on it */
56 var_dump( ftell($file_handle) ); // confirm the file pointer position
71 *** Testing fseek(), ftell(), rewind() : whence = SEEK_END & all r and a modes ***
H A Dfseek_ftell_rewind_variation8.phpt2 Test fseek(), ftell() & rewind() functions : usage variations - all w and x modes, SEEK_END
16 Prototype: int ftell ( resource $handle );
23 /* Testing fseek(),ftell(),rewind() functions
27 echo "*** Testing fseek(), ftell(), rewind() : whence = SEEK_END & all r and a modes ***\n";
37 /* open the file using $files_modes and perform fseek(),ftell() and rewind() on it */
56 var_dump( ftell($file_handle) ); // confirm the file pointer position
71 *** Testing fseek(), ftell(), rewind() : whence = SEEK_END & all r and a modes ***
H A D007_variation11-win32.phpt39 var_dump( ftell($file_handle) ); //Initial file pointer position, expected at the beginning of the…
41 var_dump( ftell($file_handle) ); //File pointer position after write operation, expected at the en…
44 var_dump( ftell($file_handle) ); //File pointer position after read operation, expected at the beg…
H A D007_variation19.phpt34 var_dump( ftell($file_handle) ); //Initial file pointer position, expected at the beginning of the…
36 var_dump( ftell($file_handle) ); //File pointer position after write operation, expected at the en…
39 var_dump( ftell($file_handle) ); //File pointer position after read operation, expected at the beg…
H A D007_variation3.phpt34 var_dump( ftell($file_handle) ); //Initial file pointer position, expected at the beginning of the…
36 var_dump( ftell($file_handle) ); //File pointer position after write operation, expected at the en…
39 var_dump( ftell($file_handle) ); //File pointer position after read operation, expected at the beg…
H A D007_variation4.phpt34 var_dump( ftell($file_handle) ); //Initial file pointer position, expected at the beginning of the…
36 var_dump( ftell($file_handle) ); //File pointer position after write operation, expected at the en…
39 var_dump( ftell($file_handle) ); //File pointer position after read operation, expected at the end…
H A Dfseek_ftell_rewind_variation2-win32.phpt2 Test fseek(), ftell() & rewind() functions : usage variations - all w and x modes, default whence
16 Prototype: int ftell ( resource $handle );
23 /* Testing fseek(),ftell(),rewind() functions
28 echo "*** Testing fseek(), ftell(), rewind() : default whence & all w and x modes ***\n";
37 /* open the file using $files_modes and perform fseek(),ftell() and rewind() on it */
57 var_dump( ftell($file_handle) ); // confirm the file pointer position
72 *** Testing fseek(), ftell(), rewind() : default whence & all w and x modes ***
H A Dfseek_ftell_rewind_variation2.phpt2 Test fseek(), ftell() & rewind() functions : usage variations - all w and x modes, default whence
16 Prototype: int ftell ( resource $handle );
23 /* Testing fseek(),ftell(),rewind() functions
28 echo "*** Testing fseek(), ftell(), rewind() : default whence & all w and x modes ***\n";
37 /* open the file using $files_modes and perform fseek(),ftell() and rewind() on it */
57 var_dump( ftell($file_handle) ); // confirm the file pointer position
72 *** Testing fseek(), ftell(), rewind() : default whence & all w and x modes ***
H A D007_variation11.phpt39 var_dump( ftell($file_handle) ); //Initial file pointer position, expected at the beginning of the…
41 var_dump( ftell($file_handle) ); //File pointer position after write operation, expected at the en…
44 var_dump( ftell($file_handle) ); //File pointer position after read operation, expected at the beg…
H A D007_variation12-win32.phpt39 var_dump( ftell($file_handle) ); //Initial file pointer position, expected at the beginning of the…
41 var_dump( ftell($file_handle) ); //File pointer position after write operation, expected at the en…
44 var_dump( ftell($file_handle) ); //File pointer position after read operation, expected at the end…
H A D007_variation12.phpt39 var_dump( ftell($file_handle) ); //Initial file pointer position, expected at the beginning of the…
41 var_dump( ftell($file_handle) ); //File pointer position after write operation, expected at the en…
44 var_dump( ftell($file_handle) ); //File pointer position after read operation, expected at the end…
H A D007_variation20.phpt34 var_dump( ftell($file_handle) ); //Initial file pointer position, expected at the beginning of the…
36 var_dump( ftell($file_handle) ); //File pointer position after write operation, expected at the en…
39 var_dump( ftell($file_handle) ); //File pointer position after read operation, expected at the end…
H A Dfgetss_variation4.phpt53 var_dump( ftell($file_handle) );
58 var_dump( ftell($file_handle) ); //ensure file pointer at end
60 var_dump( ftell($file_handle) ); // find out file position
65 var_dump( ftell($file_handle) ); // find out file position
H A Dfseek_ftell_rewind_basic2-win32.phpt2 Test fseek(), ftell() & rewind() functions : basic functionality - all w and x modes
17 Prototype: int ftell ( resource $handle );
24 /* Testing fseek(),ftell(),rewind() functions on all write and create with write modes */
26 echo "*** Testing fseek(), ftell(), rewind() : basic operations ***\n";
40 /* open the file using $files_modes and perform fseek(),ftell() and rewind() on it */
56 var_dump( ftell($file_handle) );
61 var_dump( ftell($file_handle) ); // confirm the file pointer position
75 *** Testing fseek(), ftell(), rewind() : basic operations ***
H A Dfseek_ftell_rewind_basic2.phpt2 Test fseek(), ftell() & rewind() functions : basic functionality - all w and x modes
16 Prototype: int ftell ( resource $handle );
23 /* Testing fseek(),ftell(),rewind() functions on all write and create with write modes */
25 echo "*** Testing fseek(), ftell(), rewind() : basic operations ***\n";
39 /* open the file using $files_modes and perform fseek(),ftell() and rewind() on it */
55 var_dump( ftell($file_handle) );
60 var_dump( ftell($file_handle) ); // confirm the file pointer position
74 *** Testing fseek(), ftell(), rewind() : basic operations ***
H A Dfseek_ftell_rewind_basic1.phpt2 Test fseek(), ftell() & rewind() functions : Basic functionality - all r and a modes
11 Prototype: int ftell ( resource $handle );
18 /* Testing fseek(),ftell(),rewind() functions on all read and append modes */
19 echo "*** Testing fseek(), ftell(), rewind() : basic operations ***\n";
28 /* open the file using $files_modes and perform fseek(),ftell() and rewind() on it */
44 var_dump( ftell($file_handle) ); // confirm the file pointer position
49 var_dump( ftell($file_handle) ); // confirm the file pointer position
64 *** Testing fseek(), ftell(), rewind() : basic operations ***
H A Dfwrite_variation1-win32.phpt57 var_dump( ftell($file_handle) ); // expected: 0
59 var_dump( ftell($file_handle) ); // expected: 0
64 var_dump( ftell($file_handle) ); // expecting 1024
66 var_dump( ftell($file_handle) ); //check that file pointer points at eof, expected: 1024
H A Dfwrite_variation1.phpt56 var_dump( ftell($file_handle) ); // expected: 0
58 var_dump( ftell($file_handle) ); // expected: 0
63 var_dump( ftell($file_handle) ); // expecting 1024
65 var_dump( ftell($file_handle) ); //check that file pointer points at eof, expected: 1024
H A Dfgetc_variation1.phpt35 var_dump( ftell($file_handle) ); // ensure that file pointer is at eof
38 var_dump( ftell($file_handle) ); // file pointer position
H A Dfgetss_variation5-win32.phpt58 var_dump( ftell($file_handle) );
63 var_dump( ftell($file_handle) ); //ensure file pointer at end
65 var_dump( ftell($file_handle) ); // find out file position
70 var_dump( ftell($file_handle) ); // find out file position
H A Dfgetss_variation5.phpt55 var_dump( ftell($file_handle) );
60 var_dump( ftell($file_handle) ); //ensure file pointer at end
62 var_dump( ftell($file_handle) ); // find out file position
67 var_dump( ftell($file_handle) ); // find out file position
/PHP-5.5/ext/phar/tests/
H A D027.phpt49 var_dump(fseek($a, 0, SEEK_END), ftell($a));
50 var_dump(fseek($a, -1), ftell($a));
51 var_dump(fseek($a, 1), ftell($a));
H A D027U.phpt49 var_dump(fseek($a, 0, SEEK_END), ftell($a));
50 var_dump(fseek($a, -1), ftell($a));
51 var_dump(fseek($a, 1), ftell($a));

Completed in 27 milliseconds

12345678