Home
last modified time | relevance | path

Searched refs:stream_get_line (Results 1 – 18 of 18) sorted by relevance

/PHP-5.5/ext/standard/tests/streams/
H A Dstream_get_line_nb.phpt2 stream_get_line() on non-blocking stream
13 * Tests that stream_get_line() behaves as documented on non-blocking streams:
26 var_dump(stream_get_line($sockets[1], 8192, $eol)); // Does not returns incomplete line (EOL not fo…
27 var_dump(stream_get_line($sockets[1], 8192, $eol));
30 var_dump(stream_get_line($sockets[1], 8192, $eol)); // Returns full line (EOL found)
31 var_dump(stream_get_line($sockets[1], 8192, $eol)); // Nothing to read
32 var_dump(stream_get_line($sockets[1], 8192, $eol));
38 var_dump(stream_get_line($sockets[1], 8192, $eol)); // Does not returns incomplete line (EOL not fo…
39 …_dump(fread($sockets[1], strlen(b"incomplete line"))); // Returns buffer readden by stream_get_line
42 var_dump(stream_get_line($sockets[1], 8192, $eol)); // Does not returns incomplete line (EOL not fo…
[all …]
H A Dbug63240.phpt2 Bug #63240: stream_get_line() return contains delimiter string
10 $line = stream_get_line($fd, 9000, $delimiter);
12 $line = stream_get_line($fd, 9000, $delimiter);
H A Dbug60455_03.phpt2 Bug #60455: stream_get_line and 2 lines, one possibly empty
32 $line = stream_get_line($f, 99, "\n");
37 $line = stream_get_line($f, 99, "\n");
42 $line = stream_get_line($f, 99, "\n");
H A Dstream_get_line_NUL_delimiter.phpt2 Bug #60455: stream_get_line and \0 as a delimiter
25 var_dump(stream_get_line($f, 100, "\0"));
H A Dbug60455_02.phpt2 Bug #60455: stream_get_line and 1-line followed by eol input
26 $line = stream_get_line($f, 99, "\n");
H A Dbug60455_04.phpt2 Bug #60455: stream_get_line and 1-line with maxlen size followed by 0-length
27 $line = stream_get_line($f, 2, "\n");
H A Dbug60455_01.phpt2 Bug #60455: stream_get_line and 1-line noeol input
17 $line = stream_get_line($f, 99, "\n");
H A Dbug60817.phpt2 Bug #60817: stream_get_line() reads from stream even when there is already sufficient data buffered
27 $line = stream_get_line($f, 99, "\n");
/PHP-5.5/ext/standard/tests/file/
H A Dbug44607.phpt2 Bug #44607 (stream_get_line unable to correctly identify the "ending" in the stream content)
12 var_dump(strlen(stream_get_line($fd, 15000, $eol)));
13 var_dump(strlen(stream_get_line($fd, 15000, $eol)));
15 var_dump(strlen(stream_get_line($fd, 15000, $eol)));
16 var_dump(strlen(stream_get_line($fd, 15000, $eol)));
H A Dbug43522.phpt2 Bug #43522 (stream_get_line() eats additional characters)
14 echo "\t" . stream_get_line($fp, 10, $delim) . "\n";
15 echo "\t" . stream_get_line($fp, 10, $delim) . "\n";
H A Dbug30362.phpt2 Bug #30362 (stream_get_line() not working as documented)
10 $line = stream_get_line($resource, 50, $a);
H A Dstream_get_line.phpt2 Crash inside stream_get_line(), when length=0
10 echo stream_get_line($fp, 0, "<br>")."\n";
/PHP-5.5/ext/standard/
H A Dstreamsfuncs.h44 PHP_FUNCTION(stream_get_line);
H A Dstreamsfuncs.c1316 PHP_FUNCTION(stream_get_line) in PHP_FUNCTION() argument
H A Dbasic_functions.c3155 PHP_FE(stream_get_line, arginfo_stream_get_line)
/PHP-5.5/ext/standard/tests/filters/
H A Dfilter_errors.inc22 stream_get_line($stream, 8192, "\r\n");
/PHP-5.5/ext/standard/tests/http/
H A Dserver.inc56 $line = stream_get_line($sock, 8192, "\r\n");
/PHP-5.5/
H A DNEWS2572 . Fixed bug #63240 (stream_get_line() return contains delimiter string).
3753 . Fixed bug #60817 (stream_get_line() reads from stream even when there is
3754 already sufficient data buffered). stream_get_line() now behaves more like
3756 . Further fix for bug #60455 (stream_get_line misbehaves if EOF is not
4019 . Fixed bug #60455 (stream_get_line misbehaves if EOF is not detected together
6627 - Fixed stream_get_line() to behave as documented on non-blocking streams.
6835 - Fixed bug #44607 (stream_get_line unable to correctly identify the "ending"
6989 - Fixed bug #43522 (stream_get_line() eats additional characters). (Felipe, Ilia, Tony)
9234 - Fixed crash inside stream_get_line() when length parameter equals 0. (Ilia)
10011 - Fixed bug #30362 (stream_get_line() not handling end string correctly).

Completed in 55 milliseconds