Reads a line from the input stream.
public readLine ( string $default = null, integer $length = null ) : string | ||
$default | string | The default to return if interaction is disabled. |
$length | integer | The maximum number of characters to read. If `null`, all characters up to the first newline are returned. |
return | string | The characters read from the input stream. |