Lines Matching refs:w
2 Test fopen and fclose() functions - usage variations - "w+t" mode
11 /* Test fopen() and fclose(): Opening the file in "w+t" mode,
14 checking for the file truncation when trying to open an existing file in "w+t" mode,
20 create_files($file_path, 1, "text_with_new_line", 0755, 20, "w", "007_variation", 12, "bytes");
24 echo "*** Test fopen() & fclose() functions: with 'w+t' mode ***\n";
25 $file_handle = fopen($file, "w+t"); //opening the file "w+t" mode
37 var_dump( filesize($file) ); //Check for size of existing data file before opening the file in "w+…
39 fclose( fopen($file, "w+t") ); //Opening the existing data file again in "w+t" mode
40 var_dump( filesize($file) ); //Check for size of existing data file after opening the file in "w+t…
44 fclose( fopen($file, "w+t") ); //Opening the non-existing file in "w+t" mode, which will be created
52 *** Test fopen() & fclose() functions: with 'w+t' mode ***