use function apcu_clear_cache;
use function apcu_delete;
use function apcu_exists;
use function apcu_fetch;
use function apcu_sma_info;
use function apcu_store;
use function count;
class ApcuCache extends CacheProvider
{
protected function doFetch($id)
{
return apcu_fetch($id);
}
protected function doContains($id)
{
return apcu_exists($id);
}
protected function doSave($id, $data, $lifeTime = 0)
{
return apcu_store($id, $data, $lifeTime);
}
protected function doDelete($id)
{
return apcu_delete($id) || !apcu_exists($id);
}
protected function doDeleteMultiple(array $keys)
{
$result = apcu_delete($keys);
return $result !== false && count($result) !== count($keys);
}
protected function doFlush()
{
return apcu_clear_cache();
}
protected function doFetchMultiple(array $keys)
{
return apcu_fetch($keys) ?: [];
}
protected function doSaveMultiple(array $keysAndValues, $lifetime = 0)
{
"Allowed memory size of 134217728 bytes exhausted (tried to allocate 29939490 bytes)"
return true;
}
}
$exception = new ErrorException($message, $level, $level, $file, $line);
if ($this->canThrowExceptions) {
throw $exception;
} else {
$this->handleException($exception);
}
return true;
}
return false;
}
public function handleShutdown()
{
$this->canThrowExceptions = false;
$error = $this->system->getLastError();
if ($error && Misc::isLevelFatal($error['type'])) {
$this->allowQuit = false;
$this->handleError($error['type'], $error['message'], $error['file'], $error['line']);
}
}
public function setInspectorFactory(InspectorFactoryInterface $factory)
{
$this->inspectorFactory = $factory;
}
public function addFrameFilter($filterCallback)
{
if (!is_callable($filterCallback)) {
throw new \InvalidArgumentException(sprintf("A frame filter must be of type callable, %s type given.", gettype($filterCallback)));
}
$this->frameFilters[] = $filterCallback;
return $this;
}
private function getInspector($exception)
{
return $this->inspectorFactory->create($exception);
}
private function resolveHandler($handler)
{
<?php
namespace Grav\Common\Errors;
class SystemFacade extends \Whoops\Util\SystemFacade
{
protected $whoopsShutdownHandler;
public function registerShutdownFunction(callable $function)
{
$this->whoopsShutdownHandler = $function;
register_shutdown_function([$this, 'handleShutdown']);
}
public function handleShutdown()
{
$error = $this->getLastError();
if ($error && !($error['type'] & (E_CORE_WARNING | E_CORE_ERROR))) {
$handler = $this->whoopsShutdownHandler;
$handler();
}
}
public function setHttpResponseCode($httpCode)
{
if (!headers_sent()) {
header_remove('location');
header_remove('Content-Encoding');
}
return http_response_code($httpCode);
}
}
Key | Value |
HandLtestDomainNameServer | "HandLtestDomainValueServer"
|
user_agent | "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)"
|
handl_url_base | "https://planetdepos.com/audio-sync-ensuring-the-accuracy-of-the-record/"
|
handl_ip | "216.73.216.56"
|
handl_url | "https://planetdepos.com/audio-sync-ensuring-the-accuracy-of-the-record/"
|
handl_landing_page | "https://planetdepos.com/audio-sync-ensuring-the-accuracy-of-the-record/"
|
Key | Value |
USER | "www"
|
HOME | "/home/www"
|
HTTP_COOKIE | "HandLtestDomainNameServer=HandLtestDomainValueServer; user_agent=Mozilla%2F5.0%20AppleWebKit%2F537.36%20%28KHTML%2C%20like%20Gecko%3B%20compatible%3B%20ClaudeBot%2F1.0%3B%20%2Bclaudebot%40anthropic.com%29; handl_url_base=https%3A%2F%2Fplanetdepos.com%2Faudio-sync-ensuring-the-accuracy-of-the-record%2F; handl_ip=216.73.216.56; handl_url=https%3A%2F%2Fplanetdepos.com%2Faudio-sync-ensuring-the-accuracy-of-the-record%2F; handl_landing_page=https%3A%2F%2Fplanetdepos.com%2Faudio-sync-ensuring-the-accuracy-of-the-record%2F"
|
HTTP_ACCEPT_ENCODING | "gzip, br, zstd, deflate"
|
HTTP_USER_AGENT | "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)"
|
HTTP_ACCEPT | "*/*"
|
HTTP_HOST | "zhun-wendinggame.com"
|
PATH_INFO | "" |
REDIRECT_STATUS | "200"
|
SERVER_NAME | "154.218.168.33"
|
SERVER_PORT | "443"
|
SERVER_ADDR | "154.218.174.38"
|
REMOTE_PORT | "16465"
|
REMOTE_ADDR | "216.73.216.56"
|
SERVER_SOFTWARE | "nginx/1.22.1"
|
GATEWAY_INTERFACE | "CGI/1.1"
|
HTTPS | "on"
|
REQUEST_SCHEME | "https"
|
SERVER_PROTOCOL | "HTTP/2.0"
|
DOCUMENT_ROOT | "/www/wwwroot/154.218.168.33"
|
DOCUMENT_URI | "/index.php"
|
REQUEST_URI | "/tabletennispoint/20250509-151438-975903"
|
SCRIPT_NAME | "/index.php"
|
CONTENT_LENGTH | "" |
CONTENT_TYPE | "" |
REQUEST_METHOD | "GET"
|
QUERY_STRING | "" |
SCRIPT_FILENAME | "/www/wwwroot/154.218.168.33/index.php"
|
FCGI_ROLE | "RESPONDER"
|
PHP_SELF | "/index.php"
|
REQUEST_TIME_FLOAT | 1751532916.2321
|
REQUEST_TIME | 1751532916
|