Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:82610 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 9964 invoked from network); 13 Feb 2015 13:45:05 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 13 Feb 2015 13:45:05 -0000 Received: from [127.0.0.1] ([127.0.0.1:12159]) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ECSTREAM id 2D/B8-62214-0EFFDD45 for ; Fri, 13 Feb 2015 08:45:04 -0500 Authentication-Results: pb1.pair.com smtp.mail=francois@php.net; spf=unknown; sender-id=unknown Authentication-Results: pb1.pair.com header.from=francois@php.net; sender-id=unknown Received-SPF: unknown (pb1.pair.com: domain php.net does not designate 212.27.42.2 as permitted sender) X-PHP-List-Original-Sender: francois@php.net X-Host-Fingerprint: 212.27.42.2 smtp2-g21.free.fr Received: from [212.27.42.2] ([212.27.42.2:10484] helo=smtp2-g21.free.fr) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 75/A8-62214-1DBFDD45 for ; Fri, 13 Feb 2015 08:27:45 -0500 Received: from moorea (unknown [82.240.16.115]) by smtp2-g21.free.fr (Postfix) with ESMTP id 5F0724B019E for ; Fri, 13 Feb 2015 14:27:37 +0100 (CET) Reply-To: To: Date: Fri, 13 Feb 2015 14:27:37 +0100 Message-ID: <008501d04790$d587e4a0$8097ade0$@php.net> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-Mailer: Microsoft Outlook 14.0 Thread-Index: AdBHkMttUJgB1WZZTf6w3UGwWNrOfw== Content-Language: fr X-Antivirus: avast! (VPS 150213-0, 13/02/2015), Outbound message X-Antivirus-Status: Clean Subject: RE: [PHP-DEV] [RFC][VOTE][RESULT] Removal of dead or not yet PHP7 ported SAPIs and extensions From: francois@php.net (=?utf-8?Q?Fran=C3=A7ois_Laupretre?=) Hi, > De : Pierre Joye [mailto:pierre.php@gmail.com] > > So we do not want to kill them because they are still used (but dead). > But we may come with some wrapper to replace almost all the features > provided by the dead libs? At least for mcrypt, good luck to anyone > willing to do that for imap ;). It may be naive but, for imap, what about writing a wrapper between the = imap functions and the Horde/Imap_Client lib, as it works well and is at = least as fast as the original C extension. We can embed the lib and the = wrapper in a PHP extension (reviving the idea of embedding PHP code in = an extension) and rename every public symbols to keep them private (they = would not be usable from user code). This would probably be much easier than rewriting the imap extension = using libcurl or another imap C lib. Anyway, that's just an idea as I = don't know yet if the Horde library provides every features we need. It is distributed under 'LGPL version 2.1', would it allow to embed it = in a PHP extension ? So, please tell me if it's worth going a little further. Cheers Fran=C3=A7ois