Lines Matching refs:fgetc
2 Test fgetc() function : usage variations - closed handle
6 Prototype: string fgetc ( resource $handle );
10 /* try reading a char using fgetc() using invalid handles
18 echo "*** Testing fgetc() : usage variations ***\n";
20 echo "-- Testing fgetc() with closed handle --\n";
27 var_dump( fgetc($file_handle) );
29 echo "-- Testing fgetc() with unset handle --\n";
35 //fgetc using unset handle
36 var_dump( fgetc($file_handle) );
41 *** Testing fgetc() : usage variations ***
42 -- Testing fgetc() with closed handle --
44 Warning: fgetc(): supplied resource is not a valid stream resource in %s on line %d
46 -- Testing fgetc() with unset handle --
50 Warning: fgetc() expects parameter 1 to be resource, null given in %s on line %d