Home
last modified time | relevance | path

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

/PHP-7.1/ext/standard/tests/strings/
H A Dstrpbrk_error.phpt2 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 Dstrpbrk_basic.phpt2 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 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'));
/PHP-7.1/ext/xmlrpc/libxmlrpc/
H A Dacinclude.m48 strstr strpbrk strerror\
/PHP-7.1/ext/standard/
H A Dhead.c92 …} else if (strpbrk(ZSTR_VAL(name), "=,; \t\r\n\013\014") != NULL) { /* man isspace for \013 and … in php_setcookie()
98 strpbrk(ZSTR_VAL(value), ",; \t\r\n\013\014") != NULL) { /* man isspace for \013 and \014 */ in php_setcookie()
H A Dphp_fopen_wrapper.c206 if (strpbrk(mode, "wa+")) { in php_stream_url_wrap_php()
215 if (strpbrk(mode, "wa+")) { in php_stream_url_wrap_php()
H A Dphp_string.h94 PHP_FUNCTION(strpbrk);
H A Dftp_fopen_wrapper.c111 if (strpbrk(stream->mode, "wa+")) { in php_stream_ftp_stream_close()
437 if (strpbrk(mode, "r+")) { in php_stream_url_wrap_ftp()
440 if (strpbrk(mode, "wa+")) { in php_stream_url_wrap_ftp()
H A Dmail.c203 while ((p = strpbrk(p, "\r\n"))) { in php_mail_log_crlf_to_spaces()
H A Dmath.c1135 dp = strpbrk(ZSTR_VAL(tmpbuf), ".,"); in _php_math_number_format_ex()
H A Dhttp_fopen_wrapper.c177 if (strpbrk(mode, "awx+")) { in php_stream_url_wrap_http_ex()
H A Dstring.c5597 PHP_FUNCTION(strpbrk) argument
H A Dbasic_functions.c2768 PHP_FE(strpbrk, arginfo_strpbrk)
/PHP-7.1/win32/
H A Dcodepage.c320 idx = strpbrk(start, "|"); in php_win32_cp_get_by_enc()
327 idx = strpbrk(start, "|"); in php_win32_cp_get_by_enc()
/PHP-7.1/ext/filter/
H A Dlogical_filters.c411 if ((!dval && p - num > 1 && strpbrk(num, "123456789")) || !zend_finite(dval)) { in php_filter_float()
/PHP-7.1/ext/ftp/
H A Dftp.c1144 if (strpbrk(cmd, "\r\n")) { in ftp_putcmd()
1153 if (strpbrk(args, "\r\n")) { in ftp_putcmd()
/PHP-7.1/main/
H A Drfc1867.c758 boundary_end = strpbrk(boundary, ",;");
/PHP-7.1/ext/pdo_pgsql/
H A Dpgsql_driver.c976 if (strpbrk(modestr, "+w")) { in PHP_METHOD()
/PHP-7.1/ext/session/
H A Dsession.c1512 if ((q = strpbrk(p, "/?\\"))) {
1533 if (PS(id) && strpbrk(ZSTR_VAL(PS(id)), "\r\n\t <>'\"\\")) {
/PHP-7.1/ext/iconv/
H A Diconv.c2921 if ((to_charset = strpbrk(from_charset, "/.")) == NULL) { in php_iconv_stream_filter_factory_create()
/PHP-7.1/ext/imap/
H A Dphp_imap.c4422 while ((p = strpbrk(p, "\\\""))) { in _php_rfc822_len()

Completed in 316 milliseconds