/PHP-5.3/ext/phar/tests/ |
H A D | 022.phpt | 25 echo 'fseek($fp, 1)';var_dump(fseek($fp, 1)); 27 echo 'fseek($fp, 1, SEEK_CUR)';var_dump(fseek($fp, 1, SEEK_CUR)); 29 echo 'fseek($fp, -1, SEEK_CUR)';var_dump(fseek($fp, -1, SEEK_CUR)); 37 echo 'fseek($fp, 0, SEEK_END)';var_dump(fseek($fp, 0, SEEK_END)); 43 echo 'fseek($fp, 6)';var_dump(fseek($fp, 6)); 45 echo 'fseek($fp, 8)';var_dump(fseek($fp, 8)); 47 echo 'fseek($fp, -1)';var_dump(fseek($fp, -1)); 50 fseek($fp, 4); 54 fseek($fp, 4); 58 fseek($fp, 4); [all …]
|
H A D | 027.phpt | 48 echo "fseek on dir handle\n"; 49 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)); 78 fseek on dir handle
|
H A D | 027U.phpt | 48 echo "fseek on dir handle\n"; 49 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)); 78 fseek on dir handle
|
/PHP-5.3/ext/standard/tests/file/ |
H A D | fseek_ftell_rewind_error1.phpt | 2 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 D | fseek_ftell_rewind_basic1.phpt | 70 -- 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 D | fseek_ftell_rewind_basic2-win32.phpt | 81 -- Testing fseek() with whence = SEEK_SET -- 85 -- Testing fseek() with whence = SEEK_CUR -- 89 -- Testing fseek() with whence = SEEK_END -- 97 -- Testing fseek() with whence = SEEK_SET -- 101 -- Testing fseek() with whence = SEEK_CUR -- 105 -- Testing fseek() with whence = SEEK_END -- 113 -- Testing fseek() with whence = SEEK_SET -- 117 -- Testing fseek() with whence = SEEK_CUR -- 121 -- Testing fseek() with whence = SEEK_END -- 129 -- Testing fseek() with whence = SEEK_SET -- [all …]
|
H A D | fseek_ftell_rewind_basic2.phpt | 80 -- 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 D | fseek_variation3.phpt | 2 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 D | fgets_variation4-win32.phpt | 45 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 D | fgets_variation4.phpt | 45 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 D | fseek_ftell_rewind_variation1.phpt | 18 /* 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 D | fseek_ftell_rewind_variation2-win32.phpt | 23 /* 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 D | fseek_ftell_rewind_variation2.phpt | 23 /* 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 D | fseek_variation1.phpt | 2 Test fseek() function : usage variations - different types for offset 7 /* Prototype : proto int fseek(resource fp, int offset [, int whence]) 13 echo "*** Testing fseek() : usage variations ***\n"; 80 var_dump( fseek($fp, $value, $whence) ); 88 *** Testing fseek() : usage variations *** 108 Warning: fseek() expects parameter 2 to be long, array given in %s on line %d 114 Warning: fseek() expects parameter 2 to be long, array given in %s on line %d 120 Warning: fseek() expects parameter 2 to be long, array given in %s on line %d 126 Warning: fseek() expects parameter 2 to be long, array given in %s on line %d 132 Warning: fseek() expects parameter 2 to be long, array given in %s on line %d [all …]
|
H A D | stream_rfc2397_007.phpt | 21 var_dump(fseek($fp, 4)); 41 var_dump(fseek($fp, 3, SEEK_SET)); 45 var_dump(fseek($fp, 1, SEEK_CUR)); 49 var_dump(fseek($fp, -2, SEEK_CUR)); 53 var_dump(fseek($fp, -10, SEEK_CUR)); 57 var_dump(fseek($fp, 3, SEEK_SET)); 61 var_dump(fseek($fp, 10, SEEK_CUR)); 65 var_dump(fseek($fp, -1, SEEK_END)); 69 var_dump(fseek($fp, 0, SEEK_END)); 73 var_dump(fseek($fp, 1, SEEK_END));
|
H A D | fseek_dir_basic.phpt | 2 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 D | fseek_variation2.phpt | 2 Test fseek() function : usage variations - different types for whence 7 /* Prototype : proto int fseek(resource fp, int offset [, int whence]) 13 echo "*** Testing fseek() : usage variations ***\n"; 65 var_dump( fseek($fp, $offset, $value) ); 73 *** Testing fseek() : usage variations *** 129 Warning: fseek() expects parameter 3 to be long, string given in %s on line %d 135 Warning: fseek() expects parameter 3 to be long, string given in %s on line %d 141 Warning: fseek() expects parameter 3 to be long, string given in %s on line %d 147 Warning: fseek() expects parameter 3 to be long, string given in %s on line %d
|
H A D | fpassthru_basic.phpt | 29 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 D | bug45303.phpt | 7 var_dump(fseek($fd, 1024*1024, SEEK_SET)); 12 Warning: fseek(): stream does not support seeking in %s
|
H A D | fread_fwrite_basic.phpt | 30 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);
|
H A D | fpassthru_variation.phpt | 47 fseek($file_read, $offset_arr[$i], SEEK_SET); 52 fseek($file_read, $offset_arr[$i], SEEK_END); 64 fseek($file_read, 12, SEEK_SET);
|
/PHP-5.3/ext/spl/tests/ |
H A D | SplFileObject_fseek_error_001.phpt | 2 SplFileObject::fseek function - parameters test 6 $obj->fseek(1,2,3); 7 $obj->fseek(); 10 Warning: SplFileObject::fseek() expects at most 2 parameters, 3 given %s 12 Warning: SplFileObject::fseek() expects at least 1 parameter, 0 given %s
|
/PHP-5.3/ext/standard/tests/streams/ |
H A D | bug48309.phpt | 8 fseek($tmp, 0, SEEK_SET); 12 fseek($tmp, 0, SEEK_SET); 20 fseek($tmp, 0, SEEK_SET);
|
H A D | stream_copy_to_stream_socket.phpt | 18 fseek($tmp, 0, SEEK_SET); 23 fseek($tmp, 0, SEEK_SET);
|
/PHP-5.3/ext/standard/tests/filters/ |
H A D | filter_errors.inc | 21 fseek($stream, 0, SEEK_SET); 31 fseek($stream, 0, SEEK_SET);
|