Lines Matching refs:wb
2 Test fopen and fclose() functions - usage variations - "wb" mode
17 /* Test fopen() and fclose(): Opening the file in "wb" mode,
20 checking for the file truncation when trying to open an existing file in "wb" mode,
26 create_files($file_path, 1, "text_with_new_line", 0755, 20, "wb", "007_variation", 19, "bytes");
30 echo "*** Test fopen() & fclose() functions: with 'wb' mode ***\n";
31 $file_handle = fopen($file, "wb"); //opening the file "wb" mode
43 var_dump( filesize($file) ); //Check for size of existing data file before opening the file in "wb…
45 fclose( fopen($file, "wb") ); //Opening the existing data file again in "wb" mode
46 var_dump( filesize($file) ); //Check for size of existing data file after opening the file in "wb"…
50 fclose( fopen($file, "wb") ); //Opening the non-existing file in "wb" mode, which will be created
58 *** Test fopen() & fclose() functions: with 'wb' mode ***