traits/file_resources.php
final protected function fwrite($string, $length = null)
	{
		return is_int($length)
			? fwrite($this->fhandle, $string, $length)
			: fwrite($this->fhandle, $string);
	}
final protected function fwrite($string, $length = null)
	{
		return is_int($length)
			? fwrite($this->fhandle, $string, $length)
			: fwrite($this->fhandle, $string);
	}
final protected function fwrite ( $ string , $ length = null ) { return is_int ( $ length ) ? fwrite ( $ this -> fhandle , $ string , $ length ) : fwrite ( $ this -> fhandle , $ string ) ; }
Binary-safe file write

@param  string $string The string that is to be written.
@param  int    $length Stop after $length bytes have been written
@return self
@see https://php.net/manual/en/function.fwrite.php
Binary - safe file write