Home
last modified time | relevance | path

Searched refs:pointer (Results 1 – 25 of 410) sorted by relevance

12345678910>>...17

/PHP-7.1/ext/standard/tests/file/
H A Dfgets_variation3.phpt7 Description: Gets a line from file pointer
39 // get the file pointer to beginning of the file
48 // get the file pointer to beginning of the file
71 -- fgets() with default length, file pointer at 0 --
82 -- fgets() with default length, file pointer at 0 --
93 -- fgets() with default length, file pointer at 0 --
106 -- fgets() with default length, file pointer at 0 --
119 -- fgets() with default length, file pointer at 0 --
130 -- fgets() with default length, file pointer at 0 --
141 -- fgets() with default length, file pointer at 0 --
[all …]
H A Dfgets_basic.phpt7 Description: Gets a line from file pointer
57 -- fgets() with default length, file pointer at 0 --
67 -- fgets() with default length, file pointer at 0 --
77 -- fgets() with default length, file pointer at 0 --
89 -- fgets() with default length, file pointer at 0 --
101 -- fgets() with default length, file pointer at 0 --
111 -- fgets() with default length, file pointer at 0 --
121 -- fgets() with default length, file pointer at 0 --
133 -- fgets() with default length, file pointer at 0 --
145 -- fgets() with default length, file pointer at 0 --
[all …]
H A Dfgets_variation6-win32.phpt13 Description: Gets a line from file pointer
69 -- fgets() with file pointer pointing at EOF --
77 -- fgets() with file pointer pointing at EOF --
85 -- fgets() with file pointer pointing at EOF --
93 -- fgets() with file pointer pointing at EOF --
103 -- fgets() with file pointer pointing at EOF --
111 -- fgets() with file pointer pointing at EOF --
119 -- fgets() with file pointer pointing at EOF --
127 -- fgets() with file pointer pointing at EOF --
137 -- fgets() with file pointer pointing at EOF --
[all …]
H A Dfgets_variation6.phpt13 Description: Gets a line from file pointer
69 -- fgets() with file pointer pointing at EOF --
77 -- fgets() with file pointer pointing at EOF --
85 -- fgets() with file pointer pointing at EOF --
93 -- fgets() with file pointer pointing at EOF --
103 -- fgets() with file pointer pointing at EOF --
111 -- fgets() with file pointer pointing at EOF --
119 -- fgets() with file pointer pointing at EOF --
127 -- fgets() with file pointer pointing at EOF --
137 -- fgets() with file pointer pointing at EOF --
[all …]
H A Dftruncate_variation7-win32.phpt52 rewind($file_handle); // file pointer to 0
78 -- Testing ftruncate(): File pointer at the end --
86 -- Testing ftruncate(): File pointer at the end --
94 -- Testing ftruncate(): File pointer at the end --
102 -- Testing ftruncate(): File pointer at the end --
110 -- Testing ftruncate(): File pointer at the end --
118 -- Testing ftruncate(): File pointer at the end --
126 -- Testing ftruncate(): File pointer at the end --
134 -- Testing ftruncate(): File pointer at the end --
142 -- Testing ftruncate(): File pointer at the end --
[all …]
H A Dftruncate_variation7.phpt52 rewind($file_handle); // file pointer to 0
78 -- Testing ftruncate(): File pointer at the end --
86 -- Testing ftruncate(): File pointer at the end --
94 -- Testing ftruncate(): File pointer at the end --
102 -- Testing ftruncate(): File pointer at the end --
110 -- Testing ftruncate(): File pointer at the end --
118 -- Testing ftruncate(): File pointer at the end --
126 -- Testing ftruncate(): File pointer at the end --
134 -- Testing ftruncate(): File pointer at the end --
142 -- Testing ftruncate(): File pointer at the end --
[all …]
H A Dfgetss_basic2-win32-mb.phpt51 // rewind the file pointer to beginning of the file
87 -- fgetss() with default length, file pointer at 0 --
92 -- fgets() with length = 30, file pointer at 0 --
107 -- fgets() with length = 30, file pointer at 0 --
122 -- fgets() with length = 30, file pointer at 0 --
137 -- fgets() with length = 30, file pointer at 0 --
152 -- fgets() with length = 30, file pointer at 0 --
167 -- fgets() with length = 30, file pointer at 0 --
182 -- fgets() with length = 30, file pointer at 0 --
197 -- fgets() with length = 30, file pointer at 0 --
[all …]
H A Dfgetss_basic2-win32.phpt51 // rewind the file pointer to beginning of the file
87 -- fgetss() with default length, file pointer at 0 --
92 -- fgets() with length = 30, file pointer at 0 --
107 -- fgets() with length = 30, file pointer at 0 --
122 -- fgets() with length = 30, file pointer at 0 --
137 -- fgets() with length = 30, file pointer at 0 --
152 -- fgets() with length = 30, file pointer at 0 --
167 -- fgets() with length = 30, file pointer at 0 --
182 -- fgets() with length = 30, file pointer at 0 --
197 -- fgets() with length = 30, file pointer at 0 --
[all …]
H A Dfgetss_basic2.phpt49 // rewind the file pointer to beginning of the file
85 -- fgetss() with default length, file pointer at 0 --
90 -- fgets() with length = 30, file pointer at 0 --
105 -- fgets() with length = 30, file pointer at 0 --
120 -- fgets() with length = 30, file pointer at 0 --
135 -- fgets() with length = 30, file pointer at 0 --
150 -- fgets() with length = 30, file pointer at 0 --
165 -- fgets() with length = 30, file pointer at 0 --
180 -- fgets() with length = 30, file pointer at 0 --
195 -- fgets() with length = 30, file pointer at 0 --
[all …]
H A Dfgetss_basic1.phpt7 Description: Gets line from file pointer and strip HTML tags
71 -- fgetss() with default length, file pointer at 0 --
76 -- fgets() with length = 30, file pointer at 0 --
82 -- fgetss() with default length, file pointer at 0 --
87 -- fgets() with length = 30, file pointer at 0 --
93 -- fgetss() with default length, file pointer at 0 --
98 -- fgets() with length = 30, file pointer at 0 --
104 -- fgetss() with default length, file pointer at 0 --
109 -- fgets() with length = 30, file pointer at 0 --
120 -- fgets() with length = 30, file pointer at 0 --
[all …]
H A Dfgetss_variation5.phpt13 Description: Gets line from file pointer and strip HTML tags
52 // rewind the file pointer to beginning of the file
88 -- Reading when file pointer points to EOF --
103 -- Reading when file pointer points to EOF --
118 -- Reading when file pointer points to EOF --
133 -- Reading when file pointer points to EOF --
148 -- Reading when file pointer points to EOF --
163 -- Reading when file pointer points to EOF --
178 -- Reading when file pointer points to EOF --
193 -- Reading when file pointer points to EOF --
[all …]
H A Dfgetss_variation5-win32.phpt13 Description: Gets line from file pointer and strip HTML tags
55 // rewind the file pointer to beginning of the file
91 -- Reading when file pointer points to EOF --
106 -- Reading when file pointer points to EOF --
121 -- Reading when file pointer points to EOF --
136 -- Reading when file pointer points to EOF --
151 -- Reading when file pointer points to EOF --
166 -- Reading when file pointer points to EOF --
181 -- Reading when file pointer points to EOF --
196 -- Reading when file pointer points to EOF --
[all …]
H A Dfgetss_variation4.phpt2 Test fgetss() function : usage variations - read modes, file pointer at EOF
12 Description: Gets line from file pointer and strip HTML tags
50 // rewind the file pointer to beginning of the file
56 echo "-- Reading when file pointer points to EOF --\n";
58 var_dump( ftell($file_handle) ); //ensure file pointer at end
84 -- Reading when file pointer points to EOF --
99 -- Reading when file pointer points to EOF --
114 -- Reading when file pointer points to EOF --
129 -- Reading when file pointer points to EOF --
144 -- Reading when file pointer points to EOF --
[all …]
H A Dfgetc_variation1.phpt2 Test fgetc() function : usage variations - read when file pointer at EOF
7 Description: Gets character from file pointer
13 echo "-- Testing fgetc() with file whose file pointer is pointing to EOF --\n";
33 var_dump( fseek($file_handle, 0, SEEK_END) ); // set file pointer to eof
35 var_dump( ftell($file_handle) ); // ensure that file pointer is at eof
37 var_dump( feof($file_handle) ); // ensure that file pointer is at eof
38 var_dump( ftell($file_handle) ); // file pointer position
51 -- Testing fgetc() with file whose file pointer is pointing to EOF --
H A Dfgetss_variation1-win32.phpt13 Description: Gets line from file pointer and strip HTML tags
59 // rewind the file pointer to beginning of the file
68 var_dump( ftell($file_handle) ); //ensure that file pointer position is not changed
69 var_dump( feof($file_handle) ); // check if end of file pointer is set
88 -- fgetss() with default length, file pointer at 0 , expected : no character should be read --
98 -- fgetss() with default length, file pointer at 0 , expected : no character should be read --
108 -- fgetss() with default length, file pointer at 0 , expected : no character should be read --
118 -- fgetss() with default length, file pointer at 0 , expected : no character should be read --
128 -- fgetss() with default length, file pointer at 0 , expected : no character should be read --
138 -- fgetss() with default length, file pointer at 0 , expected : no character should be read --
[all …]
H A Dfgetss_variation1.phpt13 Description: Gets line from file pointer and strip HTML tags
55 // rewind the file pointer to beginning of the file
64 var_dump( ftell($file_handle) ); //ensure that file pointer position is not changed
65 var_dump( feof($file_handle) ); // check if end of file pointer is set
84 -- fgetss() with default length, file pointer at 0 , expected : no character should be read --
94 -- fgetss() with default length, file pointer at 0 , expected : no character should be read --
104 -- fgetss() with default length, file pointer at 0 , expected : no character should be read --
114 -- fgetss() with default length, file pointer at 0 , expected : no character should be read --
124 -- fgetss() with default length, file pointer at 0 , expected : no character should be read --
134 -- fgetss() with default length, file pointer at 0 , expected : no character should be read --
[all …]
H A Dfread_variation3-win32.phpt13 Description: reads up to length bytes from the file pointer referenced by handle.
31 // print file pointer position before read
45 // file pointer position after read
47 // check if file pointer at eof()
95 // try fread when file pointer at end
97 //reading file when file pointer at end
124 -- Reading beyond filesize when file pointer pointing to EOF, expeceted : 0 bytes --
138 -- Reading beyond filesize when file pointer pointing to EOF, expeceted : 0 bytes --
152 -- Reading beyond filesize when file pointer pointing to EOF, expeceted : 0 bytes --
166 -- Reading beyond filesize when file pointer pointing to EOF, expeceted : 0 bytes --
[all …]
H A Dfread_variation3.phpt13 Description: reads up to length bytes from the file pointer referenced by handle.
31 // print file pointer position before read
45 // file pointer position after read
47 // check if file pointer at eof()
95 // try fread when file pointer at end
97 //reading file when file pointer at end
124 -- Reading beyond filesize when file pointer pointing to EOF, expeceted : 0 bytes --
138 -- Reading beyond filesize when file pointer pointing to EOF, expeceted : 0 bytes --
152 -- Reading beyond filesize when file pointer pointing to EOF, expeceted : 0 bytes --
166 -- Reading beyond filesize when file pointer pointing to EOF, expeceted : 0 bytes --
[all …]
H A Dfread_variation4-win32.phpt13 Description: reads up to length bytes from the file pointer referenced by handle.
31 // print file pointer position before read
45 // file pointer position after read
47 // check if file pointer at eof()
93 // try fread when file pointer at end
95 //reading file when file pointer at end
121 -- Reading beyond filesize when file pointer pointing to EOF, expeceted : 0 bytes --
134 -- Reading beyond filesize when file pointer pointing to EOF, expeceted : 0 bytes --
147 -- Reading beyond filesize when file pointer pointing to EOF, expeceted : 0 bytes --
160 -- Reading beyond filesize when file pointer pointing to EOF, expeceted : 0 bytes --
[all …]
H A Dfread_variation4.phpt13 Description: reads up to length bytes from the file pointer referenced by handle.
31 // print file pointer position before read
45 // file pointer position after read
47 // check if file pointer at eof()
93 // try fread when file pointer at end
95 //reading file when file pointer at end
121 -- Reading beyond filesize when file pointer pointing to EOF, expeceted : 0 bytes --
134 -- Reading beyond filesize when file pointer pointing to EOF, expeceted : 0 bytes --
147 -- Reading beyond filesize when file pointer pointing to EOF, expeceted : 0 bytes --
160 -- Reading beyond filesize when file pointer pointing to EOF, expeceted : 0 bytes --
[all …]
H A Dfread_variation3-win32-mb.phpt13 Description: reads up to length bytes from the file pointer referenced by handle.
31 // print file pointer position before read
45 // file pointer position after read
47 // check if file pointer at eof()
95 // try fread when file pointer at end
97 //reading file when file pointer at end
124 -- Reading beyond filesize when file pointer pointing to EOF, expeceted : 0 bytes --
138 -- Reading beyond filesize when file pointer pointing to EOF, expeceted : 0 bytes --
152 -- Reading beyond filesize when file pointer pointing to EOF, expeceted : 0 bytes --
166 -- Reading beyond filesize when file pointer pointing to EOF, expeceted : 0 bytes --
[all …]
/PHP-7.1/ext/standard/tests/dir/
H A Dclosedir_variation3.phpt2 Test closedir() function : usage variations - close a file pointer
12 * Create a file pointer using fopen() then try to close it using closedir()
20 echo "\n-- Try to close the file pointer using closedir() --\n";
23 echo "\n-- Check file pointer: --\n";
37 -- Try to close the file pointer using closedir() --
42 -- Check file pointer: --
/PHP-7.1/ext/standard/tests/array/
H A Dend_variation3.phpt6 * Description: Advances array argument's internal pointer to the last element and return it
11 * Test how the internal pointer is affected when two variables are referenced to each other
18 echo "\n-- Initial position of internal pointer --\n";
23 // the internal pointer is the same for both
35 -- Initial position of internal pointer --
H A Dkey_variation3.phpt6 * Description: Return the key of the element currently pointed to by the internal array pointer
11 * Test how the internal pointer is affected when two variables are referenced to each other
18 echo "\n-- Initial position of internal pointer --\n";
22 // the internal pointer is the same for both
37 -- Initial position of internal pointer --
H A Dcurrent_variation3.phpt6 * Description: Return the element currently pointed to by the internal array pointer
12 * Test how the internal pointer is affected when two variables are referenced to each other
19 echo "\n-- Initial position of internal pointer --\n";
24 // the internal pointer is the same for both
36 -- Initial position of internal pointer --

Completed in 41 milliseconds

12345678910>>...17