Home
last modified time | relevance | path

Searched refs:match (Results 1 – 25 of 162) sorted by relevance

1234567

/PHP-7.4/ext/gd/libgd/
H A Dgd_crop.c120 match = 1; in gdImageCropAuto()
129 if (match) { in gdImageCropAuto()
135 match = 1; in gdImageCropAuto()
143 match = 1; in gdImageCropAuto()
151 match = 1; in gdImageCropAuto()
187 int match; in gdImageCropThreshold() local
208 match = 1; in gdImageCropThreshold()
216 if (match) { in gdImageCropThreshold()
222 match = 1; in gdImageCropThreshold()
230 match = 1; in gdImageCropThreshold()
[all …]
/PHP-7.4/ext/pcre/tests/
H A Dmatch_flags.phpt6 var_dump(preg_match_all('/(.)x/', 'zxax', $match, PREG_PATTERN_ORDER));
7 var_dump($match);
9 var_dump(preg_match_all('/(.)x/', 'zxyx', $match, PREG_SET_ORDER));
10 var_dump($match);
12 var_dump(preg_match_all('/(.)x/', 'zxyx', $match, PREG_OFFSET_CAPTURE));
13 var_dump($match);
15 var_dump(preg_match_all('/(.)x/', 'zxyx', $match, PREG_SET_ORDER | PREG_OFFSET_CAPTURE));
16 var_dump($match);
H A Dmatch_flags3.phpt6 var_dump(preg_match('', '', $match, 0xfff));
8 var_dump(preg_match('/\d+/', '123 456 789 012', $match, 0, -8));
9 var_dump($match);
11 var_dump(preg_match('/\d+/', '123 456 789 012', $match, 0, -500));
12 var_dump($match);
14 var_dump(preg_match_all('/\d+/', '123 456 789 012', $match, 0, -8));
15 var_dump($match);
H A Dmatch_flags2.phpt6 var_dump(preg_match('/x(.)/', 'fjszxax', $match, PREG_OFFSET_CAPTURE));
7 var_dump($match);
9 var_dump(preg_match('/(.)x/', 'fjszxax', $match, PREG_OFFSET_CAPTURE, 4));
10 var_dump($match);
12 var_dump(preg_match('/(?P<capt1>.)(x)(?P<letsmix>\S+)/', 'fjszxax', $match, PREG_OFFSET_CAPTURE));
13 var_dump($match);
H A Dbug52971.phpt9 preg_match_all($pattern, $message, $match, PREG_OFFSET_CAPTURE);
10 var_dump($match);
13 preg_match_all($pattern, $message, $match, PREG_OFFSET_CAPTURE);
14 var_dump($match);
H A Dbug40909.phpt10 $match = array();
12 if ($result =preg_match_all($pattern, $context, $match))
16 var_dump($match);
H A Dbug37911.phpt6 function callback($match)
8 var_dump($match);
9 return $match[1].'/'.strlen($match['name']);
H A Dbug79846.phpt6 preg_match("/([a-z]+_[a-z]+_*[a-z]+)_?(\d+)?/", $item, $match);
7 var_dump($match);
H A Dbug44214_2.phpt9 function myCallBack( $match ) {
11 $array[] = $match[0];
H A Dbug44214.phpt9 function myCallBack( $match ) {
11 $array[] = $match;
H A Dpreg_match_basic_002.phpt2 preg_match() single line match with multi-line input
6 * Description: Perform a regular expression match
H A Dpreg_match_latin.phpt2 preg_match() single line match with latin input
6 * Description: Perform a regular expression match
H A Dpreg_match_all_edit_basic.phpt6 * Description: Perform a Perl-style global regular expression match
13 …PATTERN_ORDER, -10)); //finds any digit that's not 4 10 digits from the end(1 match)
19 … //finds ".\ [...]" and everything else to the end of the string. (greedy) (1 match)
/PHP-7.4/ext/zlib/tests/
H A Dfunc.inc11 //if (preg_match(',zlib.*Compiled Version => (\d+\.\d+\.\d+),s', $info, $match)) {
12 // $version = $match[1];
13 …if (preg_match(',zlib(?!.*libXML).*Compiled Version (=> |</).*(\d+\.\d+\.\d+?),sU', $info, $match)…
14 $version = $match[2];
/PHP-7.4/ext/mbstring/libmbfl/filters/
H A Dmbfilter_sjis_mobile.c260 match = 1; in mbfilter_conv_map_tbl()
264 return match; in mbfilter_conv_map_tbl()
275 match = 1; in mbfilter_conv_r_map_tbl()
279 return match; in mbfilter_conv_r_map_tbl()
420 match = 1; in mbfilter_unicode2sjis_emoji_docomo()
423 match = 1; in mbfilter_unicode2sjis_emoji_docomo()
426 match = 1; in mbfilter_unicode2sjis_emoji_docomo()
447 match = 1; in mbfilter_unicode2sjis_emoji_docomo()
453 match = 1; in mbfilter_unicode2sjis_emoji_docomo()
459 match = 1; in mbfilter_unicode2sjis_emoji_docomo()
[all …]
/PHP-7.4/ext/imap/tests/
H A Dclean.inc16 if (preg_match('/\{.*?\}INBOX\.(.+)/', $value->name, $match) == 1) {
17 if (strlen($match[1]) >= strlen($mailbox_prefix)
18 && substr_compare($match[1], $mailbox_prefix, 0, strlen($mailbox_prefix)) == 0) {
/PHP-7.4/ext/gd/tests/
H A Dfunc.inc22 if (preg_match(',FreeType Version => (\d+\.\d+\.\d+),s', get_php_info(), $match)) {
23 $version = $match[1];
33 if (preg_match(',libJPEG Version => ([a-z0-9]+),s', get_php_info(), $match)) {
34 $version = $match[1];
44 if (preg_match(',libPNG Version => (\d+\.\d+\.\d+),s', get_php_info(), $match)) {
45 $version = $match[1];
55 if (preg_match(',libXpm Version => (\d+),s', get_php_info(), $match)) {
56 $version = $match[1];
/PHP-7.4/ext/standard/tests/strings/
H A Dexplode_variation4.phpt2 Test explode() function : usage variations - match longer string
11 echo "*** Testing explode() function: match longer string ***\n";
19 *** Testing explode() function: match longer string ***
/PHP-7.4/ext/mbstring/tests/
H A Dmb_ereg_search_regs.phpt19 $match= mb_ereg_search_regs("ов");
20 var_dump($match);
H A Dmb_ereg_variation3.phpt2 Test mb_ereg() function : usage variations - pass different character classes to see they match cor…
12 * Description: Regular expression match for multibyte string
17 * test that mb_ereg can match correctly when passed different character classes.
23 mb_regex_encoding('utf-8'); // have to set otherwise won't match $mb properly
/PHP-7.4/ext/standard/tests/file/
H A Dfnmatch_variation.phpt27 1 => "match*",
34 8 => "match**",
37 11 => "match",
39 13 => "?match",
40 14 => "match?tmp",
42 16 => "match?",
43 17 => "?match?",
44 18 => "match.tmp",
45 19 => "/match.tmp",
47 21 => 'match.tmp',
[all …]
H A Dsymlink_link_linkinfo_is_link_variation9.phpt46 // confirming that linkinfo() = lstat['dev'] , this should always match
54 echo "\nWarning: linkinfo() value doesnt match lstat['dev']\n";
61 // confirming that linkinfo() = lstat['dev'] , this should always match
69 echo "\nWarning: linkinfo() value doesnt match lstat['dev']\n";
78 // confirming that linkinfo() = lstat['dev'], this should always match
86 echo "\nWarning: linkinfo() value doesnt match lstat['dev']\n";
/PHP-7.4/ext/spl/tests/
H A Dbug68128.phpt9 foreach ($regex as $match) {
10 var_dump($match);
/PHP-7.4/ext/phar/tests/
H A D011.phpt15 // compressed file length does not match incompressed lentgh for an uncompressed file
30 internal corruption of phar "%s" (compressed and uncompressed size does not match for uncompressed …
/PHP-7.4/ext/standard/tests/array/
H A Darray_key_exists_variation5.phpt21 echo "\n-- Attempt to match key in sub-array --\n";
33 -- Attempt to match key in sub-array --

Completed in 43 milliseconds

1234567