Gen. partnerAlgotech

PHP funkce fgets()

Gets line from file pointer

|
11. září 2019

Dostupnost ve verzích: PHP 4.0

Gets line from file pointer

Parametry

Parametr Datový typ Výchozí hodnota Poznámka
$handle resource není
$length int null Reading ends when length - 1 bytes have been read, on a newline (which is included in the return value), or on EOF (whichever comes first). If no length is specified, it will keep reading from the stream until it reaches the end of the line.

string

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

If an error occurs, returns false.

Další zdroje

Oficiální dokumentace funkce fgets

Načítání komentářů...

Zůstaňte v obraze

Přihlaste se k odběru našeho newsletteru a získejte nejnovější informace o kybernetické bezpečnosti přímo do vaší e-mailové schránky.

Vaše údaje jsou v bezpečí. Newsletter můžete kdykoliv odhlásit.