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

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 2 different diffs reported by users for this test.

Count Diff
13 (93%)
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 (7%)
001+ Set-Cookie: name=value; expires=Sat, 01-Apr-2017 12:25:39 GMT; Max-Age=695680
001- Set-Cookie: name=value; expires=Sat, 01-Apr-2017 12:25:39 GMT; Max-Age=0