Back to StreamString class

Method stream_write

public bool
stream_write
(mixed $data)
Stream write, always returning false.
Parameters
  • string $data The data to write.
Returns
  • bool
Since
  • 1.7.0
-
  • Updating the string is not supported.
Class: StreamString
Project: Joomla

Method stream_write - Source code

/**
 * Stream write, always returning false.
 *
 * @param   string  $data  The data to write.
 *
 * @return  boolean
 *
 * @since   1.7.0
 * @note    Updating the string is not supported.
 */
public function stream_write($data)
{
    // We don't support updating the string.
    return false;
}