Home »
MCQs »
PHP MCQs
Which PHP function reads a single character from a file?
150. Which PHP function reads a single character from a file?
- readcharacter()
- getchar()
- fgetc()
- fchars()
Answer: C) fgetc()
Explanation:
The PHP fgetc() function reads a single character from a file.