Lines Matching refs:fwrite
2 Test fwrite() function : usage variations - r, rb & rt modes
5 echo "*** Testing fwrite() various operations ***\n";
11 Test fwrite with file opened in mode : r,rb,rt
19 echo "\n-- Testing fwrite() with file having content of type ". $file_content_type ." --\n";
21 /* open the file using $files_modes and perform fwrite() on it */
42 var_dump( fwrite($file_handle, $data_to_be_written ));
46 // move the file pointer to end of the file and try fwrite()
49 var_dump( fwrite($file_handle, $data_to_be_written) ); // fwrite to fail
65 *** Testing fwrite() various operations ***
67 -- Testing fwrite() with file having content of type numeric --
71 Notice: fwrite(): Write of 1024 bytes failed with errno=9 Bad file descriptor in %s on line %d
77 Notice: fwrite(): Write of 1024 bytes failed with errno=9 Bad file descriptor in %s on line %d
87 Notice: fwrite(): Write of 1024 bytes failed with errno=9 Bad file descriptor in %s on line %d
93 Notice: fwrite(): Write of 1024 bytes failed with errno=9 Bad file descriptor in %s on line %d
103 Notice: fwrite(): Write of 1024 bytes failed with errno=9 Bad file descriptor in %s on line %d
109 Notice: fwrite(): Write of 1024 bytes failed with errno=9 Bad file descriptor in %s on line %d
117 -- Testing fwrite() with file having content of type text --
121 Notice: fwrite(): Write of 1024 bytes failed with errno=9 Bad file descriptor in %s on line %d
127 Notice: fwrite(): Write of 1024 bytes failed with errno=9 Bad file descriptor in %s on line %d
137 Notice: fwrite(): Write of 1024 bytes failed with errno=9 Bad file descriptor in %s on line %d
143 Notice: fwrite(): Write of 1024 bytes failed with errno=9 Bad file descriptor in %s on line %d
153 Notice: fwrite(): Write of 1024 bytes failed with errno=9 Bad file descriptor in %s on line %d
159 Notice: fwrite(): Write of 1024 bytes failed with errno=9 Bad file descriptor in %s on line %d
167 -- Testing fwrite() with file having content of type text_with_new_line --
171 Notice: fwrite(): Write of 1024 bytes failed with errno=9 Bad file descriptor in %s on line %d
177 Notice: fwrite(): Write of 1024 bytes failed with errno=9 Bad file descriptor in %s on line %d
187 Notice: fwrite(): Write of 1024 bytes failed with errno=9 Bad file descriptor in %s on line %d
193 Notice: fwrite(): Write of 1024 bytes failed with errno=9 Bad file descriptor in %s on line %d
203 Notice: fwrite(): Write of 1024 bytes failed with errno=9 Bad file descriptor in %s on line %d
209 Notice: fwrite(): Write of 1024 bytes failed with errno=9 Bad file descriptor in %s on line %d
217 -- Testing fwrite() with file having content of type alphanumeric --
221 Notice: fwrite(): Write of 1024 bytes failed with errno=9 Bad file descriptor in %s on line %d
227 Notice: fwrite(): Write of 1024 bytes failed with errno=9 Bad file descriptor in %s on line %d
237 Notice: fwrite(): Write of 1024 bytes failed with errno=9 Bad file descriptor in %s on line %d
243 Notice: fwrite(): Write of 1024 bytes failed with errno=9 Bad file descriptor in %s on line %d
253 Notice: fwrite(): Write of 1024 bytes failed with errno=9 Bad file descriptor in %s on line %d
259 Notice: fwrite(): Write of 1024 bytes failed with errno=9 Bad file descriptor in %s on line %d