Lines Matching refs:fwrite

2 Test fwrite() function : usage variations - r, rb & rt modes
11 echo "*** Testing fwrite() various operations ***\n";
17 Test fwrite with file opened in mode : r,rb,rt
26 echo "\n-- Testing fwrite() with file having content of type ". $file_content_type ." --\n";
28 /* open the file using $files_modes and perform fwrite() on it */
49 var_dump( fwrite($file_handle, $data_to_be_written ));
53 // move the file pointer to end of the file and try fwrite()
56 var_dump( fwrite($file_handle, $data_to_be_written) ); // fwrite to fail
73 *** Testing fwrite() various operations ***
75 -- Testing fwrite() with file having content of type numeric --
79 Notice: fwrite(): Write of 1024 bytes failed with errno=9 Bad file descriptor in %s on line %d
85 Notice: fwrite(): Write of 1024 bytes failed with errno=9 Bad file descriptor in %s on line %d
95 Notice: fwrite(): Write of 1024 bytes failed with errno=9 Bad file descriptor in %s on line %d
101 Notice: fwrite(): Write of 1024 bytes failed with errno=9 Bad file descriptor in %s on line %d
111 Notice: fwrite(): Write of 1024 bytes failed with errno=9 Bad file descriptor in %s on line %d
117 Notice: fwrite(): Write of 1024 bytes failed with errno=9 Bad file descriptor in %s on line %d
125 -- Testing fwrite() with file having content of type text --
129 Notice: fwrite(): Write of 1024 bytes failed with errno=9 Bad file descriptor in %s on line %d
135 Notice: fwrite(): Write of 1024 bytes failed with errno=9 Bad file descriptor in %s on line %d
145 Notice: fwrite(): Write of 1024 bytes failed with errno=9 Bad file descriptor in %s on line %d
151 Notice: fwrite(): Write of 1024 bytes failed with errno=9 Bad file descriptor in %s on line %d
161 Notice: fwrite(): Write of 1024 bytes failed with errno=9 Bad file descriptor in %s on line %d
167 Notice: fwrite(): Write of 1024 bytes failed with errno=9 Bad file descriptor in %s on line %d
175 -- Testing fwrite() with file having content of type text_with_new_line --
179 Notice: fwrite(): Write of 1024 bytes failed with errno=9 Bad file descriptor in %s on line %d
185 Notice: fwrite(): Write of 1024 bytes failed with errno=9 Bad file descriptor in %s on line %d
195 Notice: fwrite(): Write of 1024 bytes failed with errno=9 Bad file descriptor in %s on line %d
201 Notice: fwrite(): Write of 1024 bytes failed with errno=9 Bad file descriptor in %s on line %d
211 Notice: fwrite(): Write of 1024 bytes failed with errno=9 Bad file descriptor in %s on line %d
217 Notice: fwrite(): Write of 1024 bytes failed with errno=9 Bad file descriptor in %s on line %d
225 -- Testing fwrite() with file having content of type alphanumeric --
229 Notice: fwrite(): Write of 1024 bytes failed with errno=9 Bad file descriptor in %s on line %d
235 Notice: fwrite(): Write of 1024 bytes failed with errno=9 Bad file descriptor in %s on line %d
245 Notice: fwrite(): Write of 1024 bytes failed with errno=9 Bad file descriptor in %s on line %d
251 Notice: fwrite(): Write of 1024 bytes failed with errno=9 Bad file descriptor in %s on line %d
261 Notice: fwrite(): Write of 1024 bytes failed with errno=9 Bad file descriptor in %s on line %d
267 Notice: fwrite(): Write of 1024 bytes failed with errno=9 Bad file descriptor in %s on line %d