Re: header() removes all header of the same name.

From: Date: Fri, 21 Oct 2016 08:36:03 +0000
Subject: Re: header() removes all header of the same name.
References: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15  Groups: php.internals 
Request: Send a blank email to internals+get-96538@lists.php.net to get a copy of this message
On 21/10/16 05:38, Stephen Reay wrote: > Is it normal to alter (or support multiple) function signatures like this, when you want to > improve the name *and* improve the signature? Wouldn’t you just leave setcookie() as-is, introduce > the new cookie_* functions, and then deprecate set cookie later? (ala mysql => mysqli) Or perhaps a new object model for managing header that can be developed along side the procedural model ... what is being proposed for setcookie() certainly seems more in line with that style of programming? -- Lester Caine - G8HFL ----------------------------- Contact - http://lsces.co.uk/wiki/?page=contact L.S.Caine Electronic Services - http://lsces.co.uk EnquirySolve - http://enquirysolve.com/ Model Engineers Digital Workshop - http://medw.co.uk Rainbow Digital Media - http://rainbowdigitalmedia.co.uk

« previous php.internals (#96538) next »