/php-src/sapi/phpdbg/tests/ |
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) {
|
/php-src/Zend/tests/stack_limit/ |
H A D | stack_limit_010.phpt | 17 $expectedMaxSize = match(php_uname('s')) { 18 'Darwin' => match(php_uname('m')) { 22 'FreeBSD' => match(php_uname('m')) { 26 'Linux' => match (getenv('GITHUB_ACTIONS')) {
|
/php-src/Zend/tests/match/ |
H A D | 047.phpt | 6 echo match (match ('b') { default => 'b' }) {
|
H A D | 044.phpt | 2 Incorrect cfg block marking for two arm match 6 var_dump(match ($x) {
|
H A D | 024.phpt | 2 Test match strict comparison with false expression 10 echo match (false) {
|
H A D | 011.phpt | 2 Implicit break in match expression 11 var_dump(match ('foo') {
|
H A D | 006.phpt | 6 $x = match (true) {}; 10 Fatal error: Uncaught UnhandledMatchError: Unhandled match case true in %s:%d
|
H A D | 023.phpt | 2 Test match strict comparison with true expression 10 echo match (true) {
|
H A D | 038.phpt | 2 Test multiple default arms in match in different arms 6 match (1) {
|
H A D | 027.phpt | 2 Test result of match cannot be modified by reference 20 Test::usesValue(match(true) { true => $i }); 23 Test::usesRef(match(true) { true => $j });
|
H A D | 001.phpt | 2 Basic match expression functionality test 7 return match ($x) {
|
H A D | gh11134.phpt | 2 GH-11134: Incorrect match optimization 7 return match ($unset ?? null) {
|
H A D | 007.phpt | 7 return match ($i) { 22 Fatal error: Uncaught UnhandledMatchError: Unhandled match case 3 in %s:%d
|
H A D | 042.phpt | 6 var_dump(match ($undefinedVariable) { 11 var_dump(match ($undefinedVariable) {
|
H A D | 040.phpt | 2 Test match with mixed int/string jumptable 7 echo match ($value) {
|
/php-src/ext/gd/tests/ |
H A D | func.inc | 22 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-src/ext/standard/tests/file/ |
H A D | fnmatch_variation.phpt | 23 1 => "match*", 30 8 => "match**", 33 11 => "match", 35 13 => "?match", 36 14 => "match?tmp", 38 16 => "match?", 39 17 => "?match?", 40 18 => "match.tmp", 41 19 => "/match.tmp", 43 21 => 'match.tmp', [all …]
|
/php-src/ext/opcache/jit/ir/dynasm/ |
H A D | dynasm.lua | 49 local sub, match, gmatch, gsub = _s.sub, _s.match, _s.gmatch, _s.gsub 211 if match(name, "^[%a_][%w_]*$") then 288 local op = match(stmt, "^%s*(%S+)") 401 if not (match(name, "^[%a_][%w_%.]*$") or match(name, "^%.[%w_%.]*$")) then 407 if not match(mp, "^[%a_][%w_]*$") then 512 if not match(name, "^[%a_][%w_]*$") then 542 if not match(name, "^[%a_][%w_]*$") then 597 if not match(name, "^[%a][%w_]*$") or 789 if match(stmt, "^%s*$") then return end 865 if match(aline, ";") then [all …]
|
H A D | dasm_arm64.lua | 27 local match, gmatch, gsub = _s.match, _s.gmatch, _s.gsub 321 imm = match(imm, "^#(.*)$") 343 imm = match(imm, "^#(.*)$") 360 imm = match(imm, "^#(.*)$") 396 imm = match(imm, "^#(.*)$") 427 imm = match(imm, "^#(.*)$") 445 local s, s2 = match(expr, "^(%S+)%s*(.*)$") 452 local n = match(expr, "^lsl%s*#(%d+)$") 507 local imm = match(p2a, "^,%s*#(.*)$") 590 if match(label, "^[1-9]$") then [all …]
|
/php-src/ext/pcre/tests/ |
H A D | bug79846.phpt | 6 preg_match("/([a-z]+_[a-z]+_*[a-z]+)_?(\d+)?/", $item, $match); 7 var_dump($match);
|
/php-src/ext/mbstring/tests/ |
H A D | mb_ereg_search_regs.phpt | 20 $match= mb_ereg_search_regs("ов"); 21 var_dump($match);
|
/php-src/ext/opcache/tests/opt/ |
H A D | block_pass_006.phpt | 9 match(match(''){c=>''}){}
|
/php-src/Zend/tests/enum/ |
H A D | backed-mismatch.phpt | 36 TypeError: Enum case type string does not match enum backing type int 37 TypeError: Enum case type string does not match enum backing type int 38 TypeError: Enum case type string does not match enum backing type int
|
/php-src/ext/opcache/tests/jit/ |
H A D | gh8030-001.phpt | 2 GH-8030: Segfault with JIT and large match/switch statements 001 15 return match($s){
|