/PHP-7.4/ext/standard/tests/strings/ |
H A D | strpbrk_error.phpt | 2 Test strpbrk() function : error conditions 5 /* Prototype : array strpbrk(string haystack, string char_list) 11 echo "*** Testing strpbrk() : error conditions ***\n"; 18 var_dump( strpbrk($haystack, $char_list, $extra_arg) ); 21 var_dump( strpbrk($haystack) ); 24 var_dump( strpbrk($haystack, '') ); 26 echo "\n-- Testing strpbrk() function with arrays --\n"; 27 var_dump( strpbrk($haystack, array('a', 'b', 'c') ) ); 28 var_dump( strpbrk(array('foo', 'bar'), 'b') ); 33 *** Testing strpbrk() : error conditions *** [all …]
|
H A D | strpbrk_basic.phpt | 2 Test strpbrk() function : basic functionality 11 echo "*** Testing strpbrk() : basic functionality ***\n"; 15 var_dump( strpbrk($text, 'mi') ); 16 var_dump( strpbrk($text, 'ZS') ); 17 var_dump( strpbrk($text, 'Z') ); 18 var_dump( strpbrk($text, 'H') ); 21 var_dump( strpbrk($text, 'foo') ); 24 var_dump( strpbrk($text, ' ') ); 26 var_dump( strpbrk(5, 5) ); 27 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'));
|
/PHP-7.4/ext/standard/ |
H A D | head.c | 89 …} else if (strpbrk(ZSTR_VAL(name), "=,; \t\r\n\013\014") != NULL) { /* man isspace for \013 and … in php_setcookie() 95 strpbrk(ZSTR_VAL(value), ",; \t\r\n\013\014") != NULL) { /* man isspace for \013 and \014 */ in php_setcookie() 100 …if (path && strpbrk(ZSTR_VAL(path), ",; \t\r\n\013\014") != NULL) { /* man isspace for \013 and \0… in php_setcookie() 105 …if (domain && strpbrk(ZSTR_VAL(domain), ",; \t\r\n\013\014") != NULL) { /* man isspace for \013 an… in php_setcookie()
|
H A D | php_string.h | 90 PHP_FUNCTION(strpbrk);
|
H A D | ftp_fopen_wrapper.c | 108 if (strpbrk(stream->mode, "wa+")) { in php_stream_ftp_stream_close() 434 if (strpbrk(mode, "r+")) { in php_stream_url_wrap_ftp() 437 if (strpbrk(mode, "wa+")) { in php_stream_url_wrap_ftp()
|
H A D | mail.c | 400 while ((p = strpbrk(p, "\r\n"))) { in php_mail_log_crlf_to_spaces()
|
H A D | math.c | 1174 dp = strpbrk(ZSTR_VAL(tmpbuf), ".,"); in _php_math_number_format_ex()
|
H A D | http_fopen_wrapper.c | 183 if (strpbrk(mode, "awx+")) { in php_stream_url_wrap_http_ex()
|
H A D | basic_functions.c | 2800 PHP_FE(strpbrk, arginfo_strpbrk)
|
H A D | string.c | 6289 PHP_FUNCTION(strpbrk) argument
|
/PHP-7.4/win32/ |
H A D | sendmail.c | 349 while ((p = strpbrk(p, ",\"\\")) != NULL) { in find_address() 1018 while ((p1 = strpbrk(p1, "<\"\\")) != NULL) { in get_angle_addr() 1034 while ((p2 = strpbrk(p2, ">\"\\")) != NULL) { in get_angle_addr()
|
H A D | codepage.c | 360 idx = strpbrk(start, "|"); in php_win32_cp_get_by_enc() 367 idx = strpbrk(start, "|"); in php_win32_cp_get_by_enc()
|
/PHP-7.4/main/streams/ |
H A D | memory.c | 278 if (strpbrk(mode, "a")) { in php_stream_mode_from_str() 280 } else if (strpbrk(mode, "w+")) { in php_stream_mode_from_str()
|
/PHP-7.4/ext/session/ |
H A D | session.c | 1267 ZEND_ASSERT(strpbrk(PS(session_name), "=,; \t\r\n\013\014") == NULL); in php_session_remove_cookie() 1315 …if (strpbrk(PS(session_name), "=,; \t\r\n\013\014") != NULL) { /* man isspace for \013 and \014 … in php_session_send_cookie() 1580 if ((q = strpbrk(p, "/?\\"))) { in php_session_start() 1601 if (PS(id) && strpbrk(ZSTR_VAL(PS(id)), "\r\n\t <>'\"\\")) { in php_session_start()
|
/PHP-7.4/ext/filter/ |
H A D | logical_filters.c | 445 if ((!dval && p - num > 1 && strpbrk(num, "123456789")) || !zend_finite(dval)) { in php_filter_float()
|
/PHP-7.4/ext/ftp/ |
H A D | ftp.c | 1280 if (strpbrk(cmd, "\r\n")) { in ftp_putcmd() 1289 if (strpbrk(args, "\r\n")) { in ftp_putcmd()
|
/PHP-7.4/main/ |
H A D | rfc1867.c | 749 boundary_end = strpbrk(boundary, ",;");
|
H A D | main.c | 618 || strpbrk(ZSTR_VAL(new_value), "\r\n")) { in PHP_INI_MH() 639 || strpbrk(ZSTR_VAL(new_value), "\r\n")) { in PHP_INI_MH()
|
/PHP-7.4/ext/pdo_pgsql/ |
H A D | pgsql_driver.c | 969 if (strpbrk(modestr, "+w")) { in PHP_METHOD()
|
/PHP-7.4/sapi/cgi/ |
H A D | cgi_main.c | 840 while ((ptr = strpbrk(ptr, "\\/")) != NULL) {
|
/PHP-7.4/ext/iconv/ |
H A D | iconv.c | 2883 if ((to_charset = strpbrk(from_charset, "/.")) == NULL) { in php_iconv_stream_filter_factory_create()
|
/PHP-7.4/ext/imap/ |
H A D | php_imap.c | 3562 while ((p = strpbrk(p, "\r\n")) != NULL) { in header_injection() 4521 while ((p = strpbrk(p, "\\\""))) { in _php_rfc822_len()
|