Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:78566 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 85949 invoked from network); 2 Nov 2014 23:21:18 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 2 Nov 2014 23:21:18 -0000 Authentication-Results: pb1.pair.com header.from=danack@basereality.com; sender-id=unknown Authentication-Results: pb1.pair.com smtp.mail=danack@basereality.com; spf=permerror; sender-id=unknown Received-SPF: error (pb1.pair.com: domain basereality.com from 209.85.212.178 cause and error) X-PHP-List-Original-Sender: danack@basereality.com X-Host-Fingerprint: 209.85.212.178 mail-wi0-f178.google.com Received: from [209.85.212.178] ([209.85.212.178:51744] helo=mail-wi0-f178.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 35/23-62688-C6CB6545 for ; Sun, 02 Nov 2014 18:21:17 -0500 Received: by mail-wi0-f178.google.com with SMTP id q5so5071438wiv.17 for ; Sun, 02 Nov 2014 15:21:11 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=HM39/8GNC5cdzJnuwuQ6wuGpobHwIvZU8XdX6iEFaUI=; b=OdGV6FYdOhl7p9h1kaueieg0UpjzBaqCMALSDLsug0Pa3Ggz/7qU+XEexq7pkA4Z/+ 0nTap82iotkvFXChH7JsLWPmh54LayE1ijukmH1ZKrcPMNbjePHe9yfJeFHlCZs0rDCe /2OC8oQZgnj0EqM7iqg2mt4N9/v3WQDq/54SD4/s+UuXMKMryBzUQIMnFaAAHRvxSuA1 JEmluq8iZCeUBKjzyeOCpXwaWJ5fBxd/np8ABmjL8rCDrFofumAxQvdgxMHrFXTBF70n bjwo7edB+OqWIpND0bKj5eQLJvBsKy0KCC3aR5d9Yk7TkJnjrEQsWSteVc03EbiiUTsG 7pRA== X-Gm-Message-State: ALoCoQljL+9ORHPjp/zF5YWIjdHIAkmOXHi40DId+WyMlaiXBfHQBH11YcI9Uh4mUnZct+9IftO2 MIME-Version: 1.0 X-Received: by 10.180.76.199 with SMTP id m7mr12010191wiw.62.1414970471657; Sun, 02 Nov 2014 15:21:11 -0800 (PST) Received: by 10.216.11.70 with HTTP; Sun, 2 Nov 2014 15:21:11 -0800 (PST) X-Originating-IP: [78.145.251.209] In-Reply-To: References: <545554F7.70906@gmail.com> <581CB00C-59B7-4263-8533-D7DCB54C806E@ajf.me> Date: Sun, 2 Nov 2014 23:21:11 +0000 Message-ID: To: Rowan Collins Cc: "internals@lists.php.net" Content-Type: text/plain; charset=UTF-8 Subject: Re: [PHP-DEV] setcookie() minor BC break - fixes issue #67736 From: danack@basereality.com (Dan Ackroyd) On 2 November 2014 15:10, Rowan Collins wrote: > Wait, what does session handling have to do with any of this? Sorry, I completely failed to write what I was trying to say there. I meant that like the session handling functions and setcookie are similar in that: * They don't feel that nice to use. * The exact behaviour of them is currently correct but doesn't cater for higher level logic e.g. making a script setting the same cookie be an error rather than accepting it. Both of them could probably do with being made nicer - but that can be done in user-land. There's no _need_ to fix them in the core libraries. cheers Dan