Deprecated: Return type of Symfony\Component\HttpFoundation\HeaderBag::getIterator() should either be compatible with IteratorAggregate::getIterator(): Traversable, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in E:\Program_Files\wamp64\www\print\vendor\symfony\http-foundation\HeaderBag.php on line 288 Call Stack: 0.0025 367120 1. {main}() E:\Program_Files\wamp64\www\print\vendor\symfony\http-foundation\Tests\Fixtures\response-functional\cookie_max_age.php:0 0.0032 373320 2. require('E:\Program_Files\wamp64\www\print\vendor\symfony\http-foundation\Tests\Fixtures\response-functional\common.inc') E:\Program_Files\wamp64\www\print\vendor\symfony\http-foundation\Tests\Fixtures\response-functional\cookie_max_age.php:5 0.0069 399976 3. Symfony\Component\HttpFoundation\Response->__construct($content = ???, $status = ???, $headers = ???) E:\Program_Files\wamp64\www\print\vendor\symfony\http-foundation\Tests\Fixtures\response-functional\common.inc:40 0.0069 399976 4. Composer\Autoload\ClassLoader->loadClass($class = 'Symfony\\Component\\HttpFoundation\\ResponseHeaderBag') E:\Program_Files\wamp64\www\print\vendor\symfony\http-foundation\Response.php:201 0.0069 399976 5. Composer\Autoload\includeFile($file = 'E:\\Program_Files\\wamp64\\www\\print\\vendor\\composer/../symfony/http-foundation/ResponseHeaderBag.php') E:\Program_Files\wamp64\www\print\vendor\composer\ClassLoader.php:322 0.0079 427624 6. include('E:\Program_Files\wamp64\www\print\vendor\symfony\http-foundation\ResponseHeaderBag.php') E:\Program_Files\wamp64\www\print\vendor\composer\ClassLoader.php:444 0.0079 427624 7. Composer\Autoload\ClassLoader->loadClass($class = 'Symfony\\Component\\HttpFoundation\\HeaderBag') E:\Program_Files\wamp64\www\print\vendor\symfony\http-foundation\ResponseHeaderBag.php:19 0.0079 427624 8. Composer\Autoload\includeFile($file = 'E:\\Program_Files\\wamp64\\www\\print\\vendor\\composer/../symfony/http-foundation/HeaderBag.php') E:\Program_Files\wamp64\www\print\vendor\composer\ClassLoader.php:322 0.0081 427888 9. include('E:\Program_Files\wamp64\www\print\vendor\symfony\http-foundation\HeaderBag.php') E:\Program_Files\wamp64\www\print\vendor\composer\ClassLoader.php:444 Deprecated: Return type of Symfony\Component\HttpFoundation\HeaderBag::count() should either be compatible with Countable::count(): int, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in E:\Program_Files\wamp64\www\print\vendor\symfony\http-foundation\HeaderBag.php on line 298 Call Stack: 0.0025 367120 1. {main}() E:\Program_Files\wamp64\www\print\vendor\symfony\http-foundation\Tests\Fixtures\response-functional\cookie_max_age.php:0 0.0032 373320 2. require('E:\Program_Files\wamp64\www\print\vendor\symfony\http-foundation\Tests\Fixtures\response-functional\common.inc') E:\Program_Files\wamp64\www\print\vendor\symfony\http-foundation\Tests\Fixtures\response-functional\cookie_max_age.php:5 0.0069 399976 3. Symfony\Component\HttpFoundation\Response->__construct($content = ???, $status = ???, $headers = ???) E:\Program_Files\wamp64\www\print\vendor\symfony\http-foundation\Tests\Fixtures\response-functional\common.inc:40 0.0069 399976 4. Composer\Autoload\ClassLoader->loadClass($class = 'Symfony\\Component\\HttpFoundation\\ResponseHeaderBag') E:\Program_Files\wamp64\www\print\vendor\symfony\http-foundation\Response.php:201 0.0069 399976 5. Composer\Autoload\includeFile($file = 'E:\\Program_Files\\wamp64\\www\\print\\vendor\\composer/../symfony/http-foundation/ResponseHeaderBag.php') E:\Program_Files\wamp64\www\print\vendor\composer\ClassLoader.php:322 0.0079 427624 6. include('E:\Program_Files\wamp64\www\print\vendor\symfony\http-foundation\ResponseHeaderBag.php') E:\Program_Files\wamp64\www\print\vendor\composer\ClassLoader.php:444 0.0079 427624 7. Composer\Autoload\ClassLoader->loadClass($class = 'Symfony\\Component\\HttpFoundation\\HeaderBag') E:\Program_Files\wamp64\www\print\vendor\symfony\http-foundation\ResponseHeaderBag.php:19 0.0079 427624 8. Composer\Autoload\includeFile($file = 'E:\\Program_Files\\wamp64\\www\\print\\vendor\\composer/../symfony/http-foundation/HeaderBag.php') E:\Program_Files\wamp64\www\print\vendor\composer\ClassLoader.php:322 0.0081 427888 9. include('E:\Program_Files\wamp64\www\print\vendor\symfony\http-foundation\HeaderBag.php') E:\Program_Files\wamp64\www\print\vendor\composer\ClassLoader.php:444 Fatal error: Uncaught ValueError: setcookie(): "expires" option cannot have a year greater than 9999 in E:\Program_Files\wamp64\www\print\vendor\symfony\http-foundation\Tests\Fixtures\response-functional\cookie_max_age.php on line 10 ValueError: setcookie(): "expires" option cannot have a year greater than 9999 in E:\Program_Files\wamp64\www\print\vendor\symfony\http-foundation\Tests\Fixtures\response-functional\cookie_max_age.php on line 10 Call Stack: 0.0025 367120 1. {main}() E:\Program_Files\wamp64\www\print\vendor\symfony\http-foundation\Tests\Fixtures\response-functional\cookie_max_age.php:0 0.0270 489232 2. setcookie($name = 'foo2', $value = 'bar', $expires_or_options = 253402310800, $path = '/') E:\Program_Files\wamp64\www\print\vendor\symfony\http-foundation\Tests\Fixtures\response-functional\cookie_max_age.php:10 Array ( [0] => X-Xdebug-Profile-Filename: E:/Program_Files/wamp64/tmp\trace.dev_arcfertility_in.1780744228.9760.cgrind [1] => Content-Type: text/plain; charset=utf-8 [2] => Cache-Control: no-cache, private [3] => Date: Sat, 12 Nov 1955 20:04:00 GMT [4] => Set-Cookie: foo=bar; expires=Sat, 01-Jan-10000 02:46:40 GMT; Max-Age=251621566572; path=/ ) shutdown