/PHP-7.1/ext/pcre/tests/ |
H A D | preg_filter.phpt | 7 $pattern = array('/\d/', '/[a-z]/', '/[1a]/'); 10 var_dump(preg_filter($pattern, $replace, $subject));
|
/PHP-7.1/ext/pdo_mysql/tests/ |
H A D | pdo_mysql_types.phpt | 13 …function test_type(&$db, $offset, $sql_type, $value, $ret_value = NULL, $pattern = NULL, $alternat… 45 if (!is_null($pattern)) { 46 if (!preg_match($pattern, $row['label'])) { 47 printf("[%03d + 5] Value seems wrong, accepting pattern %s got %s, check manually\n", 48 $offset, $pattern, var_export($row['label'], true)); 74 if (is_null($pattern) && ($row['label'] != $row_string['label'])) { 77 } else if (!is_null($pattern) && !preg_match($pattern, $row_string['label'])) { 78 …GY = %s, NATIVE = %s, pattern '%s'\n", $sql_type, var_export($row_string['label'], true), var_expo…
|
H A D | pdo_mysql_types_zerofill.phpt | 13 function test_type(&$db, $offset, $sql_type, $value, $ret_value = NULL, $pattern = NULL) { 51 if (!is_null($pattern)) { 53 if (!preg_match($pattern, $row['label'])) { 54 printf("[%03d + 5] Value seems wrong, accepting pattern %s got %s, check manually\n", 55 $offset, $pattern, var_export($row['label'], true));
|
/PHP-7.1/ext/mbstring/oniguruma/ |
H A D | regext.c | 165 onig_new_deluxe(regex_t** reg, const UChar* pattern, const UChar* pattern_end, in onig_new_deluxe() argument 177 cpat = (UChar* )pattern; in onig_new_deluxe() 199 if (cpat != pattern) xfree(cpat); in onig_new_deluxe() 206 onig_recompile_deluxe(regex_t* reg, const UChar* pattern, const UChar* pattern_end, in onig_recompile_deluxe() argument 212 r = onig_new_deluxe(&new_reg, pattern, pattern_end, ci, einfo); in onig_recompile_deluxe()
|
/PHP-7.1/ext/mbstring/tests/ |
H A D | mb_ereg_match_basic.phpt | 10 /* Prototype : bool mb_ereg_match(string $pattern, string $string [,string $option]) 26 //will return true as pattern matches from start of string 30 //will return false as pattern would match half way through string
|
H A D | mb_ereg_replace_variation3.phpt | 10 /* Prototype : proto string mb_ereg_replace(string pattern, string replacement, string string [, s… 19 $pattern = '[a-z]'; 91 // loop through each element of the array for pattern 96 var_dump( mb_ereg_replace($pattern, $replacement, $input, $option) );
|
H A D | mb_ereg_variation1.phpt | 2 Test mb_ereg() function : usage variations - pass different data types to $pattern argument 10 /* Prototype : int mb_ereg(string $pattern, string $string [, array $registers]) 16 * Pass different data types to $pattern argument 44 // unexpected values to be passed to $pattern argument
|
H A D | mb_ereg_variation4.phpt | 2 Test mb_ereg() function : usage variations - pass different character classes as pattern for multib… 10 /* Prototype : int mb_ereg(string $pattern, string $string [, array $registers]) 41 foreach ($character_classes as $pattern) { 46 var_dump(mb_ereg($pattern, $string_mb, $regs));
|
H A D | mb_ereg_replace_variation4.phpt | 10 /* Prototype : proto string mb_ereg_replace(string pattern, string replacement, string string [, s… 19 $pattern = '[a-k]'; 91 // loop through each element of the array for pattern 96 var_dump( mb_ereg_replace($pattern, $replacement, $string, $input) );
|
H A D | mb_split_variation2.phpt | 10 /* Prototype : proto array mb_split(string pattern, string string [, int limit]) 20 $pattern = '[a-z]'; 91 // loop through each element of the array for pattern 96 var_dump( mb_split($pattern, $input, $limit) );
|
H A D | mb_ereg_replace_variation2.phpt | 10 /* Prototype : proto string mb_ereg_replace(string pattern, string replacement, string string [, s… 19 $pattern = '[a-z]'; 91 // loop through each element of the array for pattern 96 var_dump( mb_ereg_replace($pattern, $input, $string, $option) );
|
/PHP-7.1/ext/soap/ |
H A D | TODO | 17 ? language, (pattern: "[a-zA-Z]{1,8}(-[a-zA-Z0-9]{1,8})*") 18 ? NMTOKEN, (pattern: "\c+") (\c: [a-zA-Z0-9.\-_:]) 20 ? Name, (pattern: "\i\c*") (\i: [a-zA-Z_:] 21 ? NCName, (pattern: "[\i-[:]][\c-[:]]*") 72 - pattern
|
/PHP-7.1/ext/standard/ |
H A D | dir.c | 438 char *pattern = NULL; in PHP_FUNCTION() local 446 if (zend_parse_parameters(ZEND_NUM_ARGS(), "p|l", &pattern, &pattern_len, &flags) == FAILURE) { in PHP_FUNCTION() 461 if (!IS_ABSOLUTE_PATH(pattern, pattern_len)) { in PHP_FUNCTION() 467 if (IS_SLASH(*pattern)) { in PHP_FUNCTION() 473 snprintf(work_pattern, MAXPATHLEN, "%s%c%s", cwd, DEFAULT_SLASH, pattern); in PHP_FUNCTION() 474 pattern = work_pattern; in PHP_FUNCTION() 481 if (0 != (ret = glob(pattern, flags & GLOB_FLAGMASK, NULL, &globbuf))) { in PHP_FUNCTION() 508 if (php_check_open_basedir_ex(pattern, 0)) { in PHP_FUNCTION()
|
/PHP-7.1/ext/intl/tests/ |
H A D | bug62017.phpt | 2 Bug #62017: datefmt_create with incorrectly encoded timezone leaks pattern 24 Exception: IntlDateFormatter::__construct(): datefmt_create: error converting pattern to UTF-16 in …
|
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_parse.phpt | 36 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 D | msgfmt_format_subpatterns.phpt | 20 $pattern=<<<_MSG_ 49 $fmt = ut_msgfmt_create( 'en_US', $pattern ); 56 $str_res .= dump( ut_msgfmt_format_message('en_US', $pattern, $arg) ) . "\n";
|
/PHP-7.1/ext/pcre/pcrelib/testdata/ |
H A D | grepinputx | 3 Here is the pattern again. 42 This line contains pattern not on a line by itself.
|
H A D | grepoutput | 12 10:This pattern is in lower case. 21 ./testdata/grepinput:10:This pattern is in lower case. 23 ./testdata/grepinputx:3:Here is the pattern again. 30 10:This pattern is in lower case. 32 3:Here is the pattern again. 34 42:This line contains pattern not on a line by itself. 94 Here is the pattern again. 97 This line contains pattern not on a line by itself. 185 This line contains pattern not on a line by itself. 334 ./testdata/grepinputx:3:Here is the pattern again. [all …]
|
/PHP-7.1/ext/pcre/pcrelib/doc/ |
H A D | pcre.txt | 1497 pattern. 3298 pattern. 4322 pattern 4714 pattern. 6299 pattern 6791 (?(condition)yes-pattern|no-pattern) 6845 pattern. 7147 pattern: 7289 pattern. 8020 (?(condition)yes-pattern|no-pattern) [all …]
|
/PHP-7.1/sapi/cli/tests/ |
H A D | 006.phpt | 64 Parameter #0 [ <required> $pattern ] 74 Parameter #0 [ <required> $pattern ] 104 Parameter #0 [ <required> $pattern ] 123 Parameter #0 [ <required> $pattern ]
|
/PHP-7.1/ext/intl/msgformat/ |
H A D | msgformat_class.c | 99 ZEND_ARG_INFO(0, pattern) 107 ZEND_ARG_INFO(0, pattern) 116 ZEND_ARG_INFO(0, pattern)
|
/PHP-7.1/ext/standard/tests/file/ |
H A D | glob_variation2.phpt | 5 /* Prototype: array glob ( string $pattern [, int $flags] ); 6 Description: Find pathnames matching a pattern
|
/PHP-7.1/win32/ |
H A D | fnmatch.h | 52 PHPAPI int fnmatch(const char *pattern, const char *string, int flags);
|
/PHP-7.1/sapi/fpm/tests/ |
H A D | logtool.inc | 39 private $pattern; 88 $this->pattern = '/^PHP message: (.*?)(\.\.\.)?$/'; 89 if (preg_match($this->pattern, $line, $matches) === 0) { 126 $this->pattern = sprintf( 133 $this->pattern = null; 173 if ($this->pattern === null) { 177 } elseif (($res = preg_match($this->pattern, $line, $matches)) > 0) { 325 $pattern = sprintf('/^%s %s: %s$/', self::P_TIME, $type, $expectedMessage); 327 if (preg_match($pattern, $line, $matches) === 0) { 330 "- PATTERN: $pattern\n" .
|