Lines Matching refs:fgetss

2 Test fgetss() function : usage variations - write only modes
14 Prototype: string fgetss ( resource $handle [, int $length [, string $allowable_tags]] );
27 echo "*** Testing fgetss() : usage variations ***\n";
31 <test>Testing fgetss() functions</test>
51 echo "\n-- Testing fgetss() with file opened using $file_modes[$mode_counter] mode --\n";
68 …echo "-- fgetss() with default length, file pointer at 0 , expected : no character should be read …
69 var_dump( fgetss($file_handle) ); // expected : no character should be read
83 *** Testing fgetss() : usage variations ***
85 -- Testing fgetss() with file opened using w mode --
90 -- fgetss() with default length, file pointer at 0 , expected : no character should be read --
92 Notice: fgetss(): read of 8192 bytes failed with errno=9 Bad file descriptor in %s on line %d
97 -- Testing fgetss() with file opened using wb mode --
102 -- fgetss() with default length, file pointer at 0 , expected : no character should be read --
104 Notice: fgetss(): read of 8192 bytes failed with errno=9 Bad file descriptor in %s on line %d
109 -- Testing fgetss() with file opened using wt mode --
114 -- fgetss() with default length, file pointer at 0 , expected : no character should be read --
116 Notice: fgetss(): read of 8192 bytes failed with errno=9 Bad file descriptor in %s on line %d
121 -- Testing fgetss() with file opened using a mode --
126 -- fgetss() with default length, file pointer at 0 , expected : no character should be read --
128 Notice: fgetss(): read of 8192 bytes failed with errno=9 Bad file descriptor in %s on line %d
133 -- Testing fgetss() with file opened using ab mode --
138 -- fgetss() with default length, file pointer at 0 , expected : no character should be read --
140 Notice: fgetss(): read of 8192 bytes failed with errno=9 Bad file descriptor in %s on line %d
145 -- Testing fgetss() with file opened using at mode --
150 -- fgetss() with default length, file pointer at 0 , expected : no character should be read --
152 Notice: fgetss(): read of 8192 bytes failed with errno=9 Bad file descriptor in %s on line %d
157 -- Testing fgetss() with file opened using x mode --
162 -- fgetss() with default length, file pointer at 0 , expected : no character should be read --
164 Notice: fgetss(): read of 8192 bytes failed with errno=9 Bad file descriptor in %s on line %d
169 -- Testing fgetss() with file opened using xb mode --
174 -- fgetss() with default length, file pointer at 0 , expected : no character should be read --
176 Notice: fgetss(): read of 8192 bytes failed with errno=9 Bad file descriptor in %s on line %d
181 -- Testing fgetss() with file opened using xt mode --
186 -- fgetss() with default length, file pointer at 0 , expected : no character should be read --
188 Notice: fgetss(): read of 8192 bytes failed with errno=9 Bad file descriptor in %s on line %d