Searched refs:cases (Results 1 – 25 of 199) sorted by relevance
12345678
2 registerPhpFunctionNS() function - legit cases31 echo "--- Legit cases: global function callable ---\n";36 echo "--- Legit cases: string callable ---\n";41 echo "--- Legit cases: trampoline callable ---\n";46 echo "--- Legit cases: instance class method callable ---\n";58 echo "--- Legit cases: multiple namespaces ---\n";66 --- Legit cases: global function callable ---71 --- Legit cases: string callable ---76 --- Legit cases: trampoline callable ---86 --- Legit cases: instance class method callable ---[all …]
2 registerPHPFunctions() with callables - legit cases27 echo "--- Legit cases: none ---\n";37 echo "--- Legit cases: all ---\n";43 echo "--- Legit cases: set ---\n";61 echo "--- Legit cases: set with cycle ---\n";68 echo "--- Legit cases: reset to null ---\n";75 --- Legit cases: none ---77 --- Legit cases: all ---80 --- Legit cases: set ---85 --- Legit cases: set with cycle ---[all …]
11 echo "--- Edge cases ---\n";37 echo "--- Normal cases uppercase ---\n";41 echo "--- Normal cases lowercase ---\n";45 echo "--- Normal cases starting from empty element ---\n";58 --- Edge cases ---60 --- Normal cases uppercase ---69 --- Normal cases lowercase ---78 --- Normal cases starting from empty element ---
31 echo "--- False edge cases ---\n";41 echo "--- True cases ---\n";57 echo "--- False cases ---\n";79 --- False edge cases ---82 --- True cases ---97 --- False cases ---
11 echo "--- Edge cases ---\n";25 echo "--- Normal cases ---\n";62 --- Edge cases ---65 --- Normal cases ---
13 echo "--- Edge cases ---\n";54 echo "--- Normal cases uppercase ---\n";58 echo "--- Normal cases lowercase ---\n";84 --- Edge cases ---93 --- Normal cases uppercase ---106 --- Normal cases lowercase ---
2 registerPhpFunctions() with callables - legit cases13 echo "--- Legit cases: none ---\n";22 echo "--- Legit cases: all ---\n";28 echo "--- Legit cases: set ---\n";46 echo "--- Legit cases: set with cycle ---\n";54 --- Legit cases: none ---56 --- Legit cases: all ---62 --- Legit cases: set ---70 --- Legit cases: set with cycle ---
2 registerPHPFunctionNS() function - legit cases48 echo "--- Legit cases: none ---\n";65 echo "--- Legit cases: global string callable ---\n";71 echo "--- Legit cases: trampoline callable ---\n";85 echo "--- Legit cases: multiple namespaces ---\n";94 --- Legit cases: none ---95 --- Legit cases: global function callable ---97 --- Legit cases: global string callable ---99 --- Legit cases: trampoline callable ---108 --- Legit cases: instance class method callable ---[all …]
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());
23 echo "--- Error cases ---\n";39 echo "--- Normal cases ---\n";65 echo "--- With holes cases ---\n";84 --- Error cases ---92 --- Normal cases ---123 --- With holes cases ---
7 $cases = [23 foreach ($cases as [$usec, $label]) {29 foreach ($cases as [$usec, $label]) {
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"]=>
19 echo "-- Non-static cases --\n";27 echo "-- Static cases --\n";46 -- Non-static cases --91 -- Static cases --
3 function printResult (array $cases, RoundingMode $mode)5 foreach ($cases as [$num, $precision]) {
7 foreach (RoundingMode::cases() as $mode) {31 foreach (RoundingMode::cases() as $mode) {
29 echo "--- Error cases ---\n";39 echo "\n--- Normal cases ---\n";54 echo "\n--- NULL prefix cases ---\n";70 --- Error cases ---79 --- Normal cases ---110 --- NULL prefix cases ---
15 $cases = [ MyDynamicClass::class, stdClass::class, NonDynamicClass::class ];17 foreach ( $cases as $c ) {
Completed in 24 milliseconds