/PHP-7.4/ext/standard/tests/file/ |
H A D | fgets_variation3.phpt | 7 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 D | fgets_basic.phpt | 7 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 D | fgets_variation6-win32.phpt | 13 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 D | fgets_variation6.phpt | 13 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 D | ftruncate_variation7-win32.phpt | 52 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 D | ftruncate_variation7.phpt | 52 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 D | fgetss_basic2.phpt | 51 // 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 D | fgetss_basic2-win32-mb.phpt | 53 // rewind the file pointer to beginning of the file 89 -- fgetss() with default length, file pointer at 0 -- 94 -- fgets() with length = 30, file pointer at 0 -- 109 -- fgets() with length = 30, file pointer at 0 -- 124 -- fgets() with length = 30, file pointer at 0 -- 139 -- fgets() with length = 30, file pointer at 0 -- 154 -- fgets() with length = 30, file pointer at 0 -- 169 -- fgets() with length = 30, file pointer at 0 -- 184 -- fgets() with length = 30, file pointer at 0 -- 199 -- fgets() with length = 30, file pointer at 0 -- [all …]
|
H A D | fgetss_basic2-win32.phpt | 53 // rewind the file pointer to beginning of the file 89 -- fgetss() with default length, file pointer at 0 -- 94 -- fgets() with length = 30, file pointer at 0 -- 109 -- fgets() with length = 30, file pointer at 0 -- 124 -- fgets() with length = 30, file pointer at 0 -- 139 -- fgets() with length = 30, file pointer at 0 -- 154 -- fgets() with length = 30, file pointer at 0 -- 169 -- fgets() with length = 30, file pointer at 0 -- 184 -- fgets() with length = 30, file pointer at 0 -- 199 -- fgets() with length = 30, file pointer at 0 -- [all …]
|
H A D | fgetss_basic1.phpt | 9 Description: Gets line from file pointer and strip HTML tags 73 -- fgetss() with default length, file pointer at 0 -- 78 -- fgets() with length = 30, file pointer at 0 -- 84 -- fgetss() with default length, file pointer at 0 -- 89 -- fgets() with length = 30, file pointer at 0 -- 95 -- fgetss() with default length, file pointer at 0 -- 100 -- fgets() with length = 30, file pointer at 0 -- 106 -- fgetss() with default length, file pointer at 0 -- 111 -- fgets() with length = 30, file pointer at 0 -- 122 -- fgets() with length = 30, file pointer at 0 -- [all …]
|
H A D | fgetss_variation5-win32.phpt | 15 Description: Gets line from file pointer and strip HTML tags 57 // rewind the file pointer to beginning of the file 93 -- Reading when file pointer points to EOF -- 108 -- Reading when file pointer points to EOF -- 123 -- Reading when file pointer points to EOF -- 138 -- Reading when file pointer points to EOF -- 153 -- Reading when file pointer points to EOF -- 168 -- Reading when file pointer points to EOF -- 183 -- Reading when file pointer points to EOF -- 198 -- Reading when file pointer points to EOF -- [all …]
|
H A D | fgetss_variation5.phpt | 15 Description: Gets line from file pointer and strip HTML tags 54 // rewind the file pointer to beginning of the file 90 -- Reading when file pointer points to EOF -- 105 -- Reading when file pointer points to EOF -- 120 -- Reading when file pointer points to EOF -- 135 -- Reading when file pointer points to EOF -- 150 -- Reading when file pointer points to EOF -- 165 -- Reading when file pointer points to EOF -- 180 -- Reading when file pointer points to EOF -- 195 -- Reading when file pointer points to EOF -- [all …]
|
H A D | fgetss_variation4.phpt | 2 Test fgetss() function : usage variations - read modes, file pointer at EOF 14 Description: Gets line from file pointer and strip HTML tags 52 // rewind the file pointer to beginning of the file 58 echo "-- Reading when file pointer points to EOF --\n"; 60 var_dump( ftell($file_handle) ); //ensure file pointer at end 86 -- Reading when file pointer points to EOF -- 101 -- Reading when file pointer points to EOF -- 116 -- Reading when file pointer points to EOF -- 131 -- Reading when file pointer points to EOF -- 146 -- Reading when file pointer points to EOF -- [all …]
|
H A D | fgetc_variation1.phpt | 2 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 D | fread_variation3-win32-mb.phpt | 13 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 D | fread_variation3-win32.phpt | 13 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 D | fread_variation3.phpt | 13 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 D | fgetss_variation1-win32.phpt | 15 Description: Gets line from file pointer and strip HTML tags 61 // rewind the file pointer to beginning of the file 70 var_dump( ftell($file_handle) ); //ensure that file pointer position is not changed 71 var_dump( feof($file_handle) ); // check if end of file pointer is set 90 -- fgetss() with default length, file pointer at 0 , expected : no character should be read -- 102 -- 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 -- 126 -- 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 -- 150 -- fgetss() with default length, file pointer at 0 , expected : no character should be read -- [all …]
|
H A D | fgetss_variation1.phpt | 15 Description: Gets line from file pointer and strip HTML tags 57 // rewind the file pointer to beginning of the file 66 var_dump( ftell($file_handle) ); //ensure that file pointer position is not changed 67 var_dump( feof($file_handle) ); // check if end of file pointer is set 86 -- 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 -- 110 -- fgetss() with default length, file pointer at 0 , expected : no character should be read -- 122 -- 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 -- 146 -- fgetss() with default length, file pointer at 0 , expected : no character should be read -- [all …]
|
/PHP-7.4/ext/standard/tests/dir/ |
H A D | closedir_variation3.phpt | 2 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.4/ext/standard/tests/array/ |
H A D | end_variation3.phpt | 6 * 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 D | key_variation3.phpt | 6 * 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 D | current_variation3.phpt | 6 * 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 --
|
H A D | reset_variation3.phpt | 6 * Description: Set array argument's internal pointer to the first element and return it 12 * internal pointer in both arrays 19 echo "\n-- Initial position of internal pointer --\n"; 23 // the internal pointer is the same for both 45 -- Initial position of internal pointer --
|
/PHP-7.4/main/ |
H A D | alloca.c | 67 typedef void *pointer; typedef 69 typedef char *pointer; typedef 151 pointer 179 free ((pointer) hp); /* Collect garbage. */ 199 register pointer new = malloc (sizeof (header) + size); 212 return (pointer) ((char *) new + sizeof (header));
|