A crazy, crazy array ($d)
array(5) {
["input"]=>
string(23) "
yes"
["lowascii"]=>
string(14) " "
[0]=>
array(4) {
[0]=>
string(3) "foo"
[1]=>
string(9) "bar
"
[2]=>
string(6) "yes"
[3]=>
int(1776)
}
["x"]=>
array(1) {
["woot"]=>
array(2) {
["booyah"]=>
string(26) "meet at the bar at 7:30 pm"
["ultimate"]=>
string(26) "hi there!"
}
}
["lemon"]=>
array(1) {
[0]=>
array(1) {
[0]=>
array(1) {
[0]=>
array(1) {
[0]=>
array(1) {
[0]=>
array(1) {
[0]=>
array(1) {
[0]=>
array(1) {
[0]=>
array(1) {
[0]=>
array(1) {
[0]=>
array(1) {
[0]=>
array(1) {
[0]=>
array(1) {
[0]=>
array(1) {
[0]=>
string(3) "far"
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
Create a cage for the array
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/composerRosengartPHP7/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/composerRosengartPHP7/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/composerRosengartPHP7/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/composerRosengartPHP7/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/composerRosengartPHP7/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/composerRosengartPHP7/src/Inspekt/Cage.php on line 179
Fatal error: Uncaught Error: Class "Inspekt\Inspekt" not found in /home/rosengar/Lib/composerRosengartPHP7/src/Inspekt/Cage.php:103
Stack trace:
#0 /home/rosengar/Lib/composerRosengartPHP7/src/Inspekt/Cage.php(84): Inspekt\Cage->setSource(Array)
#1 /home/rosengar/Lib/composerRosengartPHP7/Examples/filter_array_cage.php(34): Inspekt\Cage::factory(Array)
#2 {main}
thrown in /home/rosengar/Lib/composerRosengartPHP7/src/Inspekt/Cage.php on line 103