HH\Lib\Experimental\File\open_read_write

namespace HH\Lib\Experimental\File;

function open_read_write(
  string $path,
  WriteMode $mode = WriteMode::OPEN_OR_CREATE,
): DisposableReadWriteHandle;

Parameters

  • string $path
  • WriteMode $mode = WriteMode::OPEN_OR_CREATE

Returns