Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:69900 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 41262 invoked from network); 27 Oct 2013 16:03:33 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 27 Oct 2013 16:03:33 -0000 Authentication-Results: pb1.pair.com header.from=pierre.php@gmail.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=pierre.php@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.215.50 as permitted sender) X-PHP-List-Original-Sender: pierre.php@gmail.com X-Host-Fingerprint: 209.85.215.50 mail-la0-f50.google.com Received: from [209.85.215.50] ([209.85.215.50:51103] helo=mail-la0-f50.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id E0/CC-45431-3593D625 for ; Sun, 27 Oct 2013 11:03:32 -0500 Received: by mail-la0-f50.google.com with SMTP id ec20so4381423lab.23 for ; Sun, 27 Oct 2013 09:03:28 -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=aA1Wzz98NgyhXZxLxIed6Sk2yAnOq9PhMB9zxYrVjc4=; b=Uf0xJvnQI0BdtfCCIS4HeN21k7V0CQvzMaSVLzL4Z3Uio3DhCzR6OnK8Y5GTOGd81n 2W8i5jKoYba91usfSpdwbASuyxbP4lYlQ9+/dmUaulSbno3ejtue76BjuJ2pSLxOWwHy w4uZGg2Yw/nDE9D5PQ/dzRZvoMbJLQ1PNvgYspdJkyFq9wwCEHUXsP3KkRF+GJBX1ajR fcoHt/7cJagHWEFqFckM2mJkx2e9T2FqBFVHJjqJ8+ZcdHb2dnddDk1kjN2z8pf4exwm tvsnTDzyOlltbKOaLF0M2XQMF9p3PlP54K52gSnTpDVIQlD7H/EenO0Ag8/5tQT6x0Sk J3oQ== MIME-Version: 1.0 X-Received: by 10.112.210.66 with SMTP id ms2mr249984lbc.51.1382889808310; Sun, 27 Oct 2013 09:03:28 -0700 (PDT) Received: by 10.112.198.98 with HTTP; Sun, 27 Oct 2013 09:03:28 -0700 (PDT) In-Reply-To: References: <526D195B.9000204@gmail.com> Date: Sun, 27 Oct 2013 17:03:28 +0100 Message-ID: To: Nikita Popov Cc: Rowan Collins , PHP internals Content-Type: text/plain; charset=UTF-8 Subject: Re: [PHP-DEV] [RFC] Exceptions in the engine From: pierre.php@gmail.com (Pierre Joye) On Sun, Oct 27, 2013 at 4:51 PM, Nikita Popov wrote: > Yes, my comments are under the assumption that PHP 6 won't be there anytime > soon. Of course, if people suddenly decide that PHP 5.6 should really be > PHP 6, Really not. As of now, we have enough materials for a 5.6 and a 6.x development will most likely take 1-2 years (no, we won't let it go over many years). But 6.x discussions are a bit off topic, except about when should we allow general exceptions usage in the core :) > then there would be little to argue about ^^ Unless we have > *concrete* plans regarding PHP 6 saying "this should go into (a > hypothetical, non-existing) PHP 6" is roughly equivalent to just declining > the feature. > > PHP 6 only makes sense to me if we're planning to actually do changes with > major BC impact. Not things like this RFC, but changes of basic language > semantics (like fixing the 0 == "foo" comparison and other foundational > issues). I disagree here, with both your comment about the relevance of this RFC and what should be a 6.0. I like the idea to move to exception, optionally. But I do not like the idea to have them in one single place, and do not allow them in extensions or other part of the engine. Moving to exceptions usage in the core should be well designed and planed, and globally. This will be something much harder and longer to do than what is proposed here. Cheers, -- Pierre @pierrejoye | http://www.libgd.org