Lines Matching refs:w
2 Test fopen and fclose() functions - usage variations - "w+b" mode
6 /* Test fopen() and fclose(): Opening the file in "w+b" mode,
9 checking for the file truncation when trying to open an existing file in "w+b" mode,
15 create_files($file_path, 1, "text_with_new_line", 0755, 20, "w", "007_variation", 20, "bytes");
19 echo "*** Test fopen() & fclose() functions: with 'w+b' mode ***\n";
20 $file_handle = fopen($file, "w+b"); //opening the file "w+b" mode
32 var_dump( filesize($file) ); //Check for size of existing data file before opening the file in "w+…
34 fclose( fopen($file, "w+b") ); //Opening the existing data file again in "w+b" mode
35 var_dump( filesize($file) ); //Check for size of existing data file after opening the file in "w+b…
39 fclose( fopen($file, "w+b") ); //Opening the non-existing file in "w+b" mode, which will be created
48 *** Test fopen() & fclose() functions: with 'w+b' mode ***