Test: /ext/standard/tests/network/bug72071.phpt - Version 7.3.11        

Bug #72071 setcookie allows max-age to be negative
Submitted: 2016-04-21 21:41:10 Modified:
From: bfrance Assigned:
Status: Closed Package: *General Issues
PHP Version: 5.6.20 OS: Linux

There are 4 different diffs reported by users for this test.

Count Diff
3 (50%)
001+
001- Set-Cookie: name=value; expires=Sat, 01-Apr-2017 12:25:39 GMT; Max-Age=0
003+ Fatal error: The cgi-fcgi SAPI is not supported by pthreads in Unknown on line 0
005+ Fatal error: Unable to start pthreads module in Unknown on line 0
1 (17%)
001+
001- Set-Cookie: name=value; expires=Sat, 01-Apr-2017 12:25:39 GMT; Max-Age=0
003+ Sun Nov 24 22:32:44 2019 (4684): Fatal Error Unable to allocate shared memory segment of 134217728 bytes: unknown: Success (0)
003-
1 (17%)
001+
001- Set-Cookie: name=value; expires=Sat, 01-Apr-2017 12:25:39 GMT; Max-Age=0
003+ Sat Oct 26 10:40:07 2019 (11884): Fatal Error Unable to allocate shared memory segment of 134217728 bytes: unknown: Inappropriate ioctl for device (25)
003-
1 (17%)
001+
001- Set-Cookie: name=value; expires=Sat, 01-Apr-2017 12:25:39 GMT; Max-Age=0
003+ /home/linkpi/work/php-7.3.11/sapi/cgi/php-cgi: 1: /home/linkpi/work/php-7.3.11/sapi/cgi/php-cgi: Syntax error: word unexpected (expecting ")")
003-