Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:101060 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 72204 invoked from network); 5 Nov 2017 00:35:48 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 5 Nov 2017 00:35:48 -0000 Authentication-Results: pb1.pair.com header.from=smalyshev@gmail.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=smalyshev@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.192.171 as permitted sender) X-PHP-List-Original-Sender: smalyshev@gmail.com X-Host-Fingerprint: 209.85.192.171 mail-pf0-f171.google.com Received: from [209.85.192.171] ([209.85.192.171:50568] helo=mail-pf0-f171.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id E6/F3-09857-4EC5EF95 for ; Sat, 04 Nov 2017 19:35:48 -0500 Received: by mail-pf0-f171.google.com with SMTP id b6so5019881pfh.7 for ; Sat, 04 Nov 2017 17:35:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:references:from:message-id:date:user-agent:mime-version :in-reply-to:content-language:content-transfer-encoding; bh=CVi5ejPS73ZNcFYJxjr8jafIlDKP+nL8hfC52aBSaL0=; b=fWj0JCE9AZYm/DXaONxBy0/fgG6Mt9wklnQ2h+mHr44al1NMdik9x/EUX2aNFFuGxz ldG8lLN/kMY0wsjGWslMJa+ewP7KmiGIZkTEJobVswiaLxA5cR1FsQXulLN77l2IaINE a6go8tfEz3ZCjztlMta2aSxrecMYxobcvyPCkUU1XUjyMf82PKQ6iqtYN4GdA5jz7QZz qbSn0vVaDan+SPDNkTA1U31vubV7nNoxzZrn4vwoLAcxtfSzoPvKHD/7GPYjabR48ubU CrXDQZTQ3Z6FlSK+kJmdqvSEYjdBLmBgmSP35GoXb/ZCmFYy7Yx90m6NVi9hnEfld9Xe zCzA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=CVi5ejPS73ZNcFYJxjr8jafIlDKP+nL8hfC52aBSaL0=; b=ajqVEEJH8Moe6HljhdeZdUY0XBbbHLa9O7tJYYr3vqLUbivlHBOvz6pk2mvmXCwHuM LF3AWnZfrct3wU+NZqZxjEDIZwTolIO8P+ZCLOpFOrql8ZRZYvKY1v6tTBMFu3VkEfBp 1vsYbI+858GWeDmbJSeqVEy5kGin/AI66spHl2j7NJ0aT+0OL0o8PdGLpcet1WNO4A08 1mFu1q5D1a9EOiseBe6PTJtBwDm0dQ6C31qVGsXRIMWYxGcr1C/W/nLgNVFQuzoeq2Gt bG61hiPn4+LmYdig7xjwD3kkCbH+WYPdeunGWmOVWBIAO9OmA3oj8+IvTPsxt7fm9Yse cbkg== X-Gm-Message-State: AMCzsaUP74m346aGnZn2CyOrUJQnRMXcLtSZu+PjaFuyhWvb8dEZxLz/ wCaQSv7I5NrsXDJy/D2yy4/s/xY= X-Google-Smtp-Source: ABhQp+RO0boVLcGVZkBMP16hpW4sToRr2FUAnK/3ZePNDQ/t5txHDQzjg1ckQRXzOeczLGumuDR6kA== X-Received: by 10.99.163.97 with SMTP id v33mr11185302pgn.206.1509842144203; Sat, 04 Nov 2017 17:35:44 -0700 (PDT) Received: from Stas-Pro-2016.lan (c-73-71-144-171.hsd1.ca.comcast.net. [73.71.144.171]) by smtp.gmail.com with ESMTPSA id 70sm16590988pfv.97.2017.11.04.17.35.43 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 04 Nov 2017 17:35:43 -0700 (PDT) To: Andreas Treichel , internals@lists.php.net References: Message-ID: <9331841e-ea9a-652b-3b54-5dc24dbd273b@gmail.com> Date: Sat, 4 Nov 2017 17:35:42 -0700 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.12; rv:52.0) Gecko/20100101 Thunderbird/52.4.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] Proposal: Rename image functions From: smalyshev@gmail.com (Stanislav Malyshev) Hi! > Step 1: > I create a patch with the new aliases. I don't see much wrong with old names - nobody remembers those names anyway, and once you use IDE or - for people that still type PHP code by banging two rocks together, like I sometimes do, the manual - it doesn't matter whether there is underscore there or not. Nobody expects those functions to read like a fine prose anyway :) > Step 2: > Merge the changes with next minor release of PHP 7.x. > Soft deprecation of old function names in the manual. There's no reason to either soft or hard deprecate old names. There's nothing wrong with these names or the code that uses them. Forcing people to change their code just because somebody likes names with underscores better is plain wrong. Believe me, there's plenty to do with any large PHP codebase project besides doing pointless changes like this. Especially if you want codebase that works from 5.5 to 7.x and beyond (and yes, that happens). Of course, if you like new names better, and they are introduced, you are welcome to use them, but that's as far as it should go. I am still kinda skeptical on the cost/benefit ratio, given how many new names are added, but maybe it's ok if people like it. But names already used in code should stay. -- Stas Malyshev smalyshev@gmail.com