1--TEST-- 2Bug #72071 setcookie allows max-age to be negative 3--INI-- 4date.timezone=UTC 5--FILE-- 6<?php 7 8$date = mktime(12, 25, 39, 4, 1, 2017); 9setcookie("name", "value", $date); 10 11?> 12--EXPECT-- 13--EXPECTHEADERS-- 14Set-Cookie: name=value; expires=Sat, 01-Apr-2017 12:25:39 GMT; Max-Age=0 15