array ( 0 => 'index.php', 1 => 'PHP Manual', ), 'head' => array ( 0 => 'UTF-8', 1 => 'de', ), 'this' => array ( 0 => 'eventbuffer.readline.php', 1 => 'EventBuffer::readLine', ), 'up' => array ( 0 => 'class.eventbuffer.php', 1 => 'EventBuffer', ), 'prev' => array ( 0 => 'eventbuffer.readfrom.php', 1 => 'EventBuffer::readFrom', ), 'next' => array ( 0 => 'eventbuffer.search.php', 1 => 'EventBuffer::search', ), 'alternatives' => array ( ), 'source' => array ( 'lang' => 'en', 'path' => 'reference/event/eventbuffer/readline.xml', ), ); $setup["toc"] = $TOC; $setup["toc_deprecated"] = $TOC_DEPRECATED; $setup["parents"] = $PARENTS; manual_setup($setup); ?>
(PECL event >= 1.2.6-beta)
EventBuffer::readLine — Extracts a line from the front of the buffer
Extracts a line from the front of the buffer and returns it in a newly
allocated string. If there is not a whole line to read, the function
returns null
. The line terminator is not included in the copied string.
eol_style
One of EventBuffer:EOL_* constants .
On success returns the line read from the buffer, otherwise null
.