Home
last modified time | relevance | path

Searched refs:strpbrk (Results 1 – 24 of 24) sorted by relevance

/PHP-8.0/ext/standard/tests/strings/
H A Dstrpbrk_basic.phpt2 Test strpbrk() function : basic functionality
5 echo "*** Testing strpbrk() : basic functionality ***\n";
9 var_dump( strpbrk($text, 'mi') );
10 var_dump( strpbrk($text, 'ZS') );
11 var_dump( strpbrk($text, 'Z') );
12 var_dump( strpbrk($text, 'H') );
15 var_dump( strpbrk($text, 'foo') );
18 var_dump( strpbrk($text, ' ') );
20 var_dump( strpbrk(5, 5) );
21 var_dump( strpbrk(5, "5") );
[all …]
H A Dbug60801.phpt2 Bug #60801 (strpbrk() mishandles NUL byte)
8 var_dump(strpbrk($haystack, 'ar'));
9 var_dump(strpbrk($haystack, "\x00"));
10 var_dump(strpbrk($haystack, $needle));
11 var_dump(strpbrk('foobar', $needle));
12 var_dump(strpbrk("\x00", $needle));
13 var_dump(strpbrk('xyz', $needle));
14 var_dump(strpbrk($haystack, 'xyz'));
H A Dstrpbrk_error.phpt2 Test strpbrk() function : error conditions
7 echo "-- Testing strpbrk() function with empty second argument --\n";
9 strpbrk($haystack, '');
16 -- Testing strpbrk() function with empty second argument --
17 strpbrk(): Argument #2 ($characters) must be a non-empty string
/PHP-8.0/ext/standard/
H A Dhead.c93 if (strpbrk(ZSTR_VAL(name), "=,; \t\r\n\013\014") != NULL) { /* man isspace for \013 and \014 */ in php_setcookie()
98 strpbrk(ZSTR_VAL(value), ",; \t\r\n\013\014") != NULL) { /* man isspace for \013 and \014 */ in php_setcookie()
103 …if (path && strpbrk(ZSTR_VAL(path), ",; \t\r\n\013\014") != NULL) { /* man isspace for \013 and \0… in php_setcookie()
108 …if (domain && strpbrk(ZSTR_VAL(domain), ",; \t\r\n\013\014") != NULL) { /* man isspace for \013 an… in php_setcookie()
H A Dftp_fopen_wrapper.c103 if (strpbrk(stream->mode, "wa+")) { in php_stream_ftp_stream_close()
426 if (strpbrk(mode, "r+")) { in php_stream_url_wrap_ftp()
429 if (strpbrk(mode, "wa+")) { in php_stream_url_wrap_ftp()
H A Dmail.c359 while ((p = strpbrk(p, "\r\n"))) { in php_mail_log_crlf_to_spaces()
H A Dmath.c1049 dp = strpbrk(ZSTR_VAL(tmpbuf), ".,"); in _php_math_number_format_ex()
H A Dhttp_fopen_wrapper.c181 if (strpbrk(mode, "awx+")) { in php_stream_url_wrap_http_ex()
H A Dbasic_functions.stub.php684 function strpbrk(string $string, string $characters): string|false {} function
H A Dbasic_functions_arginfo.h2512 ZEND_FUNCTION(strpbrk);
3149 ZEND_FE(strpbrk, arginfo_strpbrk)
H A Dstring.c5836 PHP_FUNCTION(strpbrk) argument
/PHP-8.0/win32/
H A Dsendmail.c349 while ((p = strpbrk(p, ",\"\\")) != NULL) { in find_address()
1019 while ((p1 = strpbrk(p1, "<\"\\")) != NULL) { in get_angle_addr()
1035 while ((p2 = strpbrk(p2, ">\"\\")) != NULL) { in get_angle_addr()
H A Dcodepage.c354 idx = strpbrk(start, "|"); in php_win32_cp_get_by_enc()
361 idx = strpbrk(start, "|"); in php_win32_cp_get_by_enc()
/PHP-8.0/main/streams/
H A Dmemory.c276 if (strpbrk(mode, "a")) { in php_stream_mode_from_str()
278 } else if (strpbrk(mode, "w+")) { in php_stream_mode_from_str()
/PHP-8.0/ext/session/
H A Dsession.c1272 ZEND_ASSERT(strpbrk(PS(session_name), "=,; \t\r\n\013\014") == NULL); in php_session_remove_cookie()
1320 …if (strpbrk(PS(session_name), "=,; \t\r\n\013\014") != NULL) { /* man isspace for \013 and \014 … in php_session_send_cookie()
1585 if ((q = strpbrk(p, "/?\\"))) { in php_session_start()
1606 if (PS(id) && strpbrk(ZSTR_VAL(PS(id)), "\r\n\t <>'\"\\")) { in php_session_start()
/PHP-8.0/ext/filter/
H A Dlogical_filters.c446 if ((!dval && p - num > 1 && strpbrk(num, "123456789")) || !zend_finite(dval)) { in php_filter_float()
/PHP-8.0/ext/ftp/
H A Dftp.c1245 if (strpbrk(cmd, "\r\n")) { in ftp_putcmd()
1254 if (strpbrk(args, "\r\n")) { in ftp_putcmd()
/PHP-8.0/main/
H A Dmain.c542 || strpbrk(ZSTR_VAL(new_value), "\r\n")) { in PHP_INI_MH()
562 || strpbrk(ZSTR_VAL(new_value), "\r\n")) { in PHP_INI_MH()
H A Drfc1867.c748 boundary_end = strpbrk(boundary, ",;");
/PHP-8.0/ext/pdo_pgsql/
H A Dpgsql_driver.c1019 if (strpbrk(modestr, "+w")) { in PHP_METHOD()
/PHP-8.0/sapi/cgi/
H A Dcgi_main.c835 while ((ptr = strpbrk(ptr, "\\/")) != NULL) {
/PHP-8.0/ext/iconv/
H A Diconv.c2595 if ((to_charset = strpbrk(from_charset, "/.")) == NULL) { in php_iconv_stream_filter_factory_create()
/PHP-8.0/ext/imap/
H A Dphp_imap.c3074 while ((p = strpbrk(p, "\r\n")) != NULL) { in header_injection()
4044 while ((p = strpbrk(p, "\\\""))) { in _php_rfc822_len()
/PHP-8.0/ext/opcache/jit/dynasm/
H A Dminilua.c7368 strpbrk(p,"^$*+?.([%-")==NULL)){

Completed in 188 milliseconds