Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:41815 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 28828 invoked from network); 10 Nov 2008 12:08:41 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 10 Nov 2008 12:08:41 -0000 Authentication-Results: pb1.pair.com smtp.mail=johannes@php.net; spf=unknown; sender-id=unknown Authentication-Results: pb1.pair.com header.from=Johannes.Schlueter@Sun.COM; sender-id=unknown Received-SPF: unknown (pb1.pair.com: domain php.net does not designate 192.18.6.24 as permitted sender) X-PHP-List-Original-Sender: johannes@php.net X-Host-Fingerprint: 192.18.6.24 gmp-eb-inf-2.sun.com Solaris 10 (beta) Received: from [192.18.6.24] ([192.18.6.24:56727] helo=gmp-eb-inf-2.sun.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 02/25-04934-84428194 for ; Mon, 10 Nov 2008 07:08:41 -0500 Received: from fe-emea-10.sun.com (gmp-eb-lb-2-fe2.eu.sun.com [192.18.6.11]) by gmp-eb-inf-2.sun.com (8.13.7+Sun/8.12.9) with ESMTP id mAAC8bGg003056 for ; Mon, 10 Nov 2008 12:08:37 GMT Received: from conversion-daemon.fe-emea-10.sun.com by fe-emea-10.sun.com (Sun Java System Messaging Server 6.2-8.04 (built Feb 28 2007)) id <0KA400E018Z4J400@fe-emea-10.sun.com> (original mail from johannes@php.net) for internals@lists.php.net; Mon, 10 Nov 2008 12:08:37 +0000 (GMT) Received: from [192.168.1.103] ([88.217.72.146]) by fe-emea-10.sun.com (Sun Java System Messaging Server 6.2-8.04 (built Feb 28 2007)) with ESMTPSA id <0KA40021K9QBYU60@fe-emea-10.sun.com>; Mon, 10 Nov 2008 12:08:36 +0000 (GMT) Date: Mon, 10 Nov 2008 13:08:31 +0100 In-reply-to: <49180FE8.7050207@sci.fi> Sender: Johannes.Schlueter@Sun.COM To: jani.taskinen@iki.fi Cc: Lukas Kahwe Smith , PHP Development Message-ID: <1226318911.4679.65.camel@goldfinger.johannes.nop> MIME-version: 1.0 X-Mailer: Evolution 2.22.3.1 (2.22.3.1-1.fc9) Content-type: text/plain Content-transfer-encoding: 7BIT References: <49180FE8.7050207@sci.fi> Subject: Re: [PHP-DEV] alpha3 or forever hold your peace From: johannes@php.net (Johannes =?ISO-8859-1?Q?Schl=FCter?=) On Mon, 2008-11-10 at 12:41 +0200, Jani Taskinen wrote: > 1. Change ext/phar to be disabled by default Is that the only case? We have a few new extensions, fileinfo is enabled by default at the moment, hash is, sqlite3 is, ... So the question is: What's the purpose of bundling extensions and what's the risk? - In general I think the reason to bundle stuff is to make it available as "default" stuff, so enabling by default makes sense. But then we also have to enable more stuff without external dependencies (mbstring, mysqlnd [1]) and we should consider enabling by default stuff where header and libs are on most systems (like zlib) ... but then again we get a really big beast as default config. So, what's the right line? > 2. Change ext/ereg to be disabled by default (scheduled to be removed in > PHP 6, iirc?) kind of related to the previous thing, we should at least deprecate it, removing has benefits as it's often insecure to use ereg (barely anyone is aware of \0-Byte problems ...) > 3. Remove ext/mhash (replaced by ext/hash) isn't mhash just a compatibility wrapper on top of hash? Kicking that out is bad for getting people to migrate to 5.3. johannes [1] Disclaimer: I'm paid by Sun/MySQL