Home
last modified time | relevance | path

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

123456

/php-src/ext/intl/tests/
H A Dmsgfmt_parse.phpt36 foreach( $locales as $locale => $pattern )
39 $fmt = ut_msgfmt_create( $locale, $pattern );
45 $str_res .= dump( ut_msgfmt_parse_message($locale, $pattern, $results[$locale])) . "\n";
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";
/php-src/ext/intl/dateformat/
H A Ddateformat.stub.php44 ?string $pattern = null argument
58 ?string $pattern = null argument
114 public function setPattern(string $pattern): bool {} argument
H A Ddateformat_format_object.cpp71 bool pattern = false; in PHP_FUNCTION() local
142 pattern = true; in PHP_FUNCTION()
189 if (pattern) { in PHP_FUNCTION()
/php-src/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-src/win32/
H A Dfnmatch.h51 PHPAPI int fnmatch(const char *pattern, const char *string, int flags);
/php-src/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-src/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 Dpreg_grep_error1.phpt51 preg_grep(): Argument #1 ($pattern) must be of type string, array given
58 preg_grep(): Argument #1 ($pattern) must be of type string, stdClass given
H A Dpreg_split_error1.phpt51 preg_split(): Argument #1 ($pattern) must be of type string, array given
60 preg_split(): Argument #1 ($pattern) must be of type string, stdClass given
H A Dpreg_match_error1.phpt50 preg_match(): Argument #1 ($pattern) must be of type string, array given
52 preg_match(): Argument #1 ($pattern) must be of type string, stdClass given
H A Dpreg_match_all_error1.phpt57 preg_match_all(): Argument #1 ($pattern) must be of type string, array given
73 preg_match_all(): Argument #1 ($pattern) must be of type string, stdClass given
H A Dpreg_replace_callback_array_fatal_error.phpt18 Fatal error: Uncaught TypeError: preg_replace_callback_array(): Argument #1 ($pattern) must contain…
/php-src/sapi/fpm/tests/
H A Dresponse.inc153 * matches the supplied pattern.
156 * @param string $pattern
160 …public function expectJsonBodyPatternForStatusProcessField(string $fieldName, string $pattern): Re…
170 if (preg_match('|' . $pattern . '|', $process[$fieldName]) !== false) {
176 "No field $fieldName matched pattern $pattern for any process in status data '$rawData'"
237 * Expect error pattern in the response.
239 * @param string $errorMessagePattern Expected error message RegExp pattern.
248 … "The expected error pattern $errorMessagePattern does not match the returned error '$errorData'"
/php-src/ext/intl/formatter/
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)
H A Dformatter.stub.php188 public function __construct(string $locale, int $style, ?string $pattern = null) {} argument
194 …public static function create(string $locale, int $style, ?string $pattern = null): ?NumberFormatt… argument
263 public function setPattern(string $pattern): bool {} argument
/php-src/ext/mbstring/
H A Dmbstring_arginfo.h231 ZEND_ARG_TYPE_INFO(0, pattern, IS_STRING, 0)
243 ZEND_ARG_TYPE_INFO(0, pattern, IS_STRING, 0)
256 ZEND_ARG_TYPE_INFO(0, pattern, IS_STRING, 0)
265 ZEND_ARG_TYPE_INFO(0, pattern, IS_STRING, 0)
273 ZEND_ARG_TYPE_INFO(0, pattern, IS_STRING, 0)
281 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, pattern, IS_STRING, 1, "null")
288 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, pattern, IS_STRING, 1, "null")
300 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, pattern, IS_STRING, 1, "null")
/php-src/ext/date/tests/
H A Dgh10583.phpt2 Bug GH-10583 (DateTime modify with tz pattern should not update linked timezone)
/php-src/.github/actions/setup-caddy/
H A Daction.yml10 …gh release -R caddyserver/caddy download --pattern 'caddy_*_linux_amd64.tar.gz' -O - | sudo tar -x…

Completed in 47 milliseconds

123456