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.

string

a string of up to length bytes read from the file pointed to by handle.

If an error occurs, returns false.

Další zdroje

Oficiální dokumentace funkce stream-get-line

AI konzultace & implementace

Pomohu vám zavést AI do vašeho projektu– od analýzy a návrhu řešení až po nasazení do produkce. Ušetřete čas, zjednodušte procesy a získejte konkurenční výhodu.

Domluvit konzultaci
Konzultant: Jan Barášek
Potřebujete poradit s PHP?

Nabízím trénink vývojářů, konzultace, školení a analýzu návrhových vzorů. Osobně v Praze nebo online.

Napište mi

Newsletter

Nejlepsi tipy a triky o PHP do Vaseho e-mailu. Clanky a novinky nejen ze sveta PHP a programovani.