Home
last modified time | relevance | path

Searched refs:case (Results 1 – 25 of 620) sorted by relevance

12345678910>>...25

/php-src/ext/opcache/tests/jit/
H A Dgh8030-002.phpt16 case 1: return 1;
17 case 2: return 2;
18 case 3: return 3;
19 case 4: return 4;
20 case 5: return 5;
21 case 6: return 6;
22 case 7: return 7;
23 case 8: return 8;
24 case 9: return 9;
25 case 10: return 10;
[all …]
H A Dswitch_jumptable.phpt14 case 'str1':
15 case 'str2':
23 case 1:
24 case 2:
25 case 3:
26 case 4:
27 case 5:
/php-src/ext/standard/tests/file/windows_mb_path/
H A Dutil_utf8.inc14 case "file_mb3":
21 case "bug71509":
27 case "file_mb4":
31 case "file_cp1252":
41 case "file2_mb":
56 case "file_big5":
60 case "file_mb":
66 case "dir_mb":
83 case "dir_big5":
84 case "dir":
[all …]
/php-src/ext/ctype/tests/
H A Dctype_lower_variation2.phpt26 character code 97 is a lower case character
27 character code 98 is a lower case character
28 character code 99 is a lower case character
29 character code 100 is a lower case character
30 character code 101 is a lower case character
31 character code 102 is a lower case character
32 character code 103 is a lower case character
33 character code 104 is a lower case character
34 character code 105 is a lower case character
35 character code 106 is a lower case character
[all …]
/php-src/Zend/tests/match/
H A D043.phpt30 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
39 Unhandled match case 'eeeeeeeeeeeeeee...'
[all …]
H A Dunmatched_enum.phpt2 Match errors show unmatched enum case
7 case Bar;
8 case Baz;
21 Unhandled match case Foo::Bar
/php-src/ext/curl/tests/responder/
H A Dget.inc4 case 'post':
7 case 'input':
10 case 'getpost':
14 case 'referer':
17 case 'useragent':
20 case 'httpversion':
23 case 'cookie':
26 case 'encoding':
29 case 'contenttype':
32 case 'file':
[all …]
/php-src/Zend/tests/
H A Dcontinue_targeting_switch_warning.phpt8 case 0:
10 case 1:
16 case 0:
18 case 1:
20 case 2:
26 case 0:
30 case 1:
34 case 2:
42 case 0:
46 case 1:
[all …]
H A Dgh9775_2.phpt8 case AUTHENTICATED;
9 case COURSES_ADMIN;
10 case BUNDLES_ADMIN;
11 case COURSES_REPORTING_ACCESS;
12 case B2B_DASHBOARD_ACCESS;
13 case INSTRUCTORS_ADMIN;
14 case USERS_ADMIN;
15 case COUPONS_ADMIN;
H A Dswitch_on_numeric_strings.phpt8 case "01": return "01";
9 case "1": return "1";
11 case " 2": return " 2";
12 case "2": return "2";
14 case "10.0": return "10.0";
15 case "1e1": return "1e1";
H A Dgh9775_1.phpt8 case AUTHENTICATED = 'authenticated';
9 case COURSES_ADMIN = 'courses.admin';
10 case BUNDLES_ADMIN = 'bundles.admin';
11 case COURSES_REPORTING_ACCESS = 'courses-reporting.access';
12 case B2B_DASHBOARD_ACCESS = 'b2b-dashboard.access';
13 case INSTRUCTORS_ADMIN = 'instructors.admin';
14 case USERS_ADMIN = 'users.admin';
15 case COUPONS_ADMIN = 'coupons.admin';
/php-src/ext/tokenizer/tests/
H A Dtoken_get_all_heredoc_nowdoc.phpt145 Test case 1
152 Test case 2
159 Test case 3
166 Test case 4
173 Test case 5
180 Test case 6
187 Test case 7
196 Test case 8
207 Test case 9
299 Test case 1
[all …]
/php-src/ext/opcache/tests/
H A Dbug69038.phpt14 case "LALALALA" : return "LALALAL";
15 case PHP_OS: return "okey";
27 case "LALALAL": return "bad";
28 case PHP_OS:
30 case "FOO": break;
31 case PHP_OS: return "okey";
45 case 0 : return "LALALAL";
46 case 1 : return "okey";
55 case PHP_OS: return "okey";
H A Dbug80900.phpt13 /* The number of case clauses needs to be greater than 5,
16 case 1:
19 case 2:
22 case 3:
25 case 4:
28 case 5:
41 case 'string':
H A Dswitch_with_coinciding_targets.phpt13 case 0: case 1: case 2: case 3:
/php-src/Zend/tests/enum/
H A Dbacked-from.phpt7 case Hearts = 'H';
8 case Diamonds = 'D';
9 case Clubs = 'C';
10 case Spades = 'S';
19 case Bar = 1;
20 case Baz = 2;
21 case Beep = 3;
H A Dast-dumper.phpt9 case Bar;
15 case Bar = 1 << 0;
16 case Baz = 1 << 1;
33 case Bar;
39 case Bar = 1 << 0;
40 case Baz = 1 << 1;
H A Dbacked-tryFrom.phpt7 case Hearts = 'H';
8 case Diamonds = 'D';
9 case Clubs = 'C';
10 case Spades = 'S';
20 case Bar = 1;
21 case Baz = 2;
22 case Beep = 3;
H A Dbacked-from-invalid-type.phpt7 case Hearts = 'H';
8 case Diamonds = 'D';
9 case Clubs = 'C';
10 case Spades = 'S';
20 case Bar = 0;
21 case Baz = 1;
H A Dbacked-cases-int.phpt7 case Hearts = 2;
8 case Diamonds = 1;
9 case Clubs = 4;
10 case Spades = 3;
/php-src/ext/intl/tests/
H A Duconverter_oop_callback_return.phpt11 case "\x80": return NULL;
12 case "\x81": return 'a';
13 case "\x82": return ord('b');
14 case "\x83": return array('c');
26 case 0x00F1: return "A";
27 case 0x00F2: return ord("B");
28 case 0x00F3: return array("C");
29 case 0x00F4: return NULL;
/php-src/Zend/tests/prop_const_expr/
H A Denum_initializer.phpt7 case B = 'C';
11 case E = A::B->name;
12 case F = A::B->value;
16 case H = A::B?->name;
17 case I = A::B?->value;
/php-src/ext/reflection/tests/
H A DReflectionEnumUnitCase_construct.phpt7 case Bar;
11 $case = new ReflectionEnumUnitCase(Foo::class, 'Bar');
12 var_dump($case->getName());
13 var_dump($case->isPublic());
14 var_dump($case->getModifiers());
39 Constant Foo::Baz is not a case
/php-src/tests/lang/
H A D021.phpt11 case 0:
14 case 1:
17 case 2:
20 case 3:
23 case 4:
H A D020.phpt10 case 1:
13 case "ab":
16 case "abcd":
19 case "blah":
31 case 2:
34 case $i:
37 case 4:

Completed in 46 milliseconds

12345678910>>...25