PHP » GoLang |
login |
register |
about
|
fgets(PHP 4, PHP 5, PHP 7) fgets — Gets line from file pointer Description
string fgets
( resource
$handle
[, int $length
] )Gets a line from file pointer. Parameters
Return Values
Returns a string of up to
If an error occurs, Changelog
Examples
Example #1 Reading a file line by line
<?php Notes
See Also
|
more
Recently updated
more
Most requested
more
Last requests
|