Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:76214 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 27030 invoked from network); 28 Jul 2014 07:33:19 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 28 Jul 2014 07:33:19 -0000 Authentication-Results: pb1.pair.com header.from=pierre.php@gmail.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=pierre.php@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.192.42 as permitted sender) X-PHP-List-Original-Sender: pierre.php@gmail.com X-Host-Fingerprint: 209.85.192.42 mail-qg0-f42.google.com Received: from [209.85.192.42] ([209.85.192.42:45124] helo=mail-qg0-f42.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id EC/21-26001-EBCF5D35 for ; Mon, 28 Jul 2014 03:33:19 -0400 Received: by mail-qg0-f42.google.com with SMTP id j5so8081863qga.1 for ; Mon, 28 Jul 2014 00:33:28 -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=jmIunzwPXRtHL1wzRP+6dswruZoGaQ8hoaeorU4pDR4=; b=l9FkuedZm193eEzJ+u8XA1Le6gwO/i9xe3qeP9A1JnYRzBhg9d8fsRR0cdlkZmxn6A UppsXXWMAumDXdy+9BSh1AIl2OCf6Ecc5KA5pOAJxzZtJZKrVbIWJYwP2v40r/EMAq3i XrLHFc3rtHkpvIjaOgNTM2oY8cz4VtCW6/PzvXcY4JE9C2HRE+1pwzqQAEJ7spVxQicC fxiQkOiLBp1l7/ujlAOmf/5dGznMLj0E8nM5IvSGB9epRKcluWHSn2ZKBNrXvGQxiKMy JUqlCQHIbZ//dt8EAjxzNGre94gpC5UlZMIRuGAyopEv7RdTcbHYe2V6W9GbTad8uwd6 kiJA== MIME-Version: 1.0 X-Received: by 10.224.2.70 with SMTP id 6mr56405869qai.18.1406532808071; Mon, 28 Jul 2014 00:33:28 -0700 (PDT) Received: by 10.140.24.54 with HTTP; Mon, 28 Jul 2014 00:33:27 -0700 (PDT) In-Reply-To: References: <482DEC36-8A5A-4840-910A-3C63CA3A503B@lonnylot.com> <77BCF83D-F7AF-4853-8C40-D07D1CFFF8DE@lonnylot.com> Date: Mon, 28 Jul 2014 09:33:27 +0200 Message-ID: To: Nikita Popov Cc: Lonny Kapelushnik , PHP internals , Andrea Faulds Content-Type: text/plain; charset=UTF-8 Subject: Re: [PHP-DEV] [RFC] imagettf* deprecation/removal From: pierre.php@gmail.com (Pierre Joye) On Sun, Jul 27, 2014 at 9:47 PM, Nikita Popov wrote: > On Sun, Jul 27, 2014 at 9:30 PM, Pierre Joye wrote: >> >> 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? > > > If there are two functions doing essentially the same thing, we should > remove one of them. In order to remove a function it must first be > deprecated. The proposal sounds reasonable to me. There's no need to keep > around legacy cruft through aliases. I am not arguing about that for next but the addition of yet another warning with no gain. Cheers, -- Pierre @pierrejoye | http://www.libgd.org