Searched refs:stream_get_line (Results 1 – 19 of 19) sorted by relevance
/PHP-8.1/ext/standard/tests/streams/ |
H A D | stream_get_line_nb.phpt | 2 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 D | bug63240.phpt | 2 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 D | bug60455_03.phpt | 2 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 D | bug72221.phpt | 2 Bug #72221 (Segmentation fault in stream_get_line / zend_memnstr_ex) 8 stream_get_line($fp, 1024*1024*2, "aaaa");
|
H A D | bug76859.phpt | 2 Bug #76859 (stream_get_line skips data if used with filters) 15 $out .= stream_get_line($fh, 1024);
|
H A D | stream_get_line_NUL_delimiter.phpt | 2 Bug #60455: stream_get_line and \0 as a delimiter 25 var_dump(stream_get_line($f, 100, "\0"));
|
H A D | bug60455_02.phpt | 2 Bug #60455: stream_get_line and 1-line followed by eol input 26 $line = stream_get_line($f, 99, "\n");
|
H A D | bug60455_04.phpt | 2 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 D | bug60455_01.phpt | 2 Bug #60455: stream_get_line and 1-line noeol input 17 $line = stream_get_line($f, 99, "\n");
|
H A D | bug60817.phpt | 2 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-8.1/ext/standard/tests/file/ |
H A D | bug44607.phpt | 2 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 D | bug43522.phpt | 2 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 D | bug30362.phpt | 2 Bug #30362 (stream_get_line() not working as documented) 10 $line = stream_get_line($resource, 50, $a);
|
H A D | stream_get_line.phpt | 2 Crash inside stream_get_line(), when length=0 10 echo stream_get_line($fp, 0, "<br>")."\n";
|
/PHP-8.1/ext/standard/tests/filters/ |
H A D | filter_errors.inc | 22 stream_get_line($stream, 8192, "\r\n");
|
/PHP-8.1/ext/standard/tests/http/ |
H A D | server.inc | 72 $line = stream_get_line($sock, 8192, "\r\n");
|
/PHP-8.1/ext/standard/ |
H A D | streamsfuncs.c | 1310 PHP_FUNCTION(stream_get_line) in PHP_FUNCTION() argument
|
H A D | basic_functions.stub.php | 1738 function stream_get_line($stream, int $length, string $ending = ""): string|false {} function
|
H A D | basic_functions_arginfo.h | 2770 ZEND_FUNCTION(stream_get_line); 3418 ZEND_FE(stream_get_line, arginfo_stream_get_line)
|
Completed in 59 milliseconds