PHP » GoLang |
login |
register |
about
|
GoLang SplFileObject::fwrite
request it (338)
GoLang replacement for PHP's SplFileObject::fwrite
[edit | history]
SplFileObject::fwrite(PHP 5 >= 5.1.0, PHP 7) SplFileObject::fwrite — Write to file Description
public int SplFileObject::fwrite
( string
$str
[, int $length
] )
Writes the contents of Parameters
Return ValuesReturns the number of bytes written, or 0 on error. Examples
Example #1 SplFileObject::fwrite() example
<?php The above example will output something similar to: Wrote 5 bytes to file |
more
Recently updated
more
Most requested
more
Last requests
|