Function DebugFsStreamWrapper->stream_write

Definitions

sources/debug_fs.php

  • Binary-safe file write.
  • Visibility: public
  • Is abstract?: No
  • Is static?: No
  • Is final?: No

Parameters

Name Type Passed by reference? Variadic? Default Set Range Description
$data string No No required parameter N/A N/A The string to write to the file

Returns

  • The number of bytes written (false: error)
  • Type: ~integer
  • Set: N/A
  • Range: N/A

Preview

Code (PHP)

/**
 * Binary-safe file write.
 *
 * @param  string $data The string to write to the file
 * @return ~integer The number of bytes written (false: error)
 */

public function stream_write(string $data)