Re: Re: Deprecating GD functions imagettftext/bbox

From: Date: Thu, 24 Jul 2014 10:20:22 +0000
Subject: Re: Re: Deprecating GD functions imagettftext/bbox
References: 1 2  Groups: php.internals 
Request: Send a blank email to internals+get-76002@lists.php.net to get a copy of this message
On 24.07.2014 09:13, Pierre Joye wrote: > hi, > > On Tue, Jul 22, 2014 at 9:01 PM, Lonny Kapelushnik <lonny@lonnylot.com> 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

« previous php.internals (#76002) next »