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");
41 /* try reading the file opened in different modes of reading */
45 echo "\n-- Testing fgetss() with file opened using $file_modes[$mode_counter] mode --\n";
47 /* create an empty file and write the strings with tags */
51 echo "Error: failed to open file $filename!\n";
55 // rewind the file pointer to beginning of the file
61 /* read entire file and strip tags */
62 …echo "-- fgetss() with default length, file pointer at 0 , expected : no character should be read …
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
67 // close the file
70 // delete the file
79 -- Testing fgetss() with file opened using w mode --
84 -- fgetss() with default length, file pointer at 0 , expected : no character should be read --
89 -- Testing fgetss() with file opened using wb mode --
94 -- fgetss() with default length, file pointer at 0 , expected : no character should be read --
99 -- Testing fgetss() with file opened using wt mode --
104 -- fgetss() with default length, file pointer at 0 , expected : no character should be read --
109 -- Testing fgetss() with file opened using a mode --
114 -- fgetss() with default length, file pointer at 0 , expected : no character should be read --
119 -- Testing fgetss() with file opened using ab mode --
124 -- fgetss() with default length, file pointer at 0 , expected : no character should be read --
129 -- Testing fgetss() with file opened using at mode --
134 -- fgetss() with default length, file pointer at 0 , expected : no character should be read --
139 -- Testing fgetss() with file opened using x mode --
144 -- fgetss() with default length, file pointer at 0 , expected : no character should be read --
149 -- Testing fgetss() with file opened using xb mode --
154 -- fgetss() with default length, file pointer at 0 , expected : no character should be read --
159 -- Testing fgetss() with file opened using xt mode --
164 -- fgetss() with default length, file pointer at 0 , expected : no character should be read --