<?php
namespace Illuminate\Support;
use ArrayAccess;
use ArrayIterator;
use Illuminate\Support\Traits\EnumeratesValues;
use Illuminate\Support\Traits\Macroable;
use stdClass;
class Collection implements ArrayAccess, Enumerable
{
use EnumeratesValues, Macroable;
/**
* The items contained in the collection.
*
* @var array
*/
protected $items = [];
/**
* Create a new collection.
*
* @param mixed $items
* @return void
*/
public function __construct($items = [])
{
$this->items = $this->getArrayableItems($items);
}
/**
* Create a new collection by invoking the callback a given amount of times.
*
* @param int $number
* @param callable|null $callback
* @return static
*/
public static function times($number, callable $callback = null)
""" During inheritance of ArrayAccess: Uncaught ErrorException: Return type of Illuminate\Support\Collection::offsetExists($key) should either be compatible with ArrayAccess::offsetExists(mixed $offset): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/dev74onlinetesti/public_html/ageing_health/vendor/laravel/framework/src/Illuminate/Support/Collection.php:1349\n Stack trace:\n #0 /home/dev74onlinetesti/public_html/ageing_health/vendor/laravel/framework/src/Illuminate/Support/Collection.php(11): Illuminate\Foundation\Bootstrap\HandleExceptions->handleError(8192, 'Return type of ...', '/home/dev74onli...', 1349)\n #1 /home/dev74onlinetesti/public_html/ageing_health/vendor/composer/ClassLoader.php(444): include('/home/dev74onli...')\n #2 /home/dev74onlinetesti/public_html/ageing_health/vendor/composer/ClassLoader.php(322): Composer\Autoload\includeFile('/home/dev74onli...')\n #3 /home/dev74onlinetesti/public_html/ageing_health/vendor/laravel/framework/src/Illuminate/Support/helpers.php(110): Composer\Autoload\ClassLoader->loadClass('Illuminate\\Supp...')\n #4 /home/dev74onlinetesti/public_html/ageing_health/vendor/laravel/framework/src/Illuminate/Foundation/PackageManifest.php(89): collect(Array)\n #5 /home/dev74onlinetesti/public_html/ageing_health/vendor/laravel/framework/src/Illuminate/Foundation/PackageManifest.php(78): Illuminate\Foundation\PackageManifest->config('aliases')\n #6 /home/dev74onlinetesti/public_html/ageing_health/vendor/laravel/framework/src/Illuminate/Foundation/Bootstrap/RegisterFacades.php(26): Illuminate\Foundation\PackageManifest->aliases()\n #7 /home/dev74onlinetesti/public_html/ageing_health/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(230): Illuminate\Foundation\Bootstrap\RegisterFacades->bootstrap(Object(Illuminate\Foundation\Application))\n #8 /home/dev74onlinetesti/public_html/ageing_health/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(151): Illuminate\Foundation\Application->bootstrapWith(Array)\n #9 /home/dev74onlinetesti/public_html/ageing_health/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(135): Illuminate\Foundation\Http\Kernel->bootstrap()\n #10 /home/dev74onlinetesti/public_html/ageing_health/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(109): Illuminate\Foundation\Http\Kernel->sendRequestThroughRouter(Object(Illuminate\Http\Request))\n #11 /home/dev74onlinetesti/public_html/ageing_health/public/index.php(55): Illuminate\Foundation\Http\Kernel->handle(Object(Illuminate\Http\Request))\n #12 /home/dev74onlinetesti/public_html/ageing_health/server.php(21): require_once('/home/dev74onli...')\n #13 {main} """
Key | Value |
USER | "dev74onlinetesti"
|
HOME | "/home/dev74onlinetesti"
|
SCRIPT_NAME | "/ageing_health/server.php"
|
REQUEST_URI | "/ageing_health/"
|
QUERY_STRING | "" |
REQUEST_METHOD | "GET"
|
SERVER_PROTOCOL | "HTTP/1.1"
|
GATEWAY_INTERFACE | "CGI/1.1"
|
REDIRECT_URL | "/ageing_health/"
|
REMOTE_PORT | "38480"
|
SCRIPT_FILENAME | "/home/dev74onlinetesti/public_html/ageing_health/server.php"
|
SERVER_ADMIN | "webmaster@dev74.onlinetestingserver.com"
|
CONTEXT_DOCUMENT_ROOT | "/home/dev74onlinetesti/public_html"
|
CONTEXT_PREFIX | "" |
REQUEST_SCHEME | "http"
|
DOCUMENT_ROOT | "/home/dev74onlinetesti/public_html"
|
REMOTE_ADDR | "44.223.37.137"
|
REMOTE_HOST | "ec2-44-223-37-137.compute-1.amazonaws.com"
|
SERVER_PORT | "80"
|
SERVER_ADDR | "15.235.43.185"
|
SERVER_NAME | "dev74.onlinetestingserver.com"
|
SERVER_SOFTWARE | "Apache"
|
SERVER_SIGNATURE | "" |
PATH | "/usr/local/jdk/bin:/usr/kerberos/sbin:/usr/kerberos/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/X11R6/bin:/usr/local/bin:/usr/X11R6/bin:/root/bin:/opt/bin"
|
HTTP_HOST | "dev74.onlinetestingserver.com"
|
HTTP_REFERER | "http://dev74.onlinetestingserver.com/ageing_health"
|
HTTP_USER_AGENT | "claudebot"
|
HTTP_ACCEPT | "*/*"
|
proxy-nokeepalive | "1"
|
SCRIPT_URI | "http://dev74.onlinetestingserver.com/ageing_health/"
|
SCRIPT_URL | "/ageing_health/"
|
UNIQUE_ID | "ZgZuxm9l6MWiQtKrVMiSUAAAAA0"
|
REDIRECT_STATUS | "200"
|
REDIRECT_SCRIPT_URI | "http://dev74.onlinetestingserver.com/ageing_health/"
|
REDIRECT_SCRIPT_URL | "/ageing_health/"
|
REDIRECT_UNIQUE_ID | "ZgZuxm9l6MWiQtKrVMiSUAAAAA0"
|
FCGI_ROLE | "RESPONDER"
|
PHP_SELF | "/ageing_health/server.php"
|
REQUEST_TIME_FLOAT | 1711697606.5284
|
REQUEST_TIME | 1711697606
|
argv | [] |
argc | 0
|