Which PHP function reads a single line from a file?

149. Which PHP function reads a single line from a file?

  1. readline()
  2. getline()
  3. fget()
  4. fgets()

Answer: D) fgets()

Explanation:

The PHP fgets() function reads a single line from a file.

Comments and Discussions!

Load comments ↻






Copyright © 2024 www.includehelp.com. All rights reserved.