HH\Lib\Experimental\IO\ReadHandle::rawReadBlocking

An immediate, unordered blocking read

public function rawReadBlocking(
  ?int $max_bytes = NULL,
): string;

You almost certainly don't want to call this; instead, use readAsync() or readLineAsync(), which are wrappers around this

Parameters

  • ?int $max_bytes = NULL

Returns

  • string