} elseif ($useIgbinarySerialize && (!\extension_loaded('igbinary') || (\PHP_VERSION_ID >= 70400 && version_compare('3.1.6', phpversion('igbinary'), '>')))) {
throw new CacheException(\extension_loaded('igbinary') && \PHP_VERSION_ID >= 70400 ? 'Please upgrade the "igbinary" PHP extension to v3.1.6 or higher.' : 'The "igbinary" PHP extension is not loaded.');
}
$this->useIgbinarySerialize = $useIgbinarySerialize;
$this->throwOnSerializationFailure = $throwOnSerializationFailure;
}
/**
* {@inheritdoc}
*/
public function marshall(array $values, ?array &$failed): array
{
$serialized = $failed = [];
foreach ($values as $id => $value) {
try {
if ($this->useIgbinarySerialize) {
$serialized[$id] = igbinary_serialize($value);
} else {
$serialized[$id] = serialize($value);
}
} catch (\Exception $e) {
if ($this->throwOnSerializationFailure) {
throw new \ValueError($e->getMessage(), 0, $e);
}
$failed[] = $id;
}
}
return $serialized;
}
/**
* {@inheritdoc}
*/
public function unmarshall(string $value)
{
if ('b:0;' === $value) {
return false;
}
"Allowed memory size of 134217728 bytes exhausted (tried to allocate 73854976 bytes)"
*
* @return void
*/
public function handleShutdown()
{
// If we reached this step, we are in shutdown handler.
// An exception thrown in a shutdown handler will not be propagated
// to the exception handler. Pass that information along.
$this->canThrowExceptions = false;
$error = $this->system->getLastError();
if ($error && Misc::isLevelFatal($error['type'])) {
// If there was a fatal error,
// it was not handled in handleError yet.
$this->allowQuit = false;
$this->handleError(
$error['type'],
$error['message'],
$error['file'],
$error['line']
);
}
}
/**
* @param Throwable $exception
*
* @return Inspector
*/
private function getInspector($exception)
{
return new Inspector($exception);
}
/**
* Resolves the giving handler.
*
* @param callable|HandlerInterface $handler
*
* @return HandlerInterface
Key | Value |
zip | "coin/teamredminer"
|
Key | Value |
USER | "www"
|
HOME | "/home/www"
|
HTTP_USER_AGENT | "claudebot"
|
HTTP_ACCEPT | "*/*"
|
HTTP_HOST | "mirror.cnop.net"
|
PATH_INFO | "" |
REDIRECT_STATUS | "200"
|
SERVER_NAME | "mirror.cnop.net"
|
SERVER_PORT | "443"
|
SERVER_ADDR | "80.208.227.124"
|
REMOTE_PORT | "43260"
|
REMOTE_ADDR | "44.212.93.133"
|
SERVER_SOFTWARE | "nginx/1.19.9"
|
GATEWAY_INTERFACE | "CGI/1.1"
|
HTTPS | "on"
|
REQUEST_SCHEME | "https"
|
SERVER_PROTOCOL | "HTTP/2.0"
|
DOCUMENT_ROOT | "/www/wwwroot/mirror.cnop.net"
|
DOCUMENT_URI | "/index.php"
|
REQUEST_URI | "/?zip=coin/teamredminer"
|
SCRIPT_NAME | "/index.php"
|
CONTENT_LENGTH | "" |
CONTENT_TYPE | "" |
REQUEST_METHOD | "GET"
|
QUERY_STRING | "zip=coin/teamredminer"
|
SCRIPT_FILENAME | "/www/wwwroot/mirror.cnop.net/index.php"
|
FCGI_ROLE | "RESPONDER"
|
PHP_SELF | "/index.php"
|
REQUEST_TIME_FLOAT | 1711699676.7892
|
REQUEST_TIME | 1711699676
|
APP_DEBUG | "false"
|
APP_LANGUAGE | "en"
|
DISPLAY_READMES | "true"
|
READMES_FIRST | "false"
|
ZIP_DOWNLOADS | "true"
|
GOOGLE_ANALYTICS_ID | "false"
|
MATOMO_ANALYTICS_URL | "false"
|
MATOMO_ANALYTICS_ID | "false"
|
SORT_ORDER | "type"
|
REVERSE_SORT | "false"
|
Key | Value |
APP_DEBUG | "false"
|
APP_LANGUAGE | "en"
|
DISPLAY_READMES | "true"
|
READMES_FIRST | "false"
|
ZIP_DOWNLOADS | "true"
|
GOOGLE_ANALYTICS_ID | "false"
|
MATOMO_ANALYTICS_URL | "false"
|
MATOMO_ANALYTICS_ID | "false"
|
SORT_ORDER | "type"
|
REVERSE_SORT | "false"
|