Home
last modified time | relevance | path

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

/PHP-7.4/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 …r_dump(fread($sockets[1], strlen("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 Dbug72221.phpt2 Bug #72221 (Segmentation fault in stream_get_line / zend_memnstr_ex)
8 stream_get_line($fp, 1024*1024*2, "aaaa");
H A Dbug76859.phpt2 Bug #76859 (stream_get_line skips data if used with filters)
15 $out .= stream_get_line($fh, 1024);
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-7.4/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-7.4/ext/standard/
H A Dstreamsfuncs.h42 PHP_FUNCTION(stream_get_line);
H A Dstreamsfuncs.c1285 PHP_FUNCTION(stream_get_line) in PHP_FUNCTION() argument
H A Dbasic_functions.c3196 PHP_FE(stream_get_line, arginfo_stream_get_line)
/PHP-7.4/ext/standard/tests/filters/
H A Dfilter_errors.inc22 stream_get_line($stream, 8192, "\r\n");
/PHP-7.4/ext/standard/tests/http/
H A Dserver.inc64 $line = stream_get_line($sock, 8192, "\r\n");
/PHP-7.4/
H A DNEWS1693 . Fixed bug #76859 (stream_get_line skips data if used with data-generating
1812 . Fixed bug #76859 (stream_get_line skips data if used with data-generating

Completed in 49 milliseconds