Compare commits
2 Commits
62d9cda3d0
...
b89238b922
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
b89238b922 | ||
|
|
9115fc9557 |
@@ -333,7 +333,7 @@ print "(kosrt, lower case, reverse): "
|
||||
print "<hr>";
|
||||
$nested = [
|
||||
'B' => 'foo', 'a', '0', 9,
|
||||
1 => ['z', 'b', 'a'],
|
||||
'1' => ['z', 'b', 'a'],
|
||||
'd' => ['zaip', 'bar', 'baz']
|
||||
];
|
||||
print "Nested: " . DgS::printAr($nested) . "<br>";
|
||||
|
||||
@@ -251,10 +251,10 @@ class ArrayHandler
|
||||
* @param array<mixed> $array
|
||||
* @param string|int|float|bool $search_value
|
||||
* @param string|array<string> $required_key
|
||||
* @param ?string $serach_key [null]
|
||||
* @param ?string $search_key [null]
|
||||
* @param string $path_separator [DATA_SEPARATOR]
|
||||
* @param string $current_path
|
||||
* @return array<array{content?:array<mixed>,path?:string,missing_key?:string}>
|
||||
* @return array<array{content?:array<mixed>,path?:string,missing_key?:array<string>}>
|
||||
*/
|
||||
public static function findArraysMissingKey(
|
||||
array $array,
|
||||
|
||||
Reference in New Issue
Block a user