/PHP-7.4/ext/pcre/tests/ |
H A D | null_bytes.phpt | 22 Warning: preg_match(): Null byte in regex in %snull_bytes.php on line 3 24 Warning: preg_match(): Null byte in regex in %snull_bytes.php on line 4 26 Warning: preg_match(): Null byte in regex in %snull_bytes.php on line 5 28 Warning: preg_match(): Null byte in regex in %snull_bytes.php on line 6 30 Warning: preg_match(): Null byte in regex in %snull_bytes.php on line 7 32 Warning: preg_match(): Null byte in regex in %snull_bytes.php on line 9 34 Warning: preg_match(): Null byte in regex in %snull_bytes.php on line 10 36 Warning: preg_match(): Null byte in regex in %snull_bytes.php on line 11 38 Warning: preg_match(): Null byte in regex in %snull_bytes.php on line 12 40 Warning: preg_match(): Null byte in regex in %snull_bytes.php on line 13 [all …]
|
H A D | pcre_count.phpt | 5 $regex = '/(([0-9a-z]+)-([0-9]+))-(([0-9]+)-([0-9]+))/'; 9 var_dump(preg_replace($regex, 'xxxx', $string, -1, $count)); 13 $regex = '/([a-z]+)/'; 16 var_dump(preg_replace($regex, 'xxxx', $string, -1, $count)); 20 $regex = '~((V(I|1)(4|A)GR(4|A))|(V(I|1)C(0|O)D(I|1)(N|\/\\\/)))~i'; 23 var_dump(preg_replace($regex, '...', $string, -1, $count)); 26 $regex = '~((V(I|1)(4|A)GR(4|A))|(V(I|1)C(0|O)D(I|1)(N|\/\\\/)))~i'; 29 var_dump(preg_replace($regex, '...', $string, -1));
|
H A D | bug47662.phpt | 6 $regex = '@'; 8 $regex .= '((?P<x'.$bar.'>))'; 11 $regex .= 'fo+bar@'; 13 var_dump(preg_match($regex, 'foobar'));
|
H A D | bug73483.phpt | 5 $regex = "#dummy#"; 7 var_dump(preg_replace_callback($regex, function (array $matches) use($regex) { 9 $ret = preg_replace($regex, "okey", $matches[0]);
|
H A D | bug70345.phpt | 5 $regex = '/(?=xyz\K)/'; 8 var_dump(preg_split($regex, $subject)); 10 $regex = '/(a(?=xyz\K))/'; 12 preg_match($regex, $subject, $matches);
|
H A D | marks.phpt | 6 $regex = <<<'REGEX' 15 var_dump(preg_match($regex, '_c_', $matches)); 18 var_dump(preg_match_all($regex, '_a__b__c__d_', $matches, PREG_PATTERN_ORDER)); 21 var_dump(preg_match_all($regex, '_a__b__c__d_', $matches, PREG_SET_ORDER)); 24 var_dump(preg_replace_callback($regex, function($matches) {
|
H A D | preg_replace_error2.phpt | 6 * proto string preg_replace(mixed regex, mixed replace, mixed subject [, int limit [, count]]) 14 $regex = '/[a-zA-Z]/'; 19 var_dump(preg_replace($regex, $value, $subject)); 23 var_dump(preg_replace($regex, $value, $subject));
|
H A D | bug41050.phpt | 7 $regex = '/(insert|drop|create|select|delete|update)([^;\']*('."('[^']*')+".')?)*(;|$)/i'; 11 if (preg_match($regex,$sql, $m)) echo 'matched';
|
H A D | preg_replace_callback.phpt | 10 $regex = '#\[indent]((?:[^[]|\[(?!/?indent])|(?R))+)\[/indent]#'; 16 return preg_replace_callback($regex, 'parseTagsRecursive', $input);
|
H A D | preg_match_error2.phpt | 14 $regex = '/[a-zA-Z]/'; 18 var_dump(preg_match($regex, $value)); 21 var_dump(preg_match($regex, $value));
|
H A D | preg_match_all_error2.phpt | 14 $regex = '/[a-zA-Z]/'; 16 var_dump(preg_match_all($regex, $value, $matches)); 21 var_dump(preg_match_all($regex, $value, $matches));
|
H A D | preg_match_all_error3.phpt | 13 $regex = '/[a-z]/'; 15 var_dump(preg_match_all($regex, $subject, 'test'));
|
H A D | preg_replace_variation1.phpt | 6 * proto string preg_replace(mixed regex, mixed replace, mixed subject [, int limit [, count]]) 10 * Testing preg_replace when the regex and the replacement are both arrays.
|
H A D | bug77827.phpt | 2 Bug #77827 (preg_match does not ignore \r in regex flags)
|
/PHP-7.4/ext/spl/tests/ |
H A D | bug68175.phpt | 6 $regex = new RegexIterator($arr, '/^test/'); 8 $regex->getMode(), 9 $regex->getFlags(), 10 $regex->getPregFlags()
|
H A D | bug68128.phpt | 7 $regex = new RegexIterator($array, '/Array/'); 9 foreach ($regex as $match) {
|
/PHP-7.4/ext/mbstring/tests/ |
H A D | retry_limit.phpt | 14 $regex = 'A(B|C+)+D|AC+X'; 16 var_dump(mb_ereg($regex, $str)); 18 var_dump(mb_ereg($regex, $str));
|
H A D | mb_ereg_variation5.phpt | 2 Test mb_ereg() function : usage variations - Test anchors in regex 26 $regex = '^.*?[[:blank:]]?[[:punct:][:digit:]]+\.?$'; 29 var_dump(mb_ereg($regex, $string_ascii)); 31 var_dump(mb_ereg($regex, $string_ascii, $regs_ascii)); 35 var_dump(mb_ereg($regex, $string_mb)); 37 var_dump(mb_ereg($regex, $string_mb, $regs_mb));
|
H A D | bug72399.phpt | 15 Warning: mb_ereg_search_pos(): No regex given in %sbug72399.php on line %d
|
H A D | empty_pattern.phpt | 19 Warning: mb_ereg_search_regs(): No regex given in %s on line %d
|
/PHP-7.4/ext/pcre/ |
H A D | php_pcre.h | 30 PHPAPI zend_string *php_pcre_replace(zend_string *regex, zend_string *subject_str, char *subject, s… 31 PHPAPI pcre2_code* pcre_get_compiled_regex(zend_string *regex, uint32_t *capture_count); 32 PHPAPI pcre2_code* pcre_get_compiled_regex_ex(zend_string *regex, uint32_t *capture_count, uint32_t… 42 PHPAPI pcre_cache_entry* pcre_get_compiled_regex_cache(zend_string *regex); 43 PHPAPI pcre_cache_entry* pcre_get_compiled_regex_cache_ex(zend_string *regex, int locale_aware);
|
H A D | php_pcre.c | 608 key = regex; in pcre_get_compiled_regex_cache_ex() 615 if (key != regex) { in pcre_get_compiled_regex_cache_ex() 621 p = ZSTR_VAL(regex); in pcre_get_compiled_regex_cache_ex() 627 if (key != regex) { in pcre_get_compiled_regex_cache_ex() 640 if (key != regex) { in pcre_get_compiled_regex_cache_ex() 683 if (key != regex) { in pcre_get_compiled_regex_cache_ex() 686 if (pp < ZSTR_VAL(regex) + ZSTR_LEN(regex)) { in pcre_get_compiled_regex_cache_ex() 706 while (pp < ZSTR_VAL(regex) + ZSTR_LEN(regex)) { in pcre_get_compiled_regex_cache_ex() 763 if (key != regex) { in pcre_get_compiled_regex_cache_ex() 886 if (key != regex) { in pcre_get_compiled_regex_cache_ex() [all …]
|
/PHP-7.4/ext/fileinfo/tests/ |
H A D | finfo_file_regex.phpt | 2 Test finfo_file() function : regex rules 16 echo "*** Testing finfo_file() : regex rules ***\n"; 26 *** Testing finfo_file() : regex rules ***
|
H A D | bug77961.magic | 2 >1 regex \^[0-9:,\ ]*-->[0-9:,\ ]* SubRip File 20 0 regex \^#import Objective-C source text
|
/PHP-7.4/sapi/cli/tests/ |
H A D | 006.phpt | 91 Parameter #0 [ <required> $regex ] 101 Parameter #0 [ <required> $regex ] 122 Parameter #0 [ <required> $regex ] 148 Parameter #0 [ <required> $regex ]
|