/PHP-8.1/ext/standard/ |
H A D | dir.c | 407 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 D | mb_ereg1.phpt | 38 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 D | mb_ereg_variation4.phpt | 2 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 D | mb_ereg_match_basic.phpt | 22 //will return true as pattern matches from start of string 26 //will return false as pattern would match half way through string
|
H A D | bug72399.phpt | 25 No pattern was provided
|
H A D | mb_ereg_search_invalid_pattern.phpt | 2 mb_ereg_search() with invalid pattern should discard old matches
|
/PHP-8.1/ext/intl/tests/ |
H A D | msgfmt_format.phpt | 28 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 D | msgfmt_format_subpatterns.phpt | 16 $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 D | msgfmt_format_subpatterns_named.phpt | 16 $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 D | msgfmt_format_error6.phpt | 2 MessageFormatter::format() invalid type for key not in pattern
|
H A D | bug69374.phpt | 2 …lDateFormatter::formatObject(): returns wrong utf8 value when $format param is utf8 string pattern.
|
/PHP-8.1/ext/pdo_mysql/tests/ |
H A D | pdo_mysql_types_zerofill.phpt | 14 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 D | fnmatch.h | 51 PHPAPI int fnmatch(const char *pattern, const char *string, int flags);
|
/PHP-8.1/ext/mbstring/ |
H A D | mbstring_arginfo.h | 209 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 D | bug80866.phpt | 2 Bug #80866 preg_split ignores limit flag when pattern with \K has 0-width fullstring match
|
H A D | bug21732.phpt | 20 preg_replace(): Argument #1 ($pattern) must be of type array when argument #2 ($replacement) is an …
|
H A D | preg_split_error1.phpt | 58 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 D | formatter_arginfo.h | 7 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 D | formatter_functions_arginfo.h | 6 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 D | dateformat_arginfo.h | 10 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 D | dateformat_format_object.cpp | 71 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 D | gh10583.phpt | 2 Bug GH-10583 (DateTime modify with tz pattern should not update linked timezone)
|
/PHP-8.1/.github/actions/setup-caddy/ |
H A D | action.yml | 10 …gh release -R caddyserver/caddy download --pattern 'caddy_*_linux_amd64.tar.gz' -O - | sudo tar -x…
|
/PHP-8.1/sapi/fpm/tests/ |
H A D | response.inc | 96 * 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 D | php_intl.stub.php | 171 ?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
|