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