Lines Matching refs:fwrite
2 Test fwrite() function : basic functionality
14 echo "*** Testing fwrite() basic operations ***\n";
16 test fwrite with file opened in mode : w,wb,wt,w+,w+b,w+t
23 echo "\n-- Testing fwrite() with file having data of type ". $file_content_type ." --\n";
30 /* open the file using $files_modes and perform fwrite() on it */
43 var_dump( fwrite($file_handle, $data_to_be_written, 100)); //int(100)
48 var_dump( fwrite($file_handle, $data_to_be_written, 2048)); //int(1024)
52 // fwrite() without length parameter
53 var_dump( fwrite($file_handle, $data_to_be_written)); //int(1024)
71 *** Testing fwrite() basic operations ***
73 -- Testing fwrite() with file having data of type numeric --
159 -- Testing fwrite() with file having data of type text --
245 -- Testing fwrite() with file having data of type text_with_new_line --
331 -- Testing fwrite() with file having data of type alphanumeric --