Home
last modified time | relevance | path

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

123456789

/PHP-8.0/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-8.0/Zend/tests/match/
H A D037.phpt2 Test match jumptable with only one arm
7 var_dump(match(true) {
15 var_dump(match(6) {
23 var_dump(match('3') {
30 var_dump(match(3) {
34 var_dump(match(true) {
39 var_dump(match(6) {
44 var_dump(match('3') {
49 var_dump(match(3) {
56 string(%d) "UnhandledMatchError: Unhandled match value of type bool in %s037.php:4
[all …]
H A D039.phpt2 Test match with duplicate conditions
8 echo match ($value) {
18 echo match ($value) {
27 echo match ($value) {
36 echo match ($value) {
42 echo match ($value) {
48 echo match ($value) {
H A D009.phpt2 Pretty printing for match expression
9 match ('foo') {
19 match ('foo') {
H A D012.phpt2 Strict comparison in match expression
10 var_dump(match (0) {
23 var_dump(match (get_value()) {
H A D028.phpt2 Test result of match cannot be modified by reference
19 Test::usesValue(match(true) { true => $i });
20 Test::usesValue(match($i) { 42 => $i });
22 Test::usesRef(match(true) { true => $i });
H A D044.phpt2 Incorrect cfg block marking for two arm match
6 var_dump(match ($x) {
H A D024.phpt2 Test match strict comparison with false expression
10 echo match (false) {
H A D011.phpt2 Implicit break in match expression
11 var_dump(match ('foo') {
/PHP-8.0/ext/opcache/tests/match/
H A D002.phpt2 Test match jump table optimizer
14 echo match($x) {
16 default => "No match\n",
23 echo match($x) {
25 default => "No match\n",
46 0000 ECHO string("No match
54 0000 ECHO string("No match
57 No match
58 No match
/PHP-8.0/tests/lang/
H A Dsyntax_errors.phpt12 "(1 + 2];", /* ] doesn't match ( */
13 "[1, 2)];", /* ) doesn't match [ */
14 "if(1) { echo 'a'; )}", /* ) doesn't match { */
23 "(1 +\n\n 2])", /* ] doesn't match (, spans multiple lines */
24 "[1,\n2,\n3)]", /* ) doesn't match [, spans multiple lines */
45 Unclosed '(' does not match ']'
46 Unclosed '[' does not match ')'
47 Unclosed '{' does not match ')'
54 Unclosed '(' on line 1 does not match ']'
55 Unclosed '[' on line 1 does not match ')'
[all …]
/PHP-8.0/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']);
/PHP-8.0/ext/zlib/tests/
H A Dfunc.inc11 //if (preg_match(',zlib.*Compiled Version => (\d+\.\d+\.\d+),s', $info, $match)) {
12 // $version = $match[1];
13 … (preg_match(',zlib(?!.*libXML).*Compiled Version (=> |</).*(\d+\.\d+\.\d+?),sU', $info, $match)) {
14 $version = $match[2];
/PHP-8.0/ext/mbstring/libmbfl/filters/
H A Dmbfilter_sjis_mobile.c259 match = 1; in mbfilter_conv_map_tbl()
263 return match; in mbfilter_conv_map_tbl()
274 match = 1; in mbfilter_conv_r_map_tbl()
278 return match; in mbfilter_conv_r_map_tbl()
419 match = 1; in mbfilter_unicode2sjis_emoji_docomo()
422 match = 1; in mbfilter_unicode2sjis_emoji_docomo()
425 match = 1; in mbfilter_unicode2sjis_emoji_docomo()
446 match = 1; in mbfilter_unicode2sjis_emoji_docomo()
452 match = 1; in mbfilter_unicode2sjis_emoji_docomo()
458 match = 1; in mbfilter_unicode2sjis_emoji_docomo()
[all …]
/PHP-8.0/ext/standard/tests/strings/
H A Dexplode_variation4.phpt2 Test explode() function : usage variations - match longer string
6 echo "*** Testing explode() function: match longer string ***\n";
13 *** Testing explode() function: match longer string ***
/PHP-8.0/sapi/phpdbg/tests/
H A Dmatch_breakpoints_001.phpt2 Test match default breakpoint with variable assignment
22 $foo = match (0) {
27 $foo = match (1) {
H A Dmatch_breakpoints_002.phpt2 Test match default breakpoint with property assignment
24 $foo->bar = match (0) {
29 $foo->bar = match (1) {
H A Dmatch_breakpoints_003.phpt2 Test match default breakpoint with dim assignment
24 $foo['foo'] = match (0) {
29 $foo->bar = match (1) {
H A Dmatch_breakpoints_004.phpt2 Test match default breakpoint with static variable assignment
26 Foo::$bar = match (0) {
31 Foo::$bar = match (1) {
/PHP-8.0/ext/opcache/jit/dynasm/
H A Ddasm_arm.lua27 local match, gmatch, gsub = _s.match, _s.gmatch, _s.gsub
601 imm = match(imm, "^#(.*)$")
638 imm = match(imm, "^#(.*)$")
700 if match(label, "^[1-9]$") then
731 if match(pn, "^[<>=%-]") or match(pn, "^extern%s+") then
753 local imm = match(p2, "^#(.*)$")
795 imm = match(imm, "^,%s*#(.*)$")
809 if match(q, "^[<>=%-]") or match(q, "^extern%s+") then
852 local imm = match(q, "^#(.*)$")
869 if match(q, "^([%w_]+):(r1?[0-9])$") or match(q, "^r(1?[0-9])$") then
[all …]

Completed in 29 milliseconds

123456789