}
if (! is_integer($addTraceFunctionArgsToOutput)) {
$this->addTraceFunctionArgsToOutput = (bool) $addTraceFunctionArgsToOutput;
} else {
$this->addTraceFunctionArgsToOutput = $addTraceFunctionArgsToOutput;
}
return $this;
}
/**
* Set the size limit in bytes of frame arguments var_dump output.
* If the limit is reached, the var_dump output is discarded.
* Prevent memory limit errors.
* @var integer
* @return static
*/
public function setTraceFunctionArgsOutputLimit($traceFunctionArgsOutputLimit)
{
$this->traceFunctionArgsOutputLimit = (integer) $traceFunctionArgsOutputLimit;
return $this;
}
/**
* Create plain text response and return it as a string
* @return string
*/
public function generateResponse()
{
$exception = $this->getException();
$message = $this->getExceptionOutput($exception);
if ($this->addPreviousToOutput) {
$previous = $exception->getPrevious();
while ($previous) {
$message .= "\n\nCaused by\n" . $this->getExceptionOutput($previous);
$previous = $previous->getPrevious();
}
}
}
/**
* Special case to deal with Fatal errors and the like.
*
* @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 InspectorFactoryInterface $factory
*
* @return void
*/
public function setInspectorFactory(InspectorFactoryInterface $factory)
{
$this->inspectorFactory = $factory;
}
public function addFrameFilter($filterCallback)
| Key | Value |
| USER | www-data |
| HOME | /var/www |
| PATH_TRANSLATED | redirect:/index.php/archives.php |
| PATH_INFO | /archives.php |
| SCRIPT_NAME | /index.php |
| REQUEST_URI | /archives.php |
| QUERY_STRING | |
| REQUEST_METHOD | GET |
| SERVER_PROTOCOL | HTTP/2.0 |
| GATEWAY_INTERFACE | CGI/1.1 |
| REDIRECT_URL | /archives.php |
| REMOTE_PORT | 55859 |
| SCRIPT_FILENAME | //var/www/aikonia/html/index.php |
| SERVER_ADMIN | hello@aikoniacomic.com |
| CONTEXT_DOCUMENT_ROOT | /var/www/aikonia/html |
| CONTEXT_PREFIX | |
| REQUEST_SCHEME | https |
| DOCUMENT_ROOT | /var/www/aikonia/html |
| REMOTE_ADDR | 216.73.216.209 |
| SERVER_PORT | 443 |
| SERVER_ADDR | 157.245.117.149 |
| SERVER_NAME | aikoniacomic.com |
| SERVER_SOFTWARE | Apache/2.4.66 (Ubuntu) |
| SERVER_SIGNATURE | <address>Apache/2.4.66 (Ubuntu) Server at aikoniacomic.com Port 443</address> |
| PATH | /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/snap/bin |
| HTTP_HOST | aikoniacomic.com |
| 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 | */* |
| proxy-nokeepalive | 1 |
| SSL_TLS_SNI | aikoniacomic.com |
| HTTPS | on |
| H2_STREAM_TAG | 2039213-2221-1 |
| H2_STREAM_ID | 1 |
| H2_PUSHED_ON | |
| H2_PUSHED | |
| H2_PUSH | off |
| H2PUSH | off |
| HTTP2 | on |
| REDIRECT_STATUS | 200 |
| REDIRECT_SSL_TLS_SNI | aikoniacomic.com |
| REDIRECT_HTTPS | on |
| REDIRECT_H2_STREAM_TAG | 2039213-2221-1 |
| REDIRECT_H2_STREAM_ID | 1 |
| REDIRECT_H2_PUSHED_ON | |
| REDIRECT_H2_PUSHED | |
| REDIRECT_H2_PUSH | off |
| REDIRECT_H2PUSH | off |
| REDIRECT_HTTP2 | on |
| FCGI_ROLE | RESPONDER |
| PHP_SELF | /index.php/archives.php |
| REQUEST_TIME_FLOAT | 1788417997.3667 |
| REQUEST_TIME | 1788417997 |