/PHP-8.2/ext/standard/tests/file/ |
H A D | bug44607.phpt | 5 $eol = '<EOL>'; 8 $data .= $eol; 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 | fputcsv_variation17.phpt | 2 fputcsv() with user provided eol
|
/PHP-8.2/ext/standard/tests/streams/ |
H A D | stream_get_line_nb.phpt | 23 $eol = '<EOL>'; 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)); 29 fwrite($sockets[0], ", $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)); 35 var_dump(stream_get_line($sockets[1], strlen("incomplete line"), $eol)); // EOL not found but $leng… 38 var_dump(stream_get_line($sockets[1], 8192, $eol)); // Does not returns incomplete line (EOL not fo… 42 var_dump(stream_get_line($sockets[1], 8192, $eol)); // Does not returns incomplete line (EOL not fo… [all …]
|
H A D | bug60455_02.phpt | 2 Bug #60455: stream_get_line and 1-line followed by eol input
|
/PHP-8.2/ext/spl/tests/SplFileObject/ |
H A D | bug68479.phpt | 36 string(3) "eol"
|
H A D | SplFileObject_fputcsv_variation16.phpt | 2 SplFileObject::fputcsv() with user provided eol
|
/PHP-8.2/sapi/phpdbg/ |
H A D | phpdbg_prompt.h | 61 PHPDBG_COMMAND(eol); /* }}} */
|
/PHP-8.2/ext/soap/ |
H A D | php_http.c | 1381 char *eol; in get_http_header_value_nodup() local 1391 eol = strchr(tmp, '\n'); in get_http_header_value_nodup() 1392 if (eol == NULL) { in get_http_header_value_nodup() 1393 eol = headers + headerslen; in get_http_header_value_nodup() 1394 } else if (eol > tmp) { in get_http_header_value_nodup() 1395 if (*(eol-1) == '\r') { in get_http_header_value_nodup() 1396 eol--; in get_http_header_value_nodup() 1400 while (eol > tmp && (*(eol-1) == ' ' || *(eol-1) == '\t')) { in get_http_header_value_nodup() 1401 eol--; in get_http_header_value_nodup() 1405 *len = eol - tmp; in get_http_header_value_nodup()
|
/PHP-8.2/ext/com_dotnet/tests/ |
H A D | bug66431_1.phpt | 37 /* trim the returned text as we'll get windows eol from a word doc. */
|
/PHP-8.2/ext/ftp/ |
H A D | ftp.c | 1305 char *data, *eol; in ftp_readline() local 1319 for (eol = data; rcvd; rcvd--, eol++) { in ftp_readline() 1320 if (*eol == '\r') { in ftp_readline() 1321 *eol = 0; in ftp_readline() 1322 ftp->extra = eol + 1; in ftp_readline() 1323 if (rcvd > 1 && *(eol + 1) == '\n') { in ftp_readline() 1331 } else if (*eol == '\n') { in ftp_readline() 1332 *eol = 0; in ftp_readline() 1333 ftp->extra = eol + 1; in ftp_readline() 1341 data = eol; in ftp_readline()
|
/PHP-8.2/main/streams/ |
H A D | streams.c | 865 const char *cr, *lf, *eol = NULL; in php_stream_locate_eol() local 885 eol = cr; in php_stream_locate_eol() 889 eol = lf; in php_stream_locate_eol() 892 eol = memchr(readptr, '\r', avail); in php_stream_locate_eol() 895 eol = memchr(readptr, '\n', avail); in php_stream_locate_eol() 898 return eol; in php_stream_locate_eol() 938 const char *eol; in _php_stream_get_line() local 942 eol = php_stream_locate_eol(stream, NULL); in _php_stream_get_line() 944 if (eol) { in _php_stream_get_line() 945 cpysz = eol - readptr + 1; in _php_stream_get_line()
|
/PHP-8.2/ext/spl/ |
H A D | spl_directory.stub.php | 304 …$separator = ",", string $enclosure = "\"", string $escape = "\\", string $eol = "\n"): int|false … argument
|
H A D | spl_directory_arginfo.h | 195 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, eol, IS_STRING, 0, "\"\\n\"")
|
H A D | spl_directory.c | 2375 zend_string *eol = NULL; in PHP_METHOD() local 2377 …_NUM_ARGS(), "a|sssS", &fields, &delim, &d_len, &enclo, &e_len, &esc, &esc_len, &eol) == FAILURE) { in PHP_METHOD() 2407 ret = php_fputcsv(intern->u.file.stream, fields, delimiter, enclosure, escape, eol); in PHP_METHOD()
|
/PHP-8.2/.github/workflows/ |
H A D | push.yml | 211 run: git config --global core.autocrlf false && git config --global core.eol lf
|
H A D | nightly.yml | 973 run: git config --global core.autocrlf false && git config --global core.eol lf
|
/PHP-8.2/ext/standard/ |
H A D | http_fopen_wrapper.c | 95 char *eol = header_start + (lc_eol - lc_header_start); in strip_header() local 99 memmove(header_start, eol+1, eollen); in strip_header()
|
H A D | basic_functions.stub.php | 2072 …$separator = ",", string $enclosure = "\"", string $escape = "\\", string $eol = "\n"): int|false …
|
H A D | basic_functions_arginfo.h | 1345 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, eol, IS_STRING, 0, "\"\\n\"")
|