Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:27220 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 16884 invoked by uid 1010); 30 Dec 2006 23:32:14 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 16868 invoked from network); 30 Dec 2006 23:32:14 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 30 Dec 2006 23:32:14 -0000 Authentication-Results: pb1.pair.com header.from=antony@zend.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=antony@zend.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain zend.com designates 212.25.124.162 as permitted sender) X-PHP-List-Original-Sender: antony@zend.com X-Host-Fingerprint: 212.25.124.162 mail.zend.com Linux 2.5 (sometimes 2.4) (4) Received: from [212.25.124.162] ([212.25.124.162:42032] helo=mail.zend.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id F4/01-09809-CF6F6954 for ; Sat, 30 Dec 2006 18:32:14 -0500 Received: (qmail 12624 invoked from network); 30 Dec 2006 23:30:35 -0000 Received: from internal.zend.office (HELO ?127.0.0.1?) (10.1.1.1) by internal.zend.office with SMTP; 30 Dec 2006 23:30:35 -0000 Message-ID: <4596F6F8.6030605@zend.com> Date: Sun, 31 Dec 2006 02:32:08 +0300 User-Agent: Thunderbird 1.5.0.8 (X11/20061025) MIME-Version: 1.0 To: Kevin Waterson CC: internals@lists.php.net References: <20061231094951.48487025.kevin@oceania.net> In-Reply-To: <20061231094951.48487025.kevin@oceania.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] Include fileinfo in core From: antony@zend.com (Antony Dovgal) On 12/31/2006 01:49 AM, Kevin Waterson wrote: > As we discussed on irc, mime_magic is now deprecated, there is currently no function > available to detirmine mimetype without pecl/pear. While mime_magic is deprecated, it does not mean it cannot be used. So there certainly is a way to do it without PECL. Also, to repeat myself here, there is also no way to use filepro database, hwapi, msession, cpdf, dio, fam, ingres, mnogosearch, yp API, Ovrimos, PayFlow Pro and a bunch of other functions without using PECL. When we move something to PECL or deprecate a core extension in favor of its PECL analogue, it does not mean the PECL extension should be moved into core, that's not the point. Btw, quite a number of useful extensions were born in PECL and there are no plans of moving into core either. > I think its reasonable for develpers to have access to this functionality without > the need to install pecl/pear additions which in a hosting environment may not > be possible. Anyone capable of installing core extension, is capable of installing an extension from PECL, in most cases it's as easy as `pecl install `. I can't see how moving filepro into core would help those who cannot enable it anyway. So, to make myself 100% clear, I'm certainly -1 on moving any more extensions to core, including fileinfo. -- Wbr, Antony Dovgal