Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:81287 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 1945 invoked from network); 28 Jan 2015 06:56:29 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 28 Jan 2015 06:56:29 -0000 Authentication-Results: pb1.pair.com header.from=yohgaki@gmail.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=yohgaki@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.214.182 as permitted sender) X-PHP-List-Original-Sender: yohgaki@gmail.com X-Host-Fingerprint: 209.85.214.182 mail-ob0-f182.google.com Received: from [209.85.214.182] ([209.85.214.182:57709] helo=mail-ob0-f182.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 1E/39-45774-B1888C45 for ; Wed, 28 Jan 2015 01:56:27 -0500 Received: by mail-ob0-f182.google.com with SMTP id gq1so17642947obb.13 for ; Tue, 27 Jan 2015 22:56:24 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc:content-type; bh=AAuy6nGG2z5x6Vs7uhdFqGtRu2klIG6NgcxTzykZCWY=; b=scHa1OpB8uGGdE3frSomRGEZMyjG0UBarHVkM4TXs8Remzauxum2mlducQC8BKTrYG FxnKiofcu+78zSPAUIKps67KbDnkMCYoZTrzDpI1zkgGFZ+qHoGpuunWEO5gp37TkmoC /7y1NPBknK9nOaK/hqaFWf9VQkZ78XlQBwlOxhQONjFCQOgkQZEwRUzA6IQ2XRXdZlva f5RoH5f9vUCUP25j/lM3JpTjYidNAvncNtP1zPBdPzPiADZkO1CHtbQ85+QZMKRqZKnR j7plDIn+0E7A6hSJC1o3W8fagthQ851xwADmTTN4TsnqyEyviRSOmWrwbQ6GmXehnIC7 IfvA== X-Received: by 10.182.22.198 with SMTP id g6mr1206745obf.16.1422428184371; Tue, 27 Jan 2015 22:56:24 -0800 (PST) MIME-Version: 1.0 Sender: yohgaki@gmail.com Received: by 10.202.229.9 with HTTP; Tue, 27 Jan 2015 22:55:44 -0800 (PST) In-Reply-To: <54C7EB9E.3030305@gmail.com> References: <54C7EB9E.3030305@gmail.com> Date: Wed, 28 Jan 2015 15:55:44 +0900 X-Google-Sender-Auth: BiKu9EKAuAzjy7JVI3WypdQa1cE Message-ID: To: Stanislav Malyshev Cc: Martin Keckeis , "internals@lists.php.net" Content-Type: multipart/alternative; boundary=001a11c2eb2ea5e718050db0de6d Subject: Re: [PHP-DEV] Re: Deprecating all INI set/get functions and use ini_set/get() From: yohgaki@ohgaki.net (Yasuo Ohgaki) --001a11c2eb2ea5e718050db0de6d Content-Type: text/plain; charset=UTF-8 Hi Stas, On Wed, Jan 28, 2015 at 4:48 AM, Stanislav Malyshev wrote: > >>> Cons > >>> - Existing code modifications. (It's E_DEPRECATED. User may ignore.) > >>> - (Please point it out more disadvantages) > > I think removing or disrupting functions without a very good reason > (such as, functionality going away or this function is abused or is > broken in many use cases) is wrong. These functions don't seem broken, > they just do something that you can do in another way. I don't think it > is necessary to deprecated them. I was about to add more of these functions for consistency indeed. e.g. session_set_serialize_handler() I changed my mind after discussion with Andrey. He insisted ini_set/get() provides more consistency and user friendliness. And I agreed with him. There may be people like me and PHP may not need more simple ini_set/get() copy functions. What do you think about CODING_STANDARD part? Regards, -- Yasuo Ohgaki yohgaki@ohgaki.net --001a11c2eb2ea5e718050db0de6d--