* status code on the first bad byte found
* @author <hsivonen@iki.fi>
* @param string UTF-8 encoded string
* @return mixed integer constant describing problem or FALSE if valid UTF-8
* @see utf8_bad_explain
* @see http://hsivonen.iki.fi/php-utf8/
* @package utf8
*/
function utf8_bad_identify($str, &$i) {
$mState = 0; // cached expected number of octets after the current octet
// until the beginning of the next UTF8 character sequence
$mUcs4 = 0; // cached Unicode character
$mBytes = 1; // cached expected number of octets in the current sequence
$len = strlen($str);
for($i = 0; $i < $len; $i++) {
$in = ord($str{$i});
if ( $mState == 0) {
// When mState is zero we expect either a US-ASCII character or a
// multi-octet sequence.
if (0 == (0x80 & ($in))) {
// US-ASCII, pass straight through.
$mBytes = 1;
} else if (0xC0 == (0xE0 & ($in))) {
// First octet of 2 octet sequence
$mUcs4 = ($in);
$mUcs4 = ($mUcs4 & 0x1F) << 6;
$mState = 1;
$mBytes = 2;
} else if (0xE0 == (0xF0 & ($in))) {
// First octet of 3 octet sequence
$mUcs4 = ($in);
$mUcs4 = ($mUcs4 & 0x0F) << 12;
/**
* Special case to deal with Fatal errors and the like.
*/
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']
);
}
}
/**
* In certain scenarios, like in shutdown handler, we can not throw exceptions
* @var bool
*/
private $canThrowExceptions = true;
/**
* Echo something to the browser
* @param string $output
* @return $this
*/
private function writeToOutputNow($output)
{
if ($this->sendHttpCode() && \Whoops\Util\Misc::canSendHeaders()) {
$this->system->setHttpResponseCode(
$this->sendHttpCode()
}
// Propagate error to the next handler.
if ($this->platformExceptionHandler) {
call_user_func_array($this->platformExceptionHandler, [&$exception]);
}
}
/**
* Special case to deal with Fatal errors and the like.
*/
public function handleShutdown()
{
$handler = $this->whoopsShutdownHandler;
$error = $this->getLastError();
// Ignore core warnings and errors.
if ($error && !($error['type'] & (E_CORE_WARNING | E_CORE_ERROR))) {
$handler();
}
}
}
| Key | Value |
| c79050f72ccf0937664ca190a2a42030 | 7c2e68c39eeb6ca01fa581f3b6fabf52 |
| Key | Value |
| joomla | TzoyNDoiSm9vbWxhXFJlZ2lzdHJ5XFJlZ2lzdHJ5IjozOntzOjc6IgAqAGRhdGEiO086ODoic3RkQ2xhc3MiOjE6e3M6OToiX19kZWZhdWx0IjtPOjg6InN0ZENsYXNzIjozOntzOjc6InNlc3Npb24iO086ODoic3RkQ2xhc3MiOjM6e3M6NzoiY291bnRlciI7aToyO3M6NToidGltZXIiO086ODoic3RkQ2xhc3MiOjM6e3M6NToic3RhcnQiO2k6MTc3NzIyODE4MTtzOjQ6Imxhc3QiO2k6MTc3NzIyODE4MTtzOjM6Im5vdyI7aToxNzc3MjI4MTgxO31zOjY6ImNsaWVudCI7Tzo4OiJzdGRDbGFzcyI6MTp7czo5OiJmb3J3YXJkZWQiO3M6MTI6IjEwLjguMjUyLjE2MiI7fX1zOjg6InJlZ2lzdHJ5IjtPOjI0OiJKb29tbGFcUmVnaXN0cnlcUmVnaXN0cnkiOjM6e3M6NzoiACoAZGF0YSI7Tzo4OiJzdGRDbGFzcyI6MDp7fXM6MTQ6IgAqAGluaXRpYWxpemVkIjtiOjA7czo5OiJzZXBhcmF0b3IiO3M6MToiLiI7fXM6NDoidXNlciI7TzoyMDoiSm9vbWxhXENNU1xVc2VyXFVzZXIiOjE6e3M6MjoiaWQiO2k6MDt9fX1zOjE0OiIAKgBpbml0aWFsaXplZCI7YjowO3M6OToic2VwYXJhdG9yIjtzOjE6Ii4iO30= |
| Key | Value |
| TMPDIR | /home/klient.dhosting.pl/ekoklima/.tmp |
| PHPRC | /home/klient.dhosting.pl/ekoklima/.settings/ |
| LANG | pl_PL.UTF8 |
| MAGICK_THREAD_LIMIT | 1 |
| PATH | /usr/local/bin:/bin:/usr/bin |
| HTTP_ACCEPT | */* |
| HTTP_ACCEPT_ENCODING | gzip, br, zstd, deflate |
| HTTP_COOKIE | c79050f72ccf0937664ca190a2a42030=7c2e68c39eeb6ca01fa581f3b6fabf52 |
| HTTP_HOST | www.ekoklimamain.dfirma.pl |
| HTTP_REFERER | http://www.ekoklimamain.dfirma.pl/ |
| HTTP_USER_AGENT | Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com) |
| DOCUMENT_ROOT | /home/klient.dhosting.pl/ekoklima/ekoklimamain.dfirma.pl/public_html |
| REMOTE_ADDR | 216.73.217.119 |
| REMOTE_PORT | 11712 |
| SERVER_ADDR | 109.95.159.36 |
| SERVER_NAME | www.ekoklimamain.dfirma.pl |
| SERVER_ADMIN | admin@demonek.com |
| SERVER_PORT | 443 |
| REQUEST_SCHEME | https |
| REQUEST_URI | / |
| GEOIP_ADDR | 216.73.217.119 |
| GEOIP_COUNTRY_CODE | US |
| GEOIP_CONTINENT_CODE | NA |
| HTTPS | on |
| HTTP_AUTHORIZATION | |
| X_SPDY | HTTP2 |
| SSL_PROTOCOL | TLSv1.3 |
| SSL_CIPHER | TLS_AES_256_GCM_SHA384 |
| SSL_CIPHER_USEKEYSIZE | 256 |
| SSL_CIPHER_ALGKEYSIZE | 256 |
| SCRIPT_FILENAME | /home/klient.dhosting.pl/ekoklima/ekoklimamain.dfirma.pl/public_html/index.php |
| QUERY_STRING | |
| SCRIPT_URI | https://www.ekoklimamain.dfirma.pl/ |
| SCRIPT_URL | / |
| SCRIPT_NAME | /index.php |
| SERVER_PROTOCOL | HTTP/1.1 |
| SERVER_SOFTWARE | LiteSpeed |
| REQUEST_METHOD | GET |
| X-LSCACHE | on,esi,combine |
| PHP_SELF | /index.php |
| REQUEST_TIME_FLOAT | 1777228181.9024 |
| REQUEST_TIME | 1777228181 |
| argv | Array ( ) |
| argc | 0 |
| Key | Value |
| TMPDIR | /home/klient.dhosting.pl/ekoklima/.tmp |
| PHPRC | /home/klient.dhosting.pl/ekoklima/.settings/ |
| LANG | pl_PL.UTF8 |
| MAGICK_THREAD_LIMIT | 1 |
| PATH | /usr/local/bin:/bin:/usr/bin |