Lines Matching refs:file

13  Description: Gets line from file pointer and strip HTML tags
22 // include the common file related test functions
23 include ("file.inc");
45 /* try reading the file opened in different modes of reading */
49 echo "\n-- Testing fgetss() with file opened using $file_modes[$mode_counter] mode --\n";
51 /* create an empty file and write the strings with tags */
55 echo "Error: failed to open file $filename!\n";
59 // rewind the file pointer to beginning of the file
65 /* read entire file and strip tags */
66 …echo "-- fgetss() with default length, file pointer at 0 , expected : no character should be read …
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
71 // close the file
74 // delete the file
83 -- Testing fgetss() with file opened using w mode --
88 -- fgetss() with default length, file pointer at 0 , expected : no character should be read --
93 -- Testing fgetss() with file opened using wb mode --
98 -- fgetss() with default length, file pointer at 0 , expected : no character should be read --
103 -- Testing fgetss() with file opened using wt mode --
108 -- fgetss() with default length, file pointer at 0 , expected : no character should be read --
113 -- Testing fgetss() with file opened using a mode --
118 -- fgetss() with default length, file pointer at 0 , expected : no character should be read --
123 -- Testing fgetss() with file opened using ab mode --
128 -- fgetss() with default length, file pointer at 0 , expected : no character should be read --
133 -- Testing fgetss() with file opened using at mode --
138 -- fgetss() with default length, file pointer at 0 , expected : no character should be read --
143 -- Testing fgetss() with file opened using x mode --
148 -- fgetss() with default length, file pointer at 0 , expected : no character should be read --
153 -- Testing fgetss() with file opened using xb mode --
158 -- fgetss() with default length, file pointer at 0 , expected : no character should be read --
163 -- Testing fgetss() with file opened using xt mode --
168 -- fgetss() with default length, file pointer at 0 , expected : no character should be read --