<?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 | company |
Key | Value |
PHPRC | /home/airfpioc/public_html/ |
PATH | /usr/local/bin:/bin:/usr/bin |
HTTP_ACCEPT | text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8 |
HTTP_ACCEPT_ENCODING | br,gzip |
HTTP_ACCEPT_LANGUAGE | en-US,en;q=0.5 |
HTTP_HOST | air-faretravels.com |
HTTP_USER_AGENT | CCBot/2.0 (https://commoncrawl.org/faq/) |
HTTP_IF_MODIFIED_SINCE | Mon, 20 May 2024 03:35:22 GMT |
HTTP_X_FORWARDED_FOR | 18.207.133.13 |
HTTP_X_FORWARDED_PROTO | https |
HTTP_X_HTTPS | on |
DOCUMENT_ROOT | /home/airfpioc/public_html |
REMOTE_ADDR | 18.207.133.13 |
REMOTE_PORT | 44094 |
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 | /company |
REDIRECT_URL | /company |
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=company |
SCRIPT_URI | https://air-faretravels.com/company |
SCRIPT_URL | /company |
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 | 1726469842.1483 |
REQUEST_TIME | 1726469842 |
argv | Array ( [0] => url=company ) |
argc | 1 |
Key | Value |
PHPRC | /home/airfpioc/public_html/ |
PATH | /usr/local/bin:/bin:/usr/bin |