Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:66045 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 77081 invoked from network); 20 Feb 2013 10:19:55 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 20 Feb 2013 10:19:55 -0000 Authentication-Results: pb1.pair.com header.from=krebs.seb@gmail.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=krebs.seb@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 74.125.82.49 as permitted sender) X-PHP-List-Original-Sender: krebs.seb@gmail.com X-Host-Fingerprint: 74.125.82.49 mail-wg0-f49.google.com Received: from [74.125.82.49] ([74.125.82.49:35014] helo=mail-wg0-f49.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id B3/0B-19387-A43A4215 for ; Wed, 20 Feb 2013 05:19:54 -0500 Received: by mail-wg0-f49.google.com with SMTP id 15so6138065wgd.28 for ; Wed, 20 Feb 2013 02:19:51 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:mime-version:in-reply-to:references:from:date:message-id :subject:to:cc:content-type; bh=GNaChtJUXprxkmE7QpwF77jUqq0E7lweUMy80NRe3Gg=; b=o9JivlLRukD/IX1vMq6JJ+xZcVYR6B7t+pAR5SABVl6+ULR9aeUdMpO2ZK00qSC7wQ /pX7bhNHBTQVnevTbkCr0xcxQlcKZEFWrWlyx8sh43zgiY6g/b5T64pLva4ku00f/xJc nJhHWj5wJqEjfeP/lx8h/7IOL/w8hsMXHC/3E6Y7kFjFqwMSkks+1ZyG+XTRMKSska4F F2CIMjeJiD3+Wro8yTKwcBRS3LRvp6VUtErDUhXxLflVZwibWVrMATXzFoFyI5BMzCSw s1RNiDayau3C0JpYhXlAHSVzzZ/m8IIw19nXZAHD2OC7VQ6agRnMgcpQ1qr38Z2spxJp JeqA== X-Received: by 10.194.110.69 with SMTP id hy5mr32595083wjb.1.1361355590959; Wed, 20 Feb 2013 02:19:50 -0800 (PST) MIME-Version: 1.0 Received: by 10.216.98.197 with HTTP; Wed, 20 Feb 2013 02:19:29 -0800 (PST) In-Reply-To: <1361344921.21988.YahooMailClassic@web171605.mail.ir2.yahoo.com> References: <1361344921.21988.YahooMailClassic@web171605.mail.ir2.yahoo.com> Date: Wed, 20 Feb 2013 11:19:29 +0100 Message-ID: To: Klaus Ufo Cc: PHP internals list Content-Type: multipart/alternative; boundary=089e010d867a69810604d6254c4f Subject: Re: [PHP-DEV] PHP 6 : a new API ? From: krebs.seb@gmail.com (Sebastian Krebs) --089e010d867a69810604d6254c4f Content-Type: text/plain; charset=ISO-8859-1 2013/2/20 Klaus Ufo > 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 > Just to throw that in: Even if you pack them into namespaces they will still remain global functions. They simply don't live in the root-namespace anymore. > - 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 > > -- > PHP Internals - PHP Runtime Development Mailing List > To unsubscribe, visit: http://www.php.net/unsub.php > > -- github.com/KingCrunch --089e010d867a69810604d6254c4f--