英[get] 美[ɡɛt]
vt. Get; catch; persuade; receive (punishment, etc.)
vt.& vi. Arrive, come
vi.Become; start; try to deal with; obtain benefits or wealth
n.Reproduction, cub; profit
Third person singular: gets Present participle: getting Past tense: got Past participle: gotgot
php fgetc() function syntax
Function: Read a character from the file pointer.
Syntax: fgetc(file)
Parameters:
Parameter | Description |
file | Required. Specifies the documents to be checked. |
Explanation: Returns a string containing one character, which is obtained from the file pointed to by file. Returns false if EOF is encountered.
php fgetc() function example
<?php $file = fopen("./test.txt","r"); echo fgetc($file); ?>