(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
.
Follow Lee on X/Twitter - Father, Husband, Serial builder creating AI, crypto, games & web tools. We are friends :) AI Will Come To Life!
Check out: eBank.nz (Art Generator) |
Netwrck.com (AI Tools) |
Text-Generator.io (AI API) |
BitBank.nz (Crypto AI) |
ReadingTime (Kids Reading) |
RewordGame |
BigMultiplayerChess |
WebFiddle |
How.nz |
Helix AI Assistant