Deprecated: Return type of Inspekt\Cage::getIterator() should either be compatible with IteratorAggregate::getIterator(): Traversable, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/rosengar/Lib/inspekt/src/Inspekt/Cage.php on line 113

Deprecated: Return type of Inspekt\Cage::offsetExists($offset) should either be compatible with ArrayAccess::offsetExists(mixed $offset): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/rosengar/Lib/inspekt/src/Inspekt/Cage.php on line 141

Deprecated: Return type of Inspekt\Cage::offsetGet($offset) should either be compatible with ArrayAccess::offsetGet(mixed $offset): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/rosengar/Lib/inspekt/src/Inspekt/Cage.php on line 167

Deprecated: Return type of Inspekt\Cage::offsetSet($offset, $value) should either be compatible with ArrayAccess::offsetSet(mixed $offset, mixed $value): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/rosengar/Lib/inspekt/src/Inspekt/Cage.php on line 128

Deprecated: Return type of Inspekt\Cage::offsetUnset($offset) should either be compatible with ArrayAccess::offsetUnset(mixed $offset): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/rosengar/Lib/inspekt/src/Inspekt/Cage.php on line 154

Deprecated: Return type of Inspekt\Cage::count() should either be compatible with Countable::count(): int, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/rosengar/Lib/inspekt/src/Inspekt/Cage.php on line 179
All the cage params:

string(6) "locale"
string(5) "en_US"

Fatal error: Uncaught TypeError: array_key_exists(): Argument #2 ($array) must be of type array, ArrayObject given in /home/rosengar/Lib/inspekt/src/Inspekt/Cage.php:943 Stack trace: #0 /home/rosengar/Lib/inspekt/src/Inspekt/Cage.php(943): array_key_exists('locale', Object(ArrayObject)) #1 /home/rosengar/Lib/inspekt/src/Inspekt/Cage.php(989): Inspekt\Cage->keyExists('locale') #2 /home/rosengar/Lib/inspekt/src/Inspekt/Cage.php(342): Inspekt\Cage->getValue('locale') #3 /home/rosengar/Lib/inspekt/Examples/iterate_cage.php(28): Inspekt\Cage->getAlpha('locale') #4 {main} thrown in /home/rosengar/Lib/inspekt/src/Inspekt/Cage.php on line 943