Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:76204 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 66416 invoked from network); 27 Jul 2014 19:47:47 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 27 Jul 2014 19:47:47 -0000 Authentication-Results: pb1.pair.com smtp.mail=nikita.ppv@gmail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=nikita.ppv@gmail.com; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.218.44 as permitted sender) X-PHP-List-Original-Sender: nikita.ppv@gmail.com X-Host-Fingerprint: 209.85.218.44 mail-oi0-f44.google.com Received: from [209.85.218.44] ([209.85.218.44:36915] helo=mail-oi0-f44.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 69/65-22380-36755D35 for ; Sun, 27 Jul 2014 15:47:47 -0400 Received: by mail-oi0-f44.google.com with SMTP id x69so5250629oia.31 for ; Sun, 27 Jul 2014 12:47: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=jprjT5t4g/8HUzPlFsSZBtyTnUtbnFdCie7N0nPDZ7Y=; b=stv9BaWeMKFOc2WwHD3oJ/dMjWpZf3KaCZhsYorKAMXfMhoZRcKpRTRo23AwHw/r3v CCtXcMzQ4fct6cd8uAUiH8/ny9Onf05sAyUHIkbDeQGIgPhvWH3dZhe2l9sfxyZcQADk U7U4OMDCN4WfhwkMwxxe9lFDtqgH3WMF54ysHvjuS3YoYe/goGFyuvVOrOKP9FmT8P8l xdzk5xnI5YeTXtRgQV7P+H3F5+rQgz9VPZglzY4u2I6/nOo9zQ9bW6iy1qUjmBkwaU5N hNLZbFJ7tYC9FYewCSJ4rxJUg/W6QeS7m+/sK5Cw2S5T647f9720REPC+YGv1vkRM9nT +krw== MIME-Version: 1.0 X-Received: by 10.182.118.193 with SMTP id ko1mr42829652obb.45.1406490474859; Sun, 27 Jul 2014 12:47:54 -0700 (PDT) Received: by 10.182.132.2 with HTTP; Sun, 27 Jul 2014 12:47:54 -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:47:54 +0200 Message-ID: To: Pierre Joye Cc: Lonny Kapelushnik , PHP internals , Andrea Faulds Content-Type: multipart/alternative; boundary=089e0115ea3022537e04ff321554 Subject: Re: [PHP-DEV] [RFC] imagettf* deprecation/removal From: nikita.ppv@gmail.com (Nikita Popov) --089e0115ea3022537e04ff321554 Content-Type: text/plain; charset=UTF-8 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. Nikita --089e0115ea3022537e04ff321554--