Lines Matching refs:fgetss

2 Test fgetss() function : Basic functionality - read/write modes
14 Prototype: string fgetss ( resource $handle [, int $length [, string $allowable_tags]] );
18 /* try fgetss on files which are opened in read/write modes
25 echo "*** Testing fgetss() : basic operations ***\n";
29 <test>Testing fgetss() functions</test>
43 echo "\n-- Testing fgetss() with file opened using $file_modes[$mode_counter] mode --\n";
60 echo "-- fgetss() with default length, file pointer at 0 --\n";
61 var_dump( fgetss($file_handle) ); // no length and allowable tags provided, reads entire file
68 var_dump( fgetss($file_handle ,30) ); // length parameter given,not reading entire file
82 *** Testing fgetss() : basic operations ***
84 -- Testing fgetss() with file opened using w+ mode --
89 -- fgetss() with default length, file pointer at 0 --
90 string(27) "Testing fgetss() functions
95 string(23) "Testing fgetss() functi"
99 -- Testing fgetss() with file opened using w+b mode --
104 -- fgetss() with default length, file pointer at 0 --
105 string(27) "Testing fgetss() functions
110 string(23) "Testing fgetss() functi"
114 -- Testing fgetss() with file opened using w+t mode --
119 -- fgetss() with default length, file pointer at 0 --
120 string(27) "Testing fgetss() functions
125 string(23) "Testing fgetss() functi"
129 -- Testing fgetss() with file opened using a+ mode --
134 -- fgetss() with default length, file pointer at 0 --
135 string(27) "Testing fgetss() functions
140 string(23) "Testing fgetss() functi"
144 -- Testing fgetss() with file opened using a+b mode --
149 -- fgetss() with default length, file pointer at 0 --
150 string(27) "Testing fgetss() functions
155 string(23) "Testing fgetss() functi"
159 -- Testing fgetss() with file opened using a+t mode --
164 -- fgetss() with default length, file pointer at 0 --
165 string(27) "Testing fgetss() functions
170 string(23) "Testing fgetss() functi"
174 -- Testing fgetss() with file opened using x+ mode --
179 -- fgetss() with default length, file pointer at 0 --
180 string(27) "Testing fgetss() functions
185 string(23) "Testing fgetss() functi"
189 -- Testing fgetss() with file opened using x+b mode --
194 -- fgetss() with default length, file pointer at 0 --
195 string(27) "Testing fgetss() functions
200 string(23) "Testing fgetss() functi"
204 -- Testing fgetss() with file opened using x+t mode --
209 -- fgetss() with default length, file pointer at 0 --
210 string(27) "Testing fgetss() functions
215 string(23) "Testing fgetss() functi"