/PHP-8.1/Zend/tests/match/ |
H A D | 043.phpt | 10 match($var) {}; 30 Unhandled match case NULL 31 Unhandled match case 1 32 Unhandled match case 5.5 33 Unhandled match case 5.0 34 Unhandled match case 'foo' 35 Unhandled match case true 36 Unhandled match case false 37 Unhandled match case of type array 38 Unhandled match case of type Beep [all …]
|
H A D | 037.phpt | 2 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) { 59 string(%d) "UnhandledMatchError: Unhandled match case 6 in %s:%d [all …]
|
H A D | 039.phpt | 2 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 D | 045.phpt | 2 Corrupted CFG due to unreachable free with match 6 var_dump(match(x){}); 7 match(y){
|
H A D | 009.phpt | 2 Pretty printing for match expression 9 match ('foo') { 19 match ('foo') {
|
H A D | 028.phpt | 2 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 D | 012.phpt | 2 Strict comparison in match expression 10 var_dump(match (0) { 23 var_dump(match (get_value()) {
|
H A D | match_of_phi_optimization.phpt | 2 Unreachable code elimination when match argument is a phi node 6 match ($x and true or true) { 11 Fatal error: Uncaught UnhandledMatchError: Unhandled match case true in %s:%d
|
/PHP-8.1/ext/gd/libgd/ |
H A D | gd_crop.c | 120 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.1/ext/opcache/tests/match/ |
H A D | 002.phpt | 2 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.1/tests/lang/ |
H A D | syntax_errors.phpt | 12 "(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.1/ext/pcre/tests/ |
H A D | match_flags.phpt | 6 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 D | match_flags3.phpt | 6 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 D | match_flags2.phpt | 6 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 D | bug52971.phpt | 9 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 D | bug40909.phpt | 10 $match = array(); 12 if ($result =preg_match_all($pattern, $context, $match)) 16 var_dump($match);
|
H A D | bug37911.phpt | 6 function callback($match) 8 var_dump($match); 9 return $match[1].'/'.strlen($match['name']);
|
/PHP-8.1/ext/zlib/tests/ |
H A D | func.inc | 11 //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.1/ext/opcache/tests/ |
H A D | match_always_error.phpt | 2 match expression always errors 9 match(get_value()) { 21 Unhandled match case 0
|
/PHP-8.1/ext/opcache/jit/dynasm/ |
H A D | dasm_arm.lua | 27 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 …]
|
/PHP-8.1/ext/standard/tests/strings/ |
H A D | explode_variation4.phpt | 2 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.1/sapi/phpdbg/tests/ |
H A D | match_breakpoints_001.phpt | 2 Test match default breakpoint with variable assignment 22 $foo = match (0) { 27 $foo = match (1) {
|
H A D | match_breakpoints_002.phpt | 2 Test match default breakpoint with property assignment 24 $foo->bar = match (0) { 29 $foo->bar = match (1) {
|
H A D | match_breakpoints_003.phpt | 2 Test match default breakpoint with dim assignment 24 $foo['foo'] = match (0) { 29 $foo->bar = match (1) {
|
H A D | match_breakpoints_004.phpt | 2 Test match default breakpoint with static variable assignment 26 Foo::$bar = match (0) { 31 Foo::$bar = match (1) {
|