Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:76002 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 74245 invoked from network); 24 Jul 2014 10:20:28 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 24 Jul 2014 10:20:28 -0000 Authentication-Results: pb1.pair.com header.from=ml@anderiasch.de; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=ml@anderiasch.de; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain anderiasch.de designates 81.169.138.148 as permitted sender) X-PHP-List-Original-Sender: ml@anderiasch.de X-Host-Fingerprint: 81.169.138.148 ares.art-core.org Received: from [81.169.138.148] ([81.169.138.148:51207] helo=ares.art-core.org) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id A7/A2-58899-AEDD0D35 for ; Thu, 24 Jul 2014 06:20:26 -0400 Received: from [192.168.178.20] (p5089577E.dip0.t-ipconnect.de [80.137.87.126]) by ares.art-core.org (mail.art-core.org) with ESMTPSA id 02C152EE019; Thu, 24 Jul 2014 12:20:25 +0200 (CEST) Message-ID: <53D0DDE6.2000904@anderiasch.de> Date: Thu, 24 Jul 2014 12:20:22 +0200 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:24.0) Gecko/20100101 Thunderbird/24.6.0 MIME-Version: 1.0 To: Pierre Joye , Lonny Kapelushnik CC: PHP internals References: In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] Re: Deprecating GD functions imagettftext/bbox From: ml@anderiasch.de (Florian Anderiasch) On 24.07.2014 09:13, Pierre Joye wrote: > hi, > > On Tue, Jul 22, 2014 at 9:01 PM, Lonny Kapelushnik wrote: >> Morning, >> >> I propose deprecating two GD functions: imagettftext and imagettfbbox. >> >> The reasons I would like to deprecate them are: >> 1. Their functionality is a subset of imagefttext and imageftbbox >> 2. The imagettf* functions have the same requirements as the imageft* >> functions >> 3. The imagettf* functions parameters are compatible with the imageft* >> functions parameters As I said on IRC, I think the least invasive action would be to make them true aliases (so that the ones with less parameters act exactly as the ones with more) and put that into the docs. This doesn't contradict future removal. Greetings, Florian