HH\Lib\File\open_read_write_nd

Meta Engineer?

This is available as File\open_read_write_nd in the www repository.

Deprecated: Use open_read_write() instead

namespace HH\Lib\File;

function open_read_write_nd(
  string $path,
  WriteMode $mode = WriteMode::OPEN_OR_CREATE,
  int $create_file_permissions = 420,
): CloseableReadWriteHandle;

Parameters

  • string $path
  • WriteMode $mode = WriteMode::OPEN_OR_CREATE
  • int $create_file_permissions = 420

Returns