/PHP-8.2/ext/standard/tests/file/ |
H A D | fseek_ftell_rewind_error2.phpt | 2 Test fseek(), ftell() & rewind() functions : error conditions - ftell() 6 echo "*** Testing ftell() : error conditions ***\n"; 8 // ftell on a file handle which is already closed 9 echo "-- Testing ftell with closed/unset file handle --\n"; 13 var_dump(ftell($fp)); 21 *** Testing ftell() : error conditions *** 22 -- Testing ftell with closed/unset file handle -- 23 ftell(): supplied resource is not a valid stream resource
|
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 | 36 var_dump( ftell($handle) ); 42 // confirm the closure, using ftell() and feof() 44 var_dump( ftell($handle) ); 71 var_dump( ftell($handle) ); 77 // confirm the closure, using ftell() and feof() 79 var_dump( ftell($handle) ); 105 ftell(): supplied resource is not a valid stream resource 114 ftell(): supplied resource is not a valid stream resource 123 ftell(): supplied resource is not a valid stream resource 132 ftell(): supplied resource is not a valid stream resource [all …]
|
H A D | stream_copy_to_stream.phpt | 15 var_dump(ftell($src)); 16 var_dump(ftell($dest)); 29 var_dump(ftell($src)); 30 var_dump(ftell($dest)); 46 var_dump(ftell($src)); 47 var_dump(ftell($dest)); 63 var_dump(ftell($src)); 64 var_dump(ftell($dest)); 80 var_dump(ftell($src)); 98 var_dump(ftell($src)); [all …]
|
H A D | stream_copy_to_stream_interleaved.phpt | 17 var_dump(ftell($src)); 18 var_dump(ftell($dest)); 22 var_dump(ftell($src)); 23 var_dump(ftell($dest));
|
H A D | fgetcsv_variation23.phpt | 20 var_dump( ftell($fp) ); 22 var_dump( ftell($fp) ); 24 var_dump( ftell($fp) ); 26 var_dump( ftell($fp) );
|
H A D | userstreams.phpt | 70 $n = ftell($tf); 72 if (ftell($tf) != 0) 248 $rpb = ftell($tf); 250 $rpa = ftell($tf); 254 $upb = ftell($fp); 256 $upa = ftell($fp); 262 …printf("REAL: pos=(%d,%d,%d) ret=%d line[%d]=`%s'\n", $rpb, $rpa, ftell($tf), $rr, strlen($rline),… 263 …printf("USER: pos=(%d,%d,%d) ret=%d line[%d]=`%s'\n", $upb, $upa, ftell($fp), $ur, strlen($uline),… 292 if (ftell($fp) != ftell($tf)) { 302 …echo "FGETS: FAIL\niter=$n user=$uline [pos=" . ftell($fp) . "]\nreal=$rline [pos=" . ftell($tf) .… [all …]
|
H A D | 007_variation10.phpt | 22 var_dump( ftell($file_handle) ); //Initial file pointer position, expected at the beginning of the… 24 var_dump( ftell($file_handle) ); //File pointer position after read operation, expected at the end… 26 var_dump( ftell($file_handle) ); //File pointer position after write operation, expected at the en…
|
H A D | 007_variation18.phpt | 22 var_dump( ftell($file_handle) ); //Initial file pointer position, expected at the beginning of the… 24 var_dump( ftell($file_handle) ); //File pointer position after read operation, expected at the end… 26 var_dump( ftell($file_handle) ); //File pointer position after write operation, expected at the en…
|
H A D | 007_variation2.phpt | 22 var_dump( ftell($file_handle) ); //Initial file pointer position, expected at the beginning of the… 24 var_dump( ftell($file_handle) ); //File pointer position after read operation, expected at the end… 26 var_dump( ftell($file_handle) ); //File pointer position after write operation, expected at the en…
|
H A D | 007_variation8.phpt | 20 var_dump( ftell($file_handle) ); //Initial file pointer position, expected at the beginning of the… 22 var_dump( ftell($file_handle) ); //File pointer position after write operation, expected at the en… 25 var_dump( ftell($file_handle) ); //File pointer position after read operation, expected at the end…
|
H A D | bug27508.phpt | 29 return ftell($this->fp); 66 echo ftell($fp) . "\n";
|
H A D | 007_variation15.phpt | 29 var_dump( ftell($file_handle) ); //Initial file pointer position, expected at the beginning of the… 31 var_dump( ftell($file_handle) ); //File pointer position after write operation, expected at the en… 34 var_dump( ftell($file_handle) ); //File pointer position after read operation, expected at the beg…
|
H A D | 007_variation16.phpt | 20 var_dump( ftell($file_handle) ); //Initial file pointer position, expected at the beginning of the… 22 var_dump( ftell($file_handle) ); //File pointer position after write operation, expected at the en… 25 var_dump( ftell($file_handle) ); //File pointer position after read operation, expected at the end…
|
H A D | 007_variation23.phpt | 20 var_dump( ftell($file_handle) ); //Initial file pointer position, expected at the beginning of the… 22 var_dump( ftell($file_handle) ); //File pointer position after write operation, expected at the en… 25 var_dump( ftell($file_handle) ); //File pointer position after read operation, expected at the beg…
|
H A D | 007_variation24.phpt | 20 var_dump( ftell($file_handle) ); //Initial file pointer position, expected at the beginning of the… 22 var_dump( ftell($file_handle) ); //File pointer position after write operation, expected at the en… 25 var_dump( ftell($file_handle) ); //File pointer position after read operation, expected at the end…
|
H A D | 007_variation7.phpt | 20 var_dump( ftell($file_handle) ); //Initial file pointer position, expected at the beginning of the… 22 var_dump( ftell($file_handle) ); //File pointer position after write operation, expected at the en… 25 var_dump( ftell($file_handle) ); //File pointer position after read operation, expected at the beg…
|
H A D | fwrite_variation2-win32.phpt | 49 var_dump( ftell($file_handle) ); // expected : 0 51 var_dump( ftell($file_handle) ); // expected: 400 56 var_dump( ftell($file_handle)); // expected: 1024/2 58 var_dump( ftell($file_handle) ); 63 var_dump( ftell($file_handle) ); // expected: 1024 66 var_dump( ftell($file_handle) );
|
H A D | fwrite_variation2.phpt | 49 var_dump( ftell($file_handle) ); // expected : 0 51 var_dump( ftell($file_handle) ); // expected: 400 56 var_dump( ftell($file_handle)); // expected: 1024/2 58 var_dump( ftell($file_handle) ); 63 var_dump( ftell($file_handle) ); // expected: 1024 66 var_dump( ftell($file_handle) );
|
/PHP-8.2/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 | 32 var_dump($f->ftell()); 37 var_dump($f->ftell()); 40 var_dump($f->ftell()); 42 var_dump($f->ftell()); 50 var_dump($f->ftell());
|
/PHP-8.2/sapi/cli/tests/ |
H A D | std_streams.phpt | 2 Testing ftell() on std streams 15 var_dump(ftell(STDIN)); 16 var_dump(ftell(STDERR)); 17 var_dump(ftell(fopen("php://stdin", "r"))); 18 var_dump(ftell(fopen("php://stderr", "w"))); 21 var_dump(ftell(STDOUT)); 22 var_dump(ftell(fopen("php://stdout", "w")));
|
/PHP-8.2/ext/zip/tests/ |
H A D | oo_stream_seek.phpt | 24 var_dump(ftell($fp)); 27 var_dump(ftell($fp)); 49 var_dump(ftell($fp)); 52 var_dump(ftell($fp));
|
/PHP-8.2/ext/standard/tests/streams/ |
H A D | bug68948.phpt | 13 var_dump(ftell($stream)); 19 var_dump(ftell($stream));
|
/PHP-8.2/Zend/ |
H A D | zend_stream.h | 86 # define zend_ftell ftell 94 # define zend_ftell ftell
|