Home
last modified time | relevance | path

Searched refs:pattern (Results 51 – 75 of 145) sorted by relevance

123456

/PHP-8.1/ext/standard/
H A Ddir.c407 char *pattern = NULL; in PHP_FUNCTION() local
417 Z_PARAM_PATH(pattern, pattern_len) in PHP_FUNCTION()
433 if (!IS_ABSOLUTE_PATH(pattern, pattern_len)) { in PHP_FUNCTION()
439 if (IS_SLASH(*pattern)) { in PHP_FUNCTION()
445 snprintf(work_pattern, MAXPATHLEN, "%s%c%s", cwd, DEFAULT_SLASH, pattern); in PHP_FUNCTION()
446 pattern = work_pattern; in PHP_FUNCTION()
453 if (0 != (ret = glob(pattern, flags & GLOB_FLAGMASK, NULL, &globbuf))) { in PHP_FUNCTION()
482 if (php_check_open_basedir_ex(pattern, 0)) { in PHP_FUNCTION()
/PHP-8.1/ext/mbstring/tests/
H A Dmb_ereg1.phpt38 ValueError: mb_ereg(): Argument #1 ($pattern) must not be empty
47 TypeError: mb_ereg(): Argument #1 ($pattern) must be of type string, array given
H A Dmb_ereg_variation4.phpt2 Test mb_ereg() function : usage variations - pass different character classes as pattern for multib…
37 foreach ($character_classes as $pattern) {
42 var_dump(mb_ereg($pattern, $string_mb, $regs));
H A Dmb_ereg_match_basic.phpt22 //will return true as pattern matches from start of string
26 //will return false as pattern would match half way through string
H A Dbug72399.phpt25 No pattern was provided
H A Dmb_ereg_search_invalid_pattern.phpt2 mb_ereg_search() with invalid pattern should discard old matches
/PHP-8.1/ext/intl/tests/
H A Dmsgfmt_format.phpt28 foreach( $locales as $locale => $pattern )
31 $fmt = ut_msgfmt_create( $locale, $pattern );
37 $str_res .= dump( ut_msgfmt_format_message($locale, $pattern, array($m, $t, $m/$t))) . "\n";
H A Dmsgfmt_format_subpatterns.phpt16 $pattern=<<<_MSG_
45 $fmt = ut_msgfmt_create( 'en_US', $pattern );
52 $str_res .= dump( ut_msgfmt_format_message('en_US', $pattern, $arg) ) . "\n";
H A Dmsgfmt_format_subpatterns_named.phpt16 $pattern=<<<_MSG_
45 $fmt = ut_msgfmt_create( 'en_US', $pattern );
52 $str_res .= dump( ut_msgfmt_format_message('en_US', $pattern, $arg) ) . "\n";
H A Dmsgfmt_format_error6.phpt2 MessageFormatter::format() invalid type for key not in pattern
H A Dbug69374.phpt2 …lDateFormatter::formatObject(): returns wrong utf8 value when $format param is utf8 string pattern.
/PHP-8.1/ext/pdo_mysql/tests/
H A Dpdo_mysql_types_zerofill.phpt14 function test_type(&$db, $offset, $sql_type, $value, $ret_value = NULL, $pattern = NULL) {
52 if (!is_null($pattern)) {
54 if (!preg_match($pattern, $row['label'])) {
55 … printf("[%03d + 5] Value seems wrong, accepting pattern %s got %s, check manually\n",
56 $offset, $pattern, var_export($row['label'], true));
/PHP-8.1/win32/
H A Dfnmatch.h51 PHPAPI int fnmatch(const char *pattern, const char *string, int flags);
/PHP-8.1/ext/mbstring/
H A Dmbstring_arginfo.h209 ZEND_ARG_TYPE_INFO(0, pattern, IS_STRING, 0)
221 ZEND_ARG_TYPE_INFO(0, pattern, IS_STRING, 0)
234 ZEND_ARG_TYPE_INFO(0, pattern, IS_STRING, 0)
243 ZEND_ARG_TYPE_INFO(0, pattern, IS_STRING, 0)
251 ZEND_ARG_TYPE_INFO(0, pattern, IS_STRING, 0)
259 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, pattern, IS_STRING, 1, "null")
266 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, pattern, IS_STRING, 1, "null")
278 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, pattern, IS_STRING, 1, "null")
/PHP-8.1/ext/pcre/tests/
H A Dbug80866.phpt2 Bug #80866 preg_split ignores limit flag when pattern with \K has 0-width fullstring match
H A Dbug21732.phpt20 preg_replace(): Argument #1 ($pattern) must be of type array when argument #2 ($replacement) is an …
H A Dpreg_split_error1.phpt58 preg_split(): Argument #1 ($pattern) must be of type string, array given
69 preg_split(): Argument #1 ($pattern) must be of type string, stdClass given
/PHP-8.1/ext/intl/formatter/
H A Dformatter_arginfo.h7 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, pattern, IS_STRING, 1, "null")
13 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, pattern, IS_STRING, 1, "null")
66 ZEND_ARG_TYPE_INFO(0, pattern, IS_STRING, 0)
H A Dformatter_functions_arginfo.h6 ZEND_ARG_TYPE_INFO(0, pattern, IS_STRING, 0)
63 ZEND_ARG_TYPE_INFO(0, pattern, IS_STRING, 0)
/PHP-8.1/ext/intl/dateformat/
H A Ddateformat_arginfo.h10 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, pattern, IS_STRING, 1, "null")
19 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, pattern, IS_STRING, 1, "null")
47 ZEND_ARG_TYPE_INFO(0, pattern, IS_STRING, 0)
H A Ddateformat_format_object.cpp71 bool pattern = false; in PHP_FUNCTION() local
151 pattern = true; in PHP_FUNCTION()
198 if (pattern) { in PHP_FUNCTION()
/PHP-8.1/ext/date/tests/
H A Dgh10583.phpt2 Bug GH-10583 (DateTime modify with tz pattern should not update linked timezone)
/PHP-8.1/.github/actions/setup-caddy/
H A Daction.yml10 …gh release -R caddyserver/caddy download --pattern 'caddy_*_linux_amd64.tar.gz' -O - | sudo tar -x…
/PHP-8.1/sapi/fpm/tests/
H A Dresponse.inc96 * matches the supplied pattern.
99 * @param string $pattern
103 public function expectJsonBodyPatternForStatusProcessField(string $fieldName, string $pattern)
113 if (preg_match('|' . $pattern . '|', $process[$fieldName]) !== false) {
119 "No field $fieldName matched pattern $pattern for any process in status data '$rawData'"
/PHP-8.1/ext/intl/
H A Dphp_intl.stub.php171 ?string $pattern = null argument
191 function datefmt_set_pattern(IntlDateFormatter $formatter, string $pattern): bool {} argument
226 function numfmt_create(string $locale, int $style, ?string $pattern = null): ?NumberFormatter {} argument
253 function numfmt_set_pattern(NumberFormatter $formatter, string $pattern): bool {} argument
337 function msgfmt_create(string $locale, string $pattern): ?MessageFormatter {} argument
341 function msgfmt_format_message(string $locale, string $pattern, array $values): string|false {} argument
353 function msgfmt_parse_message(string $locale, string $pattern, string $message): array|false {} argument
355 function msgfmt_set_pattern(MessageFormatter $formatter, string $pattern): bool {} argument

Completed in 39 milliseconds

123456