Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:74704 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 68242 invoked from network); 3 Jun 2014 11:01:23 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 3 Jun 2014 11:01:23 -0000 Authentication-Results: pb1.pair.com header.from=narf@devilix.net; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=narf@devilix.net; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain devilix.net designates 209.85.215.52 as permitted sender) X-PHP-List-Original-Sender: narf@devilix.net X-Host-Fingerprint: 209.85.215.52 mail-la0-f52.google.com Received: from [209.85.215.52] ([209.85.215.52:40138] helo=mail-la0-f52.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 3D/30-64944-10BAD835 for ; Tue, 03 Jun 2014 07:01:22 -0400 Received: by mail-la0-f52.google.com with SMTP id s18so1382109lam.39 for ; Tue, 03 Jun 2014 04:01:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=devilix.net; s=google; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; bh=dbqUlpQBm3vyjdR9bYwq4+BdIdGydNGTGVAWAhqpijs=; b=DJRSFCObc0WNnPDQdWIgvOu2e38UV1ml1MGvPbUr5a5sy7jQNNSvl80iPm6CCP//iO D2m5n06Zb1A0evDnebgkt8o31f42v+Qy5Mg3hu7XtIuFjUA42ycQpXMSiI/Iu76IQaPR TxZ0nZG5UWK028FVg7RFlCILVN5/xsFNjz4nw= 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 :content-transfer-encoding; bh=dbqUlpQBm3vyjdR9bYwq4+BdIdGydNGTGVAWAhqpijs=; b=nDMTXMI9aAGm/LSZ3PoVhfd6/8dpUl9uPfBNe55DGuOU4cjNiN/NWIzWz5KZ1KP8ux EssCGng+dE7tJmHgle4p5Cjoa1vA9U86YGw9iKFbNNUCBB8Y8u7RUoiyt2hO87W1ra+5 DGVLPFEq/AR7D1YjP2Yr4B+PcwBXOtcmi8wpAkVe2hNc4mxdHyNGQuQJxkkyrLDi+i7O f4HX0zAO23GcTeh0DY1tO9fI34SrPl2dUhnQ80WkdPSoJEWmWsLKMYP9S1M6An/COj0x Y9tc+pN/qsVVcYFTfgYKLeRZFAbeWgHaPuUa8dk8iJlxsjJtkL4Xb6Bpp/ogqpWcwaxo 3SRQ== X-Gm-Message-State: ALoCoQmuJtenHimwZoGeKEqjuat1cOwkUlKkgjYU5Zz/ZepPppW7aUSGvH0Z/WJO+7GuYWV4JqSZ MIME-Version: 1.0 X-Received: by 10.152.23.42 with SMTP id j10mr33860733laf.19.1401793278481; Tue, 03 Jun 2014 04:01:18 -0700 (PDT) Received: by 10.152.115.142 with HTTP; Tue, 3 Jun 2014 04:01:18 -0700 (PDT) In-Reply-To: References: Date: Tue, 3 Jun 2014 14:01:18 +0300 Message-ID: To: Ferenc Kovacs Cc: PHP Internals Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Subject: Re: [PHP-DEV] question regarding #67309 From: narf@devilix.net (Andrey Andreev) On Tue, Jun 3, 2014 at 10:41 AM, Ferenc Kovacs wrote: > Hi, > > I wanted to ask what's our current consensus about feature requests like > this: https://bugs.php.net/bug.php?id=3D67309 > The requested function wouldn't provide anything which isn't currently > available via ini_get(), but it would be a bit natural to expect a get > method where a set exists. > > -- > Ferenc Kov=C3=A1cs > @Tyr43l - http://tyrael.hu Hi, We talked about this with Yasuo in regards to some ext/session stuff (although it was about setters) and agreed on keeping ini_set() only. He even wrote a quick RFC about it: https://wiki.php.net/rfc/deprecate-ini-functions My opinion in general is that we don't need functions that duplicate ini_set(), ini_get() for a particular setting and existing ones should be removed in the future instead of adding more to complement them. No idea what other people think about it though. Cheers, Andrey.