Searched refs:cases (Results 1 – 25 of 149) sorted by relevance
123456
2 Enum no manual cases method9 public static function cases(): array {16 Fatal error: Cannot redeclare Foo::cases() in %s on line %d
2 Using cases method from traits in enums has no effect7 public static function cases(): array {21 var_dump(Suit::cases());
39 Duplicate value in enum Suit for cases Hearts and Spades40 Duplicate value in enum Suit for cases Hearts and Spades41 Duplicate value in enum Suit for cases Hearts and Spades42 Duplicate value in enum Suit for cases Hearts and Spades
2 Enum cases increases refcount11 Foo::cases();
37 Duplicate value in enum Foo for cases Bar and Baz38 Duplicate value in enum Foo for cases Bar and Baz39 Duplicate value in enum Foo for cases Bar and Baz
2 Int backed enums with can list cases13 var_dump(Suit::cases());
2 String backed enums can list cases13 var_dump(Suit::cases());
2 Unit enums can list cases15 var_dump(Suit::cases());
10 return $this->cases();
2 Enum constants can alias cases
2 Hash: hash_hkdf() function: edge cases6 echo "*** Testing hash_hkdf(): edge cases ***\n";24 *** Testing hash_hkdf(): edge cases ***
10 [cases]30 ["cases"]=>45 ["cases"]=>
14 echo "Test cases to ensure the original functionality is not broken.\n";29 Test cases to ensure the original functionality is not broken.
2 Allowed nested ternary cases
2 complex cases of variable assignment - 001
2 complex cases of variable assignment - 002
2 complex cases of variable assignment - 004
7 public static function cases(): array; function
2 Bug #54454 (substr_compare incorrectly reports equality in some cases)
2 void return type: acceptable cases
2 Negative parse_iv2 edge cases
2 Bug #81349: mb_detect_encoding misdetcts ASCII in some cases
2 Match expression with no cases
4 cases: no params, wrong param, wrong param range
Completed in 22 milliseconds