/PHP-7.2/ext/standard/tests/file/ |
H A D | fseek_ftell_rewind_variation4.phpt | 2 Test fseek(), ftell() & rewind() functions : usage variations - all w and x modes, SEEK_SET 16 Prototype: int ftell ( resource $handle ); 23 /* Testing fseek(),ftell(),rewind() functions 27 echo "*** Testing fseek(), ftell(), rewind() : whence = SEEK_SET & all w and x modes ***\n"; 36 /* open the file using $files_modes and perform fseek(),ftell() and rewind() on it */ 55 var_dump( ftell($file_handle) ); // confirm the file pointer position 70 *** Testing fseek(), ftell(), rewind() : whence = SEEK_SET & all w and x modes ***
|
H A D | fseek_ftell_rewind_variation6-win32.phpt | 2 Test fseek(), ftell() & rewind() functions : usage variations - all w & x modes, SEEK_CUR 16 Prototype: int ftell ( resource $handle ); 23 /* Testing fseek(),ftell(),rewind() functions 27 echo "*** Testing fseek(), ftell(), rewind() : whence = SEEK_CUR & all w and x modes ***\n"; 37 /* open the file using $files_modes and perform fseek(),ftell() and rewind() on it */ 55 var_dump( ftell($file_handle) ); // confirm the file pointer position 70 *** Testing fseek(), ftell(), rewind() : whence = SEEK_CUR & all w and x modes ***
|
H A D | fseek_ftell_rewind_variation6.phpt | 2 Test fseek(), ftell() & rewind() functions : usage variations - all w & x modes, SEEK_CUR 16 Prototype: int ftell ( resource $handle ); 23 /* Testing fseek(),ftell(),rewind() functions 27 echo "*** Testing fseek(), ftell(), rewind() : whence = SEEK_CUR & all w and x modes ***\n"; 37 /* open the file using $files_modes and perform fseek(),ftell() and rewind() on it */ 55 var_dump( ftell($file_handle) ); // confirm the file pointer position 70 *** Testing fseek(), ftell(), rewind() : whence = SEEK_CUR & all w and x modes ***
|
H A D | fseek_ftell_rewind_variation8-win32.phpt | 2 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 D | fseek_ftell_rewind_variation8.phpt | 2 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 D | fseek_ftell_rewind_variation7.phpt | 2 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 D | 007_variation11-win32.phpt | 39 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 D | 007_variation19.phpt | 34 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 D | 007_variation3.phpt | 34 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 D | 007_variation4.phpt | 34 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 D | fseek_ftell_rewind_variation2-win32.phpt | 2 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 D | fseek_ftell_rewind_variation2.phpt | 2 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 D | 007_variation11-win32-mb.phpt | 39 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 D | 007_variation11.phpt | 39 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 D | 007_variation12-win32.phpt | 39 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 D | 007_variation12.phpt | 39 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 D | 007_variation20.phpt | 34 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 D | fgetss_variation4.phpt | 53 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 D | fseek_ftell_rewind_basic1.phpt | 2 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 D | fseek_ftell_rewind_basic2-win32-mb.phpt | 2 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 D | fseek_ftell_rewind_basic2-win32.phpt | 2 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 D | fseek_ftell_rewind_basic2.phpt | 2 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 D | fwrite_variation1-win32-mb.phpt | 57 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 D | fwrite_variation1-win32.phpt | 57 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
|
/PHP-7.2/ext/phar/tests/ |
H A D | 027.phpt | 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));
|