Lines Matching refs:file

7  Description: Gets character from file pointer
10 include ("file.inc");
16 /* create file with following type of contents */
23 // create file file
26 //open the file in different modes and check the working of fgetc
34 // open the file using the $file_modes
35 $filename = dirname(__FILE__)."/fgetc_basic1.tmp"; // file name that is created by create_files
36 echo "-- Testing fgetc() : file opened using $file_modes[$innerloop_counter] mode --\n";
39 echo "Error: failed to open file $filename!";
43 // perform the read file at least 6 char and check
45 // read data from the file and check, file pointer position, feof etc
47 var_dump( ftell($file_handle) ); // file pointer position
52 // close the file
57 // delete the file
68 -- Testing fgetc() : file opened using r mode --
94 -- Testing fgetc() : file opened using rb mode --
120 -- Testing fgetc() : file opened using rt mode --
146 -- Testing fgetc() : file opened using r+ mode --
172 -- Testing fgetc() : file opened using r+b mode --
198 -- Testing fgetc() : file opened using r+t mode --
225 -- Testing fgetc() : file opened using r mode --
251 -- Testing fgetc() : file opened using rb mode --
277 -- Testing fgetc() : file opened using rt mode --
303 -- Testing fgetc() : file opened using r+ mode --
329 -- Testing fgetc() : file opened using r+b mode --
355 -- Testing fgetc() : file opened using r+t mode --
382 -- Testing fgetc() : file opened using r mode --
409 -- Testing fgetc() : file opened using rb mode --
436 -- Testing fgetc() : file opened using rt mode --
463 -- Testing fgetc() : file opened using r+ mode --
490 -- Testing fgetc() : file opened using r+b mode --
517 -- Testing fgetc() : file opened using r+t mode --