phpday 2027 - Call for Papers

dio_write

(PHP 4 >= 4.2.0, PHP 5 < 5.1.0)

dio_write — Scrive dati su fd con troncamento opzionale alla lunghezza indicata

Descrizione

function dio_write(resource $fd, string $data, int $len = 0): int

dio_write() scrive fino a len byte da data nel file fd.

Elenco dei parametri

fd

Il descrittore di file restituito da dio_open().

data

I dati scritti.

len

La lunghezza in byte dei dati da scrivere. Se non specificata, la funzione scrive tutti i dati nel file specificato.

Valori restituiti

Restituisce il numero di byte scritti in fd.

Vedere anche:

  • dio_read() - Legge byte da un descrittore di file

User Contributed Notes

There are no user contributed notes for this page.
Adding new notes is disabled. Please see the links in the Found A Problem? section.
To Top