PHP funkce stream_get_line()
Dostupnost ve verzích: PHP 5.0
Gets line from stream resource up to a given delimiter
Parametry
| Parametr | Datový typ | Výchozí hodnota | Poznámka |
|---|---|---|---|
$handle |
resource |
není | A valid file handle. |
$length |
int |
není | The number of bytes to read from the handle. |
$ending |
string |
null | An optional string delimiter. |
Návratové hodnoty
string
a string of up to length bytes read from the file pointed to by handle.
If an error occurs, returns false.