<?php
namespace Curl;
class CaseInsensitiveArray implements \ArrayAccess, \Countable, \Iterator
{
/**
* @var mixed[] Data storage with lowercase keys.
* @see offsetSet()
* @see offsetExists()
* @see offsetUnset()
* @see offsetGet()
* @see count()
* @see current()
* @see next()
* @see key()
*/
private $data = array();
/**
* @var string[] Case-sensitive keys.
* @see offsetSet()
* @see offsetUnset()
* @see key()
*/
private $keys = array();
/**
* Construct
*
* Allow creating an empty array or converting an existing array to a
* case-insensitive array. Caution: Data may be lost when converting
* case-sensitive arrays to case-insensitive arrays.
*
* @param mixed[] $initial (optional) Existing array to convert.
*
* @return CaseInsensitiveArray
*
* @access public
*
* @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 |
url | hotels |
Key | Value |
platformType | Ely2 |
Key | Value |
PHPRC | /home/airfpioc/public_html/ |
PATH | /usr/local/bin:/bin:/usr/bin |
HTTP_ACCEPT | */* |
HTTP_ACCEPT_ENCODING | gzip, br, zstd, deflate |
HTTP_COOKIE | platformType=Ely2 |
HTTP_HOST | air-faretravels.com |
HTTP_USER_AGENT | Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com) |
HTTP_X_FORWARDED_FOR | 18.226.180.57 |
HTTP_X_FORWARDED_PROTO | https |
HTTP_X_HTTPS | on |
DOCUMENT_ROOT | /home/airfpioc/public_html |
REMOTE_ADDR | 18.226.180.57 |
REMOTE_PORT | 50060 |
SERVER_ADDR | 198.54.116.40 |
SERVER_NAME | air-faretravels.com |
SERVER_ADMIN | webmaster@air-faretravels.com |
SERVER_PORT | 443 |
REQUEST_SCHEME | https |
REQUEST_URI | /hotels |
REDIRECT_URL | /hotels |
REDIRECT_REQUEST_METHOD | GET |
PROXY_REMOTE_ADDR | 198.54.116.40 |
HTTPS | on |
REDIRECT_STATUS | 200 |
SCRIPT_FILENAME | /home/airfpioc/public_html/index.php |
QUERY_STRING | url=hotels |
SCRIPT_URI | https://air-faretravels.com/hotels |
SCRIPT_URL | /hotels |
SCRIPT_NAME | /index.php |
SERVER_PROTOCOL | HTTP/1.1 |
SERVER_SOFTWARE | LiteSpeed |
REQUEST_METHOD | GET |
X-LSCACHE | on |
PHP_SELF | /index.php |
REQUEST_TIME_FLOAT | 1725755700.8743 |
REQUEST_TIME | 1725755700 |
argv | Array ( [0] => url=hotels ) |
argc | 1 |
Key | Value |
PHPRC | /home/airfpioc/public_html/ |
PATH | /usr/local/bin:/bin:/usr/bin |