/php-src/ext/standard/tests/strings/ |
H A D | strpbrk_basic.phpt | 2 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 D | bug60801.phpt | 2 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 D | strpbrk_error.phpt | 2 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-src/ext/standard/ |
H A D | head.c | 93 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 D | ftp_fopen_wrapper.c | 103 if (strpbrk(stream->mode, "wa+")) { in php_stream_ftp_stream_close() 424 if (strpbrk(mode, "r+")) { in php_stream_url_wrap_ftp() 427 if (strpbrk(mode, "wa+")) { in php_stream_url_wrap_ftp()
|
H A D | mail.c | 377 while ((p = strpbrk(p, "\r\n"))) { in php_mail_log_crlf_to_spaces()
|
H A D | math.c | 1136 dp = strpbrk(ZSTR_VAL(tmpbuf), ".,"); in _php_math_number_format_ex()
|
H A D | http_fopen_wrapper.c | 209 if (strpbrk(mode, "awx+")) { in php_stream_url_wrap_http_ex()
|
H A D | basic_functions.stub.php | 2628 function strpbrk(string $string, string $characters): string|false {}
|
H A D | basic_functions_arginfo.h | 2580 ZEND_FUNCTION(strpbrk);
|
H A D | string.c | 6129 PHP_FUNCTION(strpbrk) argument
|
/php-src/main/ |
H A D | php_odbc_utils.c | 72 return strpbrk(str, "[]{}(),;?*=!@") != NULL; in php_odbc_connstr_should_quote()
|
H A D | main.c | 590 || strpbrk(ZSTR_VAL(new_value), "\r\n")) { in PHP_INI_MH() 610 || strpbrk(ZSTR_VAL(new_value), "\r\n")) { in PHP_INI_MH()
|
H A D | rfc1867.c | 738 boundary_end = strpbrk(boundary, ",;");
|
/php-src/win32/ |
H A D | sendmail.c | 348 while ((p = strpbrk(p, ",\"\\")) != NULL) { in find_address() 1020 while ((p1 = strpbrk(p1, "<\"\\")) != NULL) { in get_angle_addr() 1036 while ((p2 = strpbrk(p2, ">\"\\")) != NULL) { in get_angle_addr()
|
H A D | codepage.c | 388 idx = strpbrk(start, "|"); in php_win32_cp_get_by_enc() 395 idx = strpbrk(start, "|"); in php_win32_cp_get_by_enc()
|
/php-src/main/streams/ |
H A D | memory.c | 268 if (strpbrk(mode, "a")) { in php_stream_mode_from_str() 270 } else if (strpbrk(mode, "w+")) { in php_stream_mode_from_str()
|
/php-src/ext/dom/ |
H A D | token_list.c | 41 return strpbrk(data, ascii_whitespace) != NULL; in dom_contains_ascii_whitespace()
|
/php-src/ext/filter/ |
H A D | logical_filters.c | 454 if ((!dval && p - num > 1 && strpbrk(num, "123456789")) || !zend_finite(dval)) { in php_filter_float()
|
/php-src/ext/session/ |
H A D | session.c | 1393 ZEND_ASSERT(strpbrk(PS(session_name), SESSION_FORBIDDEN_CHARS) == NULL); in php_session_remove_cookie() 1434 …if (strpbrk(PS(session_name), SESSION_FORBIDDEN_CHARS) != NULL) { /* man isspace for \013 and \0… in php_session_send_cookie() 1705 if (PS(id) && strpbrk(ZSTR_VAL(PS(id)), "\r\n\t <>'\"\\")) { in php_session_start()
|
/php-src/ext/ftp/ |
H A D | ftp.c | 1286 if (strpbrk(cmd, "\r\n")) { in ftp_putcmd() 1295 if (strpbrk(args, "\r\n")) { in ftp_putcmd()
|
/php-src/ext/pdo_pgsql/ |
H A D | pgsql_driver.c | 1106 if (strpbrk(modestr, "+w")) { in pgsqlLOBOpen_internal()
|
/php-src/sapi/cgi/ |
H A D | cgi_main.c | 839 while ((ptr = strpbrk(ptr, "\\/")) != NULL) {
|
/php-src/ext/iconv/ |
H A D | iconv.c | 2596 if ((to_charset = strpbrk(from_charset, "/.")) == NULL) { in php_iconv_stream_filter_factory_create()
|
/php-src/ext/opcache/jit/ir/dynasm/ |
H A D | minilua.c | 7374 strpbrk(p,"^$*+?.([%-")==NULL)){
|