SplFileObject::fwrite(PHP 5 >= 5.1.0) SplFileObject::fwrite — Write to file Описание
   public int SplFileObject::fwrite
    ( string $str
   [, int $length
  ] ) 
  Writes the contents of string to the file Список параметров
 
 Возвращаемые значенияReturns the number of bytes written, or NULL on error. Примеры
 Пример #1 SplFileObject::fwrite() example 
<?phpРезультатом выполнения данного примера будет что-то подобное: Wrote 5 bytes to file  | 
||