Name
fwrite
Synopsis
int fwrite(inthandle
, stringstring
[, intlength
])
Writes string
to the file
referenced by handle
. The file must be
open with write privileges. If length
is
given, only that many bytes of the string will be written. Returns
the number of bytes written, or -1
on error.
Get Programming PHP, 2nd Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.