Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:48786 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 45933 invoked from network); 15 Jun 2010 13:31:42 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 15 Jun 2010 13:31:42 -0000 Authentication-Results: pb1.pair.com header.from=adam@adamharvey.name; sender-id=unknown Authentication-Results: pb1.pair.com smtp.mail=adam@adamharvey.name; spf=permerror; sender-id=unknown Received-SPF: error (pb1.pair.com: domain adamharvey.name from 209.85.212.42 cause and error) X-PHP-List-Original-Sender: adam@adamharvey.name X-Host-Fingerprint: 209.85.212.42 mail-vw0-f42.google.com Received: from [209.85.212.42] ([209.85.212.42:52683] helo=mail-vw0-f42.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id B0/00-45850-8B0871C4 for ; Tue, 15 Jun 2010 09:31:38 -0400 Received: by vws2 with SMTP id 2so2081059vws.29 for ; Tue, 15 Jun 2010 06:31:17 -0700 (PDT) Received: by 10.224.71.141 with SMTP id h13mr3069682qaj.9.1276608677257; Tue, 15 Jun 2010 06:31:17 -0700 (PDT) MIME-Version: 1.0 Sender: adam@adamharvey.name Received: by 10.229.214.213 with HTTP; Tue, 15 Jun 2010 06:30:57 -0700 (PDT) In-Reply-To: References: Date: Tue, 15 Jun 2010 21:30:57 +0800 X-Google-Sender-Auth: _c5SYso2Ms_IG9s0T5h5rW_EqgM Message-ID: To: Ilia Alshanetsky Cc: internals@lists.php.net Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Subject: Re: [PHP-DEV] Remove sqlite2 from trunk From: aharvey@php.net (Adam Harvey) On 15 June 2010 19:41, Ilia Alshanetsky wrote: > After speaking to a few developers in DPC, I think it makes sense for us = to > drop the Sqlite2 extensions from Trunk as they are superseded by the Sqli= te3 > extensions. The sqlite2 library is no longer maintainer and the migration > path from version 2 to 3 is very simple. Unless there any objections, I'd > like to make this happen in the next week or two. Funnily enough, we had a short discussion about this on IRC last week; I was meaning to write an RFC before getting swamped at work. My feeling (and I'm speaking just for myself here) is that we can't really get rid of ext/sqlite in the short to medium term: people have gotten too used to having it available and bundled in a default PHP installation. Obviously, though, we can't really keep bundling an unmaintained library, either, and we should start nudging people gently towards sqlite3. What I'd prefer: =E2=80=93 Deprecate ext/sqlite in trunk, at least by having sqlite_open() generate an E_DEPRECATED warning. =E2=80=93 Unbundle libsqlite2 in the next major version after what's curren= tly in trunk and disable the extension by default, but still allow compilation against an external libsqlite2 if the user really wants to. =E2=80=93 Move ext/sqlite to PECL at some point thereafter. PDO would be handled similarly. If someone has some real world numbers on the use of ext/sqlite, that might be handy. From where I sit, though, it does seem to have become a bit of a standard, so I'd rather not pull the rug out from under people that suddenly =E2=80=94 particularly given it's not even deprecated = at the moment. Adam