Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:66021 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 32612 invoked from network); 20 Feb 2013 07:46:59 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 20 Feb 2013 07:46:59 -0000 Authentication-Results: pb1.pair.com smtp.mail=christopher.jones@oracle.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=christopher.jones@oracle.com; sender-id=pass Received-SPF: pass (pb1.pair.com: domain oracle.com designates 156.151.31.81 as permitted sender) X-PHP-List-Original-Sender: christopher.jones@oracle.com X-Host-Fingerprint: 156.151.31.81 userp1040.oracle.com Received: from [156.151.31.81] ([156.151.31.81:29430] helo=userp1040.oracle.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 9E/91-19387-17F74215 for ; Wed, 20 Feb 2013 02:46:58 -0500 Received: from ucsinet21.oracle.com (ucsinet21.oracle.com [156.151.31.93]) by userp1040.oracle.com (Sentrion-MTA-4.3.1/Sentrion-MTA-4.3.1) with ESMTP id r1K7ksm9010933 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Wed, 20 Feb 2013 07:46:55 GMT Received: from acsmt358.oracle.com (acsmt358.oracle.com [141.146.40.158]) by ucsinet21.oracle.com (8.14.4+Sun/8.14.4) with ESMTP id r1K7kroD006341 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 20 Feb 2013 07:46:54 GMT Received: from abhmt101.oracle.com (abhmt101.oracle.com [141.146.116.53]) by acsmt358.oracle.com (8.12.11.20060308/8.12.11) with ESMTP id r1K7krVH011451; Wed, 20 Feb 2013 01:46:53 -0600 Received: from [10.159.103.67] (/10.159.103.67) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Tue, 19 Feb 2013 23:46:53 -0800 Message-ID: <51247F6C.5040309@oracle.com> Date: Tue, 19 Feb 2013 23:46:52 -0800 User-Agent: Mozilla/5.0 (X11; Linux i686; rv:17.0) Gecko/20130107 Thunderbird/17.0.2 MIME-Version: 1.0 To: Klaus Ufo CC: internals@lists.php.net References: <1361344921.21988.YahooMailClassic@web171605.mail.ir2.yahoo.com> In-Reply-To: <1361344921.21988.YahooMailClassic@web171605.mail.ir2.yahoo.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Source-IP: ucsinet21.oracle.com [156.151.31.93] Subject: Re: [PHP-DEV] PHP 6 : a new API ? From: christopher.jones@oracle.com (Christopher Jones) On 02/19/2013 11:22 PM, Klaus Ufo wrote: > Hi there ! > > We all know that the current PHP API has flaws. Maybe we could use namespaces to build a new coherent PHP API ? Like : > > - \arr > - \num > - \str > > and so on. Advantages : > > - no more global functions > - separation of concerns > - backward compatibility > - work can be done progressively > - easy to add user-defined functions (using php namespaces) > - we could provide a \str\utf8 namespace > > This is just an idea. I don't know what is your vision for a next PHP 6. > > KH > While it's good to see people float ideas, what is needed is real commitment to write the code to implement them. Can you comment on what participation you envisage for yourself? At the moment your email sounds like a "someone should do" list (see point 4 of https://blogs.oracle.com/opal/entry/the_mysterious_php_rfc_process). If this isn't the case, I look forward to seeing some prototypes from you or from anyone else willing to contribute to your ideas. Chris -- christopher.jones@oracle.com http://twitter.com/ghrd Newly updated, free PHP & Oracle book: http://www.oracle.com/technetwork/topics/php/underground-php-oracle-manual-098250.html