HH\Lib\IO\WriteHandle::write

An immediate unordered write

public function write(
  string $bytes,
): int;

Parameters

  • string $bytes

Returns

  • the - number of bytes written on success

Returns the number of bytes written, which may be 0.