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