Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:103747 Return-Path: Delivered-To: mailing list internals@lists.php.net Received: (qmail 24536 invoked from network); 15 Jan 2019 16:53:40 -0000 Received: from unknown (HELO mout.gmx.net) (212.227.17.20) by pb1.pair.com with SMTP; 15 Jan 2019 16:53:40 -0000 Received: from [192.168.2.138] ([91.8.162.93]) by mail.gmx.com (mrgmx101 [212.227.17.168]) with ESMTPSA (Nemesis) id 0LsgvV-1hOgt91yfJ-012DHb; Tue, 15 Jan 2019 14:29:30 +0100 To: Zeev Suraski Cc: PHP internals References: Message-ID: <628ac24b-71ca-5781-8e48-e5d63646e426@gmx.de> Date: Tue, 15 Jan 2019 14:29:31 +0100 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:60.0) Gecko/20100101 Thunderbird/60.4.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Language: de-DE Content-Transfer-Encoding: 7bit X-Provags-ID: V03:K1:8+6xMb1xYT+Hm+qyszcSCyA1LLeVZ3VPyUMfvgzGjfPIo7dYDJf 2DizSb6kZQgi6SQjzf9jhqO94MDRUI1WnqMtIYu6sSfumhHh8uQExqQQqc92r8mbkkEMIGG SibokNlXPuUY1Oq0TpnUFfza13ynaDkJx+WWMQtu96DlO1fnDjIeb0XWhhC5yBByS6CPLyx pUskcH04Kb7sTw2ExHtfQ== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1;V03:K0:ES/DIcmh+7Q=:y8yq8sKQhyfouXqQ9M9Xh9 SYdC0ZjPLWZbiUAMTY5RQ/RD9mp2Nc77wB/EW9fauzaYIYs6fx6XA2Lg8HLb+lZEdfVWcgrDe UcdTWyIhb0sfHtVYqKNUg/dhuRw3wHpQNqrGLs49UgCmdhhiT2U04/aIvii2rouyUE9wQpI9B GvezCOQbT1eT5XtL3RtFwWQ1J9NX89XyGmwJxnuXmtbpu9gymILBAMq8PzOojPr1H3/4Kv1f/ SuD7ewSZ5cFHqj2lML60tM0f920rCOUX7WIc+S0lG+hFr+knABwjCAOMTvKAm3XCQjJ0I+yug z1JfaSDCbcscXdTC/CB7aejiHB7yfgDZqK5ntvDKh40js6do3AzigK2iFpQRa07yVmPo/RoHG wHPRz0YRuDEm1rXz8peiMBzmlU3ryKeh7keEPaKrJDA5pHboYr3Qpb2VJlzqxWW8nmkA/e1se Y7yb9BT/VPZntabNPYST5NIxdP5Icyxp4L+0D7G/Nc1tbkH1qktprlXDX/KW1zVlzDA5nzOxi RijevKjS2T9LMo+Z1j/4HNDZ6ktSxEZ/6JJ0/hzkCnFZUAuiFzuwtFIYoy/i8SeebMKstw3On 2rWej8x44JKhejWyMVnI5tiyhEVVfV96rj9OS1QregtKiBPZmlKb1W1rJqG1fZX84LZkZGACX wf9g98YJIXZ0zU4a/3avh37WvSeMlh1C++yyhVFeVHJEifFH5qhimdjXUbUx8TYIbJfFsYWad siYRM90I+8/0Rb5YI+fcqFUDJ3v5GN0CfjAc4WmVi0Hsw5VlkRgbiYhkFC6uiEOWdELH67yvY 2/aTL+aGVafE8hecClZIFCsDdGt+QqAGS1pws8xkvSTyPmqf0YB4axguW0jyjNjctOqUG5HX8 0YIiSu2u5RWjy9sZ8NFDmwaBlJnRCX6vDo0qvV2WvmVXZ0Y0C+hUBuxQoK/7Lb Subject: Re: [PHP-DEV] Suggested libgd ABI change leading to ext/gd BC break From: cmbecker69@gmx.de ("Christoph M. Becker") On 15.01.2019 at 13:32, Zeev Suraski wrote: >> On 15 Jan 2019, at 13:13, Christoph M. Becker wrote: >> >> Most recently, a pull request has been submitted for libgd[1], which >> suggests to define image IO functions for several image formats >> unconditionally; if the format is not supported, the IO functions would >> fail with an error notice. This would break the current ext/gd >> configuration, since it relies on checks for the existence of these >> functions[2] to define the respective PHP functions conditionally and >> for introspection (e.g. gd_info()). In other words, building ext/gd >> against the PR would define imagecreatefromweb() even if WebP is not >> supported. This would break code relying on `if >> (function_exists('imagecreatefromweb'))` or such. > > Given this downside, what is the upside of introducing this change? Basically, to be able to switch libgd.so without recompiling its clients, see . Of course, that wouldn't work for ext/gd as it is now, but that is a different story. We have to deal with whatever the libgd developers decide. -- Christoph M. Becker