Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:76203 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 64514 invoked from network); 27 Jul 2014 19:30:48 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 27 Jul 2014 19:30:48 -0000 Authentication-Results: pb1.pair.com smtp.mail=pierre.php@gmail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=pierre.php@gmail.com; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.192.52 as permitted sender) X-PHP-List-Original-Sender: pierre.php@gmail.com X-Host-Fingerprint: 209.85.192.52 mail-qg0-f52.google.com Received: from [209.85.192.52] ([209.85.192.52:33984] helo=mail-qg0-f52.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id A1/15-22380-76355D35 for ; Sun, 27 Jul 2014 15:30:47 -0400 Received: by mail-qg0-f52.google.com with SMTP id f51so7400950qge.39 for ; Sun, 27 Jul 2014 12:30:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=jP+Nuk88Dr38Mc+XajJuIKsjtdq/aWfGAehDPCLx5Vw=; b=c3aeZP7wxZVL+tDt74bs6DBX8BuDWIlqAgFQxXkjxXjCjV1ii2Km3OvT33wWY+rJuZ vdrznOnzPZJA9m523wufoPmMevfizNK/DP+6KLTbt4aaWUE3GBBk8QRVF+BelcU4I7WW r00goFjVAnzFIyDY9NZVwQVQjBc8Iy/IPeoW/z1+AJY/I96Bf1bZiLpI1Uf6PnGr4huS SItGYqjuhkcKc4N25b4Afu42FKrfdmtc8NTG+K9NXMFRj3O6qogtD7w4+/3iFfw4IlD8 gA0+mIANhiJ4KKXxkfQE+OZJ0RJ4Kc/TVkg6SlwmneEwDFXpEnwOhLEcrJtGgvKMvN22 Al9A== MIME-Version: 1.0 X-Received: by 10.224.114.74 with SMTP id d10mr40431501qaq.33.1406489455092; Sun, 27 Jul 2014 12:30:55 -0700 (PDT) Received: by 10.140.24.54 with HTTP; Sun, 27 Jul 2014 12:30:55 -0700 (PDT) Received: by 10.140.24.54 with HTTP; Sun, 27 Jul 2014 12:30:55 -0700 (PDT) In-Reply-To: References: <482DEC36-8A5A-4840-910A-3C63CA3A503B@lonnylot.com> <77BCF83D-F7AF-4853-8C40-D07D1CFFF8DE@lonnylot.com> Date: Sun, 27 Jul 2014 21:30:55 +0200 Message-ID: To: Lonny Kapelushnik Cc: PHP internals , Andrea Faulds Content-Type: multipart/alternative; boundary=047d7bdc134059e84504ff31d812 Subject: Re: [PHP-DEV] [RFC] imagettf* deprecation/removal From: pierre.php@gmail.com (Pierre Joye) --047d7bdc134059e84504ff31d812 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On Jul 27, 2014 8:17 PM, "Lonny Kapelushnik" wrote: > > On Jul 27, 2014, at 1:19 PM, Pierre Joye wrote: >> >> >> However the idea to add yet other warnings/notices to ext/gd is not >> something I like to see in GD. I will rather remove many for php-next >> instead of adding more. Also some new font APIs may as well make the >> whole ttf ones less relevant, see the upstream version. > > > Pierre, > > I would only want to add E_DEPRECATED to the function calls if we are actually going to remove them. Hm. I do not think it is a good idea. As I said, I am really not willing to add more warnings for the sake of adding them. There is no difference in the implementation whether one uses these functions or the other. A note in the doc stating that should suffice. Or do you have an argument to still do it? What would the win? > Otherwise, I agree that we should not add it. Also, I noted it in the RFC, but want to make mention here in case you did not see: I=E2=80=99m sug= gesting E_DEPRECATED in 5.6.z+1 and removal in php.next. > > On Jul 27, 2014, at 1:22 PM, Andrea Faulds wrote: >> >> The API signatures are compatible, yes? In which case, just make the legacy functions be aliases of the new ones. This avoids breaking everyone=E2=80=99s code. > > > Andrea, > > I don=E2=80=99t think that assessment accurately reflects the situation. = I=E2=80=99m suggesting to change the userland API in php.next. According to the release process the whole point of a php.next is to break the API for improvements. Anyone upgrading to php.next is going to have to check for BC breaks. > > I=E2=80=99m suggesting having this minor change be one of the BC breaks i= n php.next. I=E2=80=99m not making the argument that it is important from a p= urely technical POV; I don=E2=80=99t believe it is. I=E2=80=99m making the argume= nt that it is important from an operational POV. Removing them prevents newcomers and gurus from ever having any question about which function to use. --047d7bdc134059e84504ff31d812--