PHP funkce stream_get_line()
📅 11. 09. 2019
Obsah článku:
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.
Další zdroje
Jan Barášek Více o autorovi
Autor článku pracuje jako seniorní vývojář a software architekt v Praze. Navrhuje a spravuje velké webové aplikace, které znáte a používáte. Od roku 2009 nabral bohaté zkušenosti, které tímto webem předává dál.
Rád vám pomůžu:
Kontakt Spolupráce