Lines Matching refs:file

15  Description: Gets line from file pointer and strip HTML tags
24 // include the common file related test functions
25 include ("file.inc");
47 /* try reading the file opened in different modes of reading */
51 echo "\n-- Testing fgetss() with file opened using $file_modes[$mode_counter] mode --\n";
53 /* create an empty file and write the strings with tags */
57 echo "Error: failed to open file $filename!\n";
61 // rewind the file pointer to beginning of the file
67 /* read entire file and strip tags */
68 …echo "-- fgetss() with default length, file pointer at 0 , expected : no character should be read …
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
73 // close the file
76 // delete the file
85 -- Testing fgetss() with file opened using w mode --
90 -- fgetss() with default length, file pointer at 0 , expected : no character should be read --
95 -- Testing fgetss() with file opened using wb mode --
100 -- fgetss() with default length, file pointer at 0 , expected : no character should be read --
105 -- Testing fgetss() with file opened using wt mode --
110 -- fgetss() with default length, file pointer at 0 , expected : no character should be read --
115 -- Testing fgetss() with file opened using a mode --
120 -- fgetss() with default length, file pointer at 0 , expected : no character should be read --
125 -- Testing fgetss() with file opened using ab mode --
130 -- fgetss() with default length, file pointer at 0 , expected : no character should be read --
135 -- Testing fgetss() with file opened using at mode --
140 -- fgetss() with default length, file pointer at 0 , expected : no character should be read --
145 -- Testing fgetss() with file opened using x mode --
150 -- fgetss() with default length, file pointer at 0 , expected : no character should be read --
155 -- Testing fgetss() with file opened using xb mode --
160 -- fgetss() with default length, file pointer at 0 , expected : no character should be read --
165 -- Testing fgetss() with file opened using xt mode --
170 -- fgetss() with default length, file pointer at 0 , expected : no character should be read --