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
Deprecated: ArrayObject::__construct(): Using an object as a backing array for ArrayObject is deprecated, as it allows violating class constraints and invariants in /home/rosengar/Lib/inspekt/src/Inspekt/Inspekt.php on line 343
object(Inspekt\Cage)#3 (4) {
["source":protected]=>
object(ArrayObject)#5 (1) {
["storage":"ArrayObject":private]=>
array(57) {
["USER"]=>
string(8) "rosengar"
["SCRIPT_NAME"]=>
string(45) "/Lib/inspekt/Examples/filter_superglobals.php"
["REQUEST_URI"]=>
string(45) "/Lib/inspekt/Examples/filter_superglobals.php"
["QUERY_STRING"]=>
string(0) ""
["REQUEST_METHOD"]=>
string(3) "GET"
["SERVER_PROTOCOL"]=>
string(8) "HTTP/1.1"
["GATEWAY_INTERFACE"]=>
string(7) "CGI/1.1"
["REMOTE_PORT"]=>
string(5) "44818"
["SCRIPT_FILENAME"]=>
string(59) "/home/rosengar/Lib/inspekt/Examples/filter_superglobals.php"
["SERVER_ADMIN"]=>
string(32) "postmaster@www.www2.rosengart.mc"
["REMOTE_ADDR"]=>
string(14) "216.73.216.229"
["SERVER_PORT"]=>
string(3) "443"
["SERVER_ADDR"]=>
string(11) "10.106.40.3"
["SERVER_NAME"]=>
string(21) "www.www2.rosengart.mc"
["SERVER_SOFTWARE"]=>
string(6) "Apache"
["SERVER_SIGNATURE"]=>
string(0) ""
["HTTP_REMOTE_IP"]=>
string(14) "216.73.216.229"
["HTTP_X_VARNISH"]=>
string(9) "724570622"
["HTTP_ACCEPT_ENCODING"]=>
string(8) "br, gzip"
["HTTP_X_AE"]=>
string(2) "br"
["HTTP_X_SCHEME"]=>
string(5) "https"
["HTTP_X_CDN_REQUEST_ID"]=>
string(9) "724271931"
["HTTP_X_CDN_ANY_IP"]=>
string(12) "46.105.204.6"
["HTTP_X_REMOTE_PORT"]=>
string(4) "3231"
["HTTP_REMOTE_PORT"]=>
string(4) "3231"
["HTTP_X_REMOTE_IP"]=>
string(14) "216.73.216.229"
["HTTP_USER_AGENT"]=>
string(103) "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)"
["HTTP_ACCEPT"]=>
string(3) "*/*"
["HTTP_SCHEME"]=>
string(5) "https"
["HTTP_X_OVHREQUEST_ID"]=>
string(32) "410a9e99095eb8abcda117d395ec95cf"
["HTTP_X_FORWARDED_PROTO"]=>
string(5) "https"
["HTTP_X_FORWARDED_FOR"]=>
string(14) "216.73.216.229"
["HTTP_X_PREDICTOR"]=>
string(1) "1"
["HTTP_HOST"]=>
string(21) "www.www2.rosengart.mc"
["CFG_CLUSTER"]=>
string(10) "cluster106"
["HTTPS"]=>
string(2) "on"
["SCRIPT_URI"]=>
string(78) "https://www.www2.rosengart.mc:443/Lib/inspekt/Examples/filter_superglobals.php"
["SCRIPT_URL"]=>
string(45) "/Lib/inspekt/Examples/filter_superglobals.php"
["GEOIP_LONGITUDE"]=>
string(11) "-119.070099"
["GEOIP_LATITUDE"]=>
string(9) "34.355598"
["GEOIP_AREA_CODE"]=>
string(3) "805"
["GEOIP_DMA_CODE"]=>
string(3) "803"
["GEOIP_CITY"]=>
string(11) "Santa Paula"
["GEOIP_REGION"]=>
string(2) "CA"
["GEOIP_COUNTRY_NAME"]=>
string(13) "United States"
["GEOIP_COUNTRY_CODE"]=>
string(2) "US"
["UNIQUE_ID"]=>
string(27) "ausVoMqk@nAyV6rPpGQ3JwAAAkQ"
["DOCUMENT_ROOT"]=>
string(16) "/home/rosengar/."
["ENVIRONMENT"]=>
string(10) "production"
["APP_ENGINE_VERSION"]=>
string(3) "8.5"
["APP_ENGINE"]=>
string(3) "php"
["FCGI_ROLE"]=>
string(9) "RESPONDER"
["PHP_SELF"]=>
string(45) "/Lib/inspekt/Examples/filter_superglobals.php"
["REQUEST_TIME_FLOAT"]=>
float(1793791392.882522)
["REQUEST_TIME"]=>
int(1793791392)
["argv"]=>
object(ArrayObject)#2 (1) {
["storage":"ArrayObject":private]=>
array(0) {
}
}
["argc"]=>
int(0)
}
}
["user_accessors"]=>
array(0) {
}
["autofilter_conf"]=>
NULL
["purifier"]=>
NULL
}
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('SERVER_SOFTWARE', Object(ArrayObject))
#1 /home/rosengar/Lib/inspekt/src/Inspekt/Cage.php(989): Inspekt\Cage->keyExists('SERVER_SOFTWARE')
#2 /home/rosengar/Lib/inspekt/src/Inspekt/Cage.php(368): Inspekt\Cage->getValue('SERVER_SOFTWARE')
#3 /home/rosengar/Lib/inspekt/Examples/filter_superglobals.php(20): Inspekt\Cage->getDigits('SERVER_SOFTWARE')
#4 {main}
thrown in /home/rosengar/Lib/inspekt/src/Inspekt/Cage.php on line 943