Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:33754 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 19435 invoked by uid 1010); 5 Dec 2007 18:35:20 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 19418 invoked from network); 5 Dec 2007 18:35:20 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 5 Dec 2007 18:35:20 -0000 Authentication-Results: pb1.pair.com smtp.mail=php@benjaminschulz.com; spf=permerror; sender-id=unknown Authentication-Results: pb1.pair.com header.from=php@benjaminschulz.com; sender-id=unknown Received-SPF: error (pb1.pair.com: domain benjaminschulz.com from 80.81.249.139 cause and error) X-PHP-List-Original-Sender: php@benjaminschulz.com X-Host-Fingerprint: 80.81.249.139 mx.systisoft.com Linux 2.5 (sometimes 2.4) (4) Received: from [80.81.249.139] ([80.81.249.139:45679] helo=mx.systisoft.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id D8/DC-20707-16FE6574 for ; Wed, 05 Dec 2007 13:35:19 -0500 Received: (qmail 4938 invoked from network); 5 Dec 2007 18:34:58 -0000 Received: from unknown (HELO mail.ih.systisoft.com) (80.81.249.133) by mx.systisoft.com with SMTP; 5 Dec 2007 18:34:58 -0000 Received: from localhost (localhost [127.0.0.1]) by mail.ih.systisoft.com (Postfix) with ESMTP id 3D3CDA4450 for ; Wed, 5 Dec 2007 19:35:10 +0100 (CET) Received: from mail.ih.systisoft.com ([127.0.0.1]) by localhost (heidi.b.ih.systisoft.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 02221-10 for ; Wed, 5 Dec 2007 19:35:04 +0100 (CET) Received: from rocx.bs.ih.systisoft.com (unknown [10.0.5.10]) by mail.ih.systisoft.com (Postfix) with ESMTP id 3A01DA442F for ; Wed, 5 Dec 2007 19:35:04 +0100 (CET) Message-ID: To: internals Mailing List In-Reply-To: Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v915) Date: Wed, 5 Dec 2007 19:35:01 +0100 References: <4755E492.2080906@chiaraquartet.net> <4755FD27.3030802@zend.com> <064401c836de$e49dde10$e6dfc350@foxbox> <00A2E2156BEE8446A81C8881AE117F199A067A@companyweb> X-Mailer: Apple Mail (2.915) X-Virus-Scanned: by amavisd-new at mail.ih.systisoft.com X-Spam-Status: No, hits=-1.138 tagged_above=-999 required=5 tests=ALL_TRUSTED, AWL, BAYES_40, MISSING_SUBJECT, NO_RECEIVED X-Spam-Level: Subject: Re: AW: [PHP-DEV] Re: RFC: Dropping Namespace From: php@benjaminschulz.com (Benjamin Schulz) On 05.12.2007, at 17:43, Sebastian Bergmann wrote: > Matthias Pigulla schrieb: >> Given that it was technically feasible, (future) core classes should >> be in namespaces as well. > > Or > > - Introduce namespaces in PHP 6 > - Move all functions and classes that are now global into > (per-extension) namespace(s) > - Add a fallback mechanism that looks up mysqli_query() as query() > in the MySQLi extension's namespace for PHP 6.0, drop that BC > layer in PHP 6.1 > What about adding namespaced aliases for internal classes as a start (basically: class spl::FileInfo extends SplFileInfo) and drop the old names (SplFileInfo) in PHP6 and keep only the new ones.