/PHP-5.5/ext/standard/tests/file/ |
H A D | fseek_ftell_rewind_error2.phpt | 2 Test fseek(), ftell() & rewind() functions : error conditions - ftell() 12 Prototype: int ftell ( resource $handle ); 18 echo "-- Testing ftell() with zero argument --\n"; 19 var_dump( ftell() ); 24 var_dump( ftell($fp, 10) ); 45 var_dump(ftell($fp)); 47 // ftell on a file handle which is unset 50 var_dump( ftell(@$file_handle) ); 55 *** Testing ftell() : error conditions *** 56 -- Testing ftell() with zero argument -- [all …]
|
H A D | stream_rfc2397_007.phpt | 18 var_dump(ftell($fp)); 22 var_dump(ftell($fp)); 26 var_dump(ftell($fp)); 31 var_dump(ftell($fp)); 35 var_dump(ftell($fp)); 39 var_dump(ftell($fp)); 43 var_dump(ftell($fp)); 47 var_dump(ftell($fp)); 51 var_dump(ftell($fp)); 55 var_dump(ftell($fp)); [all …]
|
H A D | 007_basic.phpt | 48 var_dump( ftell($handle) ); 54 // confirm the closure, using ftell() and feof(), expect, false 55 var_dump( ftell($handle) ); 75 var_dump( ftell($handle) ); 81 // confirm the closure, using ftell() and feof(), expect, false 82 var_dump( ftell($handle) ); 101 Warning: ftell(): %d is not a valid stream resource in %s on line %d 114 Warning: ftell(): %d is not a valid stream resource in %s on line %d 127 Warning: ftell(): %d is not a valid stream resource in %s on line %d 140 Warning: ftell(): %d is not a valid stream resource in %s on line %d [all …]
|
H A D | fgetcsv_variation23.phpt | 25 var_dump( ftell($fp) ); 27 var_dump( ftell($fp) ); 29 var_dump( ftell($fp) ); 31 var_dump( ftell($fp) );
|
H A D | userstreams.phpt | 71 $n = ftell($tf); 73 if (ftell($tf) != 0) 245 $rpb = ftell($tf); 247 $rpa = ftell($tf); 251 $upb = ftell($fp); 253 $upa = ftell($fp); 259 …printf("REAL: pos=(%d,%d,%d) ret=%d line[%d]=`%s'\n", $rpb, $rpa, ftell($tf), $rr, strlen($rline),… 260 …printf("USER: pos=(%d,%d,%d) ret=%d line[%d]=`%s'\n", $upb, $upa, ftell($fp), $ur, strlen($uline),… 289 if (ftell($fp) != ftell($tf)) { 299 …echo "FGETS: FAIL\niter=$n user=$uline [pos=" . ftell($fp) . "]\nreal=$rline [pos=" . ftell($tf) .… [all …]
|
H A D | 007_variation10.phpt | 33 var_dump( ftell($file_handle) ); //Initial file pointer position, expected at the beginning of the… 35 var_dump( ftell($file_handle) ); //File pointer position after read operation, expected at the end… 37 var_dump( ftell($file_handle) ); //File pointer position after write operation, expected at the en…
|
H A D | 007_variation18.phpt | 33 var_dump( ftell($file_handle) ); //Initial file pointer position, expected at the beginning of the… 35 var_dump( ftell($file_handle) ); //File pointer position after read operation, expected at the end… 37 var_dump( ftell($file_handle) ); //File pointer position after write operation, expected at the en…
|
H A D | 007_variation2.phpt | 33 var_dump( ftell($file_handle) ); //Initial file pointer position, expected at the beginning of the… 35 var_dump( ftell($file_handle) ); //File pointer position after read operation, expected at the end… 37 var_dump( ftell($file_handle) ); //File pointer position after write operation, expected at the en…
|
H A D | bug27508.phpt | 28 return ftell($this->fp); 65 echo ftell($fp) . "\n";
|
H A D | 007_variation15.phpt | 31 var_dump( ftell($file_handle) ); //Initial file pointer position, expected at the beginning of the… 33 var_dump( ftell($file_handle) ); //File pointer position after write operation, expected at the en… 36 var_dump( ftell($file_handle) ); //File pointer position after read operation, expected at the beg…
|
H A D | 007_variation23.phpt | 31 var_dump( ftell($file_handle) ); //Initial file pointer position, expected at the beginning of the… 33 var_dump( ftell($file_handle) ); //File pointer position after write operation, expected at the en… 36 var_dump( ftell($file_handle) ); //File pointer position after read operation, expected at the beg…
|
H A D | 007_variation7.phpt | 31 var_dump( ftell($file_handle) ); //Initial file pointer position, expected at the beginning of the… 33 var_dump( ftell($file_handle) ); //File pointer position after write operation, expected at the en… 36 var_dump( ftell($file_handle) ); //File pointer position after read operation, expected at the beg…
|
H A D | 007_variation8.phpt | 31 var_dump( ftell($file_handle) ); //Initial file pointer position, expected at the beginning of the… 33 var_dump( ftell($file_handle) ); //File pointer position after write operation, expected at the en… 36 var_dump( ftell($file_handle) ); //File pointer position after read operation, expected at the end…
|
H A D | fseek_ftell_rewind_variation5.phpt | 2 Test fseek(), ftell() & rewind() functions : usage variations - all r & a modes, SEEK_CUR 11 Prototype: int ftell ( resource $handle ); 18 /* Testing fseek(),ftell(),rewind() functions 22 echo "*** Testing fseek(), ftell(), rewind() : whence = SEEK_CUR & all r and a modes ***\n"; 32 /* 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() : whence = SEEK_CUR & all r and a modes ***
|
H A D | 007_variation16.phpt | 31 var_dump( ftell($file_handle) ); //Initial file pointer position, expected at the beginning of the… 33 var_dump( ftell($file_handle) ); //File pointer position after write operation, expected at the en… 36 var_dump( ftell($file_handle) ); //File pointer position after read operation, expected at the end…
|
H A D | 007_variation24.phpt | 31 var_dump( ftell($file_handle) ); //Initial file pointer position, expected at the beginning of the… 33 var_dump( ftell($file_handle) ); //File pointer position after write operation, expected at the en… 36 var_dump( ftell($file_handle) ); //File pointer position after read operation, expected at the end…
|
H A D | fwrite_variation2-win32.phpt | 58 var_dump( ftell($file_handle) ); // expected : 0 60 var_dump( ftell($file_handle) ); // expected: 400 65 var_dump( ftell($file_handle)); // expected: 1024/2 67 var_dump( ftell($file_handle) ); 72 var_dump( ftell($file_handle) ); // expected: 1024 75 var_dump( ftell($file_handle) );
|
H A D | fwrite_variation2.phpt | 58 var_dump( ftell($file_handle) ); // expected : 0 60 var_dump( ftell($file_handle) ); // expected: 400 65 var_dump( ftell($file_handle)); // expected: 1024/2 67 var_dump( ftell($file_handle) ); 72 var_dump( ftell($file_handle) ); // expected: 1024 75 var_dump( ftell($file_handle) );
|
H A D | fseek_ftell_rewind_variation3.phpt | 2 Test fseek(), ftell() & rewind() functions : usage variations - all r and a modes, SEEK_SET 11 Prototype: int ftell ( resource $handle ); 18 /* Testing fseek(),ftell(),rewind() functions 23 echo "*** Testing fseek(), ftell(), rewind() : whence = SEEK_SET & all r and a modes ***\n"; 33 /* open the file using $files_modes and perform fseek(),ftell() and rewind() on it */ 49 var_dump( ftell($file_handle) ); // confirm the file pointer position 64 *** Testing fseek(), ftell(), rewind() : whence = SEEK_SET & all r and a modes ***
|
H A D | fseek_ftell_rewind_variation4-win32.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_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 ***
|
/PHP-5.5/ext/phar/tests/ |
H A D | 022.phpt | 23 var_dump(ftell($fp)); 25 var_dump(ftell($fp)); 27 var_dump(ftell($fp)); 29 var_dump(ftell($fp)); 31 var_dump(ftell($fp)); 33 var_dump(ftell($fp)); 35 var_dump(ftell($fp)); 37 var_dump(ftell($fp)); 39 var_dump(ftell($fp)); 41 var_dump(ftell($fp)); [all …]
|
H A D | phar_oo_007.phpt | 33 var_dump($f->ftell()); 38 var_dump($f->ftell()); 41 var_dump($f->ftell()); 43 var_dump($f->ftell()); 51 var_dump($f->ftell());
|