Home
last modified time | relevance | path

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

/PHP-8.1/ext/standard/tests/file/
H A Dbug44607.phpt5 $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 Dfputcsv_variation17.phpt2 fputcsv() with user provided eol
/PHP-8.1/ext/standard/tests/streams/
H A Dstream_get_line_nb.phpt23 $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 Dbug60455_02.phpt2 Bug #60455: stream_get_line and 1-line followed by eol input
/PHP-8.1/ext/spl/tests/
H A Dbug68479.phpt36 string(3) "eol"
H A DSplFileObject_fputcsv_variation16.phpt2 SplFileObject::fputcsv() with user provided eol
/PHP-8.1/sapi/phpdbg/
H A Dphpdbg_prompt.h61 PHPDBG_COMMAND(eol); /* }}} */
/PHP-8.1/ext/soap/
H A Dphp_http.c1351 char *eol; in get_http_header_value_nodup() local
1361 eol = strchr(tmp, '\n'); in get_http_header_value_nodup()
1362 if (eol == NULL) { in get_http_header_value_nodup()
1363 eol = headers + headerslen; in get_http_header_value_nodup()
1364 } else if (eol > tmp) { in get_http_header_value_nodup()
1365 if (*(eol-1) == '\r') { in get_http_header_value_nodup()
1366 eol--; in get_http_header_value_nodup()
1370 while (eol > tmp && (*(eol-1) == ' ' || *(eol-1) == '\t')) { in get_http_header_value_nodup()
1371 eol--; in get_http_header_value_nodup()
1375 *len = eol - tmp; in get_http_header_value_nodup()
/PHP-8.1/ext/com_dotnet/tests/
H A Dbug66431_1.phpt37 /* trim the returned text as we'll get windows eol from a word doc. */
/PHP-8.1/ext/ftp/
H A Dftp.c1281 char *data, *eol; in ftp_readline() local
1295 for (eol = data; rcvd; rcvd--, eol++) { in ftp_readline()
1296 if (*eol == '\r') { in ftp_readline()
1297 *eol = 0; in ftp_readline()
1298 ftp->extra = eol + 1; in ftp_readline()
1299 if (rcvd > 1 && *(eol + 1) == '\n') { in ftp_readline()
1307 } else if (*eol == '\n') { in ftp_readline()
1308 *eol = 0; in ftp_readline()
1309 ftp->extra = eol + 1; in ftp_readline()
1317 data = eol; in ftp_readline()
/PHP-8.1/main/streams/
H A Dstreams.c851 const char *cr, *lf, *eol = NULL; in php_stream_locate_eol() local
871 eol = cr; in php_stream_locate_eol()
875 eol = lf; in php_stream_locate_eol()
878 eol = memchr(readptr, '\r', avail); in php_stream_locate_eol()
881 eol = memchr(readptr, '\n', avail); in php_stream_locate_eol()
884 return eol; in php_stream_locate_eol()
924 const char *eol; in _php_stream_get_line() local
928 eol = php_stream_locate_eol(stream, NULL); in _php_stream_get_line()
930 if (eol) { in _php_stream_get_line()
931 cpysz = eol - readptr + 1; in _php_stream_get_line()
/PHP-8.1/ext/spl/
H A Dspl_directory.stub.php219 …$separator = ",", string $enclosure = "\"", string $escape = "\\", string $eol = "\n"): int|false … argument
H A Dspl_directory_arginfo.h195 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, eol, IS_STRING, 0, "\"\\n\"")
H A Dspl_directory.c2351 zend_string *eol = NULL; in PHP_METHOD() local
2353 …_NUM_ARGS(), "a|sssS", &fields, &delim, &d_len, &enclo, &e_len, &esc, &esc_len, &eol) == SUCCESS) { in PHP_METHOD()
2390 ret = php_fputcsv(intern->u.file.stream, fields, delimiter, enclosure, escape, eol); in PHP_METHOD()
/PHP-8.1/.github/workflows/
H A Dpush.yml164 run: git config --global core.autocrlf false && git config --global core.eol lf
H A Dnightly.yml973 run: git config --global core.autocrlf false && git config --global core.eol lf
/PHP-8.1/ext/standard/
H A Dhttp_fopen_wrapper.c95 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 Dbasic_functions.stub.php1158 …$separator = ",", string $enclosure = "\"", string $escape = "\\", string $eol = "\n"): int|false … argument
H A Dbasic_functions_arginfo.h1339 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, eol, IS_STRING, 0, "\"\\n\"")
/PHP-8.1/
H A DUPGRADING327 . fputcsv() now accepts a new "eol" argument which allow to define a custom
328 eol sequence, the default remains the same and is "\n".
331 . SplFileObject::fputcsv() now accepts a new "eol" argument which allow to
332 define a custom eol sequence, the default remains the same and is "\n".

Completed in 72 milliseconds