Solar_Vt100::write()
static public
void
Solar_Vt100::write
( resource $handle
, string $text
, string $append = NULL
)
Writes text to a file handle, converting to control codes if the handle is a posix TTY, or to plain text if not.
Parameters
(resource)
$handle
: The file handle.(string)
$text
: The text to write to the file handle, converting %-markup if the handle is a posix TTY, or stripping markup if not.(string)
$append
: Append this text as-is when writing to the file handle; generally useful for adding newlines.
Returns
(void)
Description
Writes text to a file handle, converting to control codes if the handle is a posix TTY, or to plain text if not.