Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:17910 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 90484 invoked by uid 1010); 12 Aug 2005 19:04:08 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 90469 invoked from network); 12 Aug 2005 19:04:08 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 12 Aug 2005 19:04:08 -0000 X-Host-Fingerprint: 69.12.155.130 69-12-155-130.dsl.static.sonic.net Linux 2.4/2.6 Received: from ([69.12.155.130:3161] helo=pigeon.alphaweb.net) by pb1.pair.com (ecelerity 2.0 beta r(6323M)) with SMTP id B6/6E-33075-7A2FCF24 for ; Fri, 12 Aug 2005 15:04:07 -0400 Received: from localhost ([127.0.0.1] helo=peiscg33m) by pigeon.alphaweb.net with smtp (Exim 4.10) id 1E3eDK-0004oK-00 for internals@lists.php.net; Fri, 12 Aug 2005 11:25:06 -0700 Message-ID: <005001c59f70$9bc3ef70$5c8be5a9@ohr.berkeley.edu> Reply-To: "Sara Golemon" To: References: <42FCE0E4.604@lerdorf.com> Date: Fri, 12 Aug 2005 12:04:04 -0700 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1506 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1506 Subject: Re: PHP 6.0 Wishlist From: pollita@php.net ("Sara Golemon") > 1. Remove register_globals completely > Amen! +1 > 2. Remove magic_quotes_* > Hallelujiah! +1 > 3. Add input filter extension which will include a mechanism for > application developers to very easily turn it off which would swap > the raw GPC arrays back in case the site had it turned on by default. > Eh... +0 > 4. Include an opcode cache by default. A lot of work has gone into > pecl/apc recently, but I am not hung up on which one goes in. > Okay... +0 > 5. Remove safe_mode and focus on open_basedir > +1 on dropping safe_mode, and here's a thought for open_basedir. I was thinking about a comment made in another thread... how about open_basedir_child(bool). When enabled, only files at or below the directory in which the current script is executed from may be opened. There may be some SAPIs where this is problematic (since we may not know what directory the file is opened from reliably), but it's worth looking into. > 6. Remove some stuff that has been marked deprecated since PHP 3/4 > Praise non-denominational-diety! +1 Though my definition of "remove" would actually be "migrate to siberia". Whole modules where appropriate. "deprecation" collections where not. > A couple of others that we could consider, but I don't actually think > wins us much apart from academic purity (which I have never been all > that keen on) are: > > 7. Make identifiers case-sensitive > Or perhaps optionally case sensitive? I dunno, I've made my peace with PHP being (mostly) case-insensitive. > 8. Remove various function aliases > Many of these fall under #6 honestly. I can think of a few that can fall by the wayside. #9... No.... must...resist....four-letter-token....can-of-worms....mmmmggmhghmhhmmhgmhmgm mmm * otherbird sneaks up behind Sara and clamps her mouth shut before the genie is released.