// If the class has a test now set and we are trying to create a now() // instance then override as required $isNow = empty($time) || $time === 'now'; if (method_exists(static::class, 'hasTestNow') && method_exists(static::class, 'getTestNow') && static::hasTestNow() && ($isNow || static::hasRelativeKeywords($time)) ) { static::mockConstructorParameters($time, $tz); } // Work-around for PHP bug https://bugs.php.net/bug.php?id=67127 if (strpos((string) .1, '.') === false) { $locale = setlocale(LC_NUMERIC, '0'); setlocale(LC_NUMERIC, 'C'); } try { parent::__construct($time ?: 'now', static::safeCreateDateTimeZone($tz) ?: null); } catch (Exception $exception) { throw new InvalidFormatException($exception->getMessage(), 0, $exception); } $this->constructedObjectId = spl_object_hash($this); if (isset($locale)) { setlocale(LC_NUMERIC, $locale); } static::setLastErrors(parent::getLastErrors()); } /** * Get timezone from a datetime instance. * * @param DateTimeInterface $date * @param DateTimeZone|string|null $tz * * @return DateTimeInterface
"Allowed memory size of 134217728 bytes exhausted (tried to allocate 4096 bytes)"
Key | Value |
user_id | "11070"
|
Key | Value |
USER | "www-data"
|
HOME | "/var/www"
|
HTTP_CF_IPCOUNTRY | "US"
|
HTTP_CDN_LOOP | "cloudflare"
|
HTTP_CF_CONNECTING_IP | "100.26.1.130"
|
HTTP_USER_AGENT | "claudebot"
|
HTTP_ACCEPT | "*/*"
|
HTTP_CF_VISITOR | "{"scheme":"https"}"
|
HTTP_X_FORWARDED_PROTO | "https"
|
HTTP_CF_RAY | "86bf853d9d7281e8-IAD"
|
HTTP_X_FORWARDED_FOR | "100.26.1.130"
|
HTTP_ACCEPT_ENCODING | "gzip, br"
|
HTTP_CONNECTION | "Keep-Alive"
|
HTTP_HOST | "manqanebi.ge"
|
REDIRECT_STATUS | "200"
|
SERVER_NAME | "manqanebi.ge"
|
SERVER_PORT | "80"
|
SERVER_ADDR | "165.22.16.173"
|
REMOTE_PORT | "15748"
|
REMOTE_ADDR | "172.70.175.115"
|
SERVER_SOFTWARE | "nginx/1.14.0"
|
GATEWAY_INTERFACE | "CGI/1.1"
|
REQUEST_SCHEME | "http"
|
SERVER_PROTOCOL | "HTTP/1.1"
|
DOCUMENT_ROOT | "/var/www/html/manqanebi.ge/public"
|
DOCUMENT_URI | "/index.php"
|
REQUEST_URI | "/ru/auto?user_id=11070"
|
SCRIPT_NAME | "/index.php"
|
CONTENT_LENGTH | "" |
CONTENT_TYPE | "" |
REQUEST_METHOD | "GET"
|
QUERY_STRING | "user_id=11070"
|
SCRIPT_FILENAME | "/var/www/html/manqanebi.ge/public/index.php"
|
FCGI_ROLE | "RESPONDER"
|
PHP_SELF | "/index.php"
|
REQUEST_TIME_FLOAT | 1711711748.8746
|
REQUEST_TIME | 1711711748
|