Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:61221 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 35658 invoked from network); 14 Jul 2012 06:14:48 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 14 Jul 2012 06:14:48 -0000 Authentication-Results: pb1.pair.com header.from=theanomaly.is@gmail.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=theanomaly.is@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.214.170 as permitted sender) X-PHP-List-Original-Sender: theanomaly.is@gmail.com X-Host-Fingerprint: 209.85.214.170 mail-ob0-f170.google.com Received: from [209.85.214.170] ([209.85.214.170:37768] helo=mail-ob0-f170.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 37/06-20866-65E01005 for ; Sat, 14 Jul 2012 02:14:47 -0400 Received: by obfk16 with SMTP id k16so6969631obf.29 for ; Fri, 13 Jul 2012 23:14:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=K2Fg4M/obksguUPtEUMvO3ifgIPaehHqFV1jszKkZd8=; b=Y6mvF5AXvXGNRTRVG1fMSxJ3fQB8kyX6C+FXpfzY+7M9xoRSYmCeYTNQZ6lVgR6M3O ssaEDR1+Ue8YBpLEkSn2oNuh6y3mmqdkfpbEnO1bJTQrUOq2WXqBqEjgjbjjTIxKaTJt yfNPOmGAaXo+7bsmdIjVH5baqy+ybuvP0/bcN//6bhJ+mY0K3oA6BTsEix7NA0c69Kyz 6zQtm4jwXLu/Djeq3xfjqE9EbcUPdkf0wW8xLRCEfjqCKHHTyskfhH6L+3oKF++Lzsx2 QU1jCi7a0MmEhB8GQrljLDi1tXJeqB04SoFTjYp/M1HiHRAOlT/sefP64+wn1xGwd5CF H0Mg== MIME-Version: 1.0 Received: by 10.60.13.228 with SMTP id k4mr5294794oec.28.1342246484299; Fri, 13 Jul 2012 23:14:44 -0700 (PDT) Received: by 10.60.28.195 with HTTP; Fri, 13 Jul 2012 23:14:44 -0700 (PDT) In-Reply-To: <50005974.5080301@sugarcrm.com> References: <500051CC.50305@lsces.co.uk> <50005974.5080301@sugarcrm.com> Date: Sat, 14 Jul 2012 02:14:44 -0400 Message-ID: To: Stas Malyshev Cc: Lester Caine , PHP internals Content-Type: text/plain; charset=ISO-8859-1 Subject: Re: [PHP-DEV] 6.0 And Moving Forward From: theanomaly.is@gmail.com (Sherif Ramadan) I'd like to address the most obvious issues I see with moving on to PHP 6. First, there has already been a lot of discussion on PHP 6 since as early as 2007, if I recall correctly. Albeit, a lot of this has died down over the years, but there are probably still a lot of books and people out there with misconceptions about PHP 6 and this could lead to further confusion. I believe it's important to try and make any future transitions into PHP easier. I propose choosing a different version naming for the next branch. Perhaps we can skip 6 since it got nowhere and move right to 7. I'm sure that's superficial right now, but will be important for the sake of not confusing anyone that may have read or heard about what PHP 6 was once planned to be. Second, I agree with moving towards exceptions and away from E_* error levels. The fact that individual PHP functions have different ways of dealing with errors, and that PHP error constants tend to change over time, makes a lot of the error handling stuff pretty rigid and non-obvious. I'm not sure about making scalars objects and all the unicode stuff, but I think for the most part PHP needs tweaks to the parser. I also hear a lot of copmlaints about that. I'd favor a complete rewrite of the parser.