Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:83302 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 99893 invoked from network); 20 Feb 2015 14:22:07 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 20 Feb 2015 14:22:07 -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.216.173 as permitted sender) X-PHP-List-Original-Sender: pierre.php@gmail.com X-Host-Fingerprint: 209.85.216.173 mail-qc0-f173.google.com Received: from [209.85.216.173] ([209.85.216.173:33278] helo=mail-qc0-f173.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 33/17-54878-D0347E45 for ; Fri, 20 Feb 2015 09:22:06 -0500 Received: by qcxm20 with SMTP id m20so821637qcx.0 for ; Fri, 20 Feb 2015 06:22:03 -0800 (PST) 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=FY0QWQGVNDquLgOX4aDmA5tj2/zQpEksHsbiqYUkttE=; b=TgwngoQkgrsx0Ulm9861R+odsGx+u/2ambZoZZBcEih2qpvrTSbQAS5ylcdIBZ9Zip cwizn33GDSRjB5Q88eaBuJ9PWCr/GGHVVXKcAnX5kWjIbXIoF7xEUTwVt+W8TDwarAyS 5TR0NZCKgRu5srAhGoySZVNyEXadBCgesOwl38WlCjmEep2U4CbscDFR05AkRbk0RF3K jIyJmkTRj7H2Q1Csms5zams+bLQzEJYxTyNOmQ0bFGBWG36oy/45Vdt2DYFd0Wigeeze riJe6IjBkaBruozfEILTEOIA6XB8OmKlu3zK7Qg43tGqd3DEVdtsXZR6a+M+iTUdoXUz pXWA== MIME-Version: 1.0 X-Received: by 10.140.85.137 with SMTP id n9mr23030200qgd.17.1424442123101; Fri, 20 Feb 2015 06:22:03 -0800 (PST) Received: by 10.96.39.195 with HTTP; Fri, 20 Feb 2015 06:22:02 -0800 (PST) In-Reply-To: References: Date: Fri, 20 Feb 2015 06:22:02 -0800 Message-ID: To: Joe Watkins Cc: PHP internals Content-Type: text/plain; charset=UTF-8 Subject: Re: [PHP-DEV] [VOTE] Expectations From: pierre.php@gmail.com (Pierre Joye) On Thu, Feb 19, 2015 at 7:00 AM, Pierre Joye wrote: > On Thu, Feb 19, 2015 at 1:09 AM, Joe Watkins wrote: >> Morning internals, >> >> The expectations RFC is now in voting phase: >> https://wiki.php.net/rfc/expectations#vote > > I totally miss the Expectation RFC announcement. Where the RFC was > actually proposed for discussions. > > I have been following up the DbC thread, seeing some mentions but > that's it. The RFC itself popped up 3 days ago. > > Also the RFC itself only point to various discussions, there is no > summary, details, docs, examples, etc in the RFC. > > I am sorry but as much I like (for what I think it does) as I like the > concept, this RFC does not have, by far, the quality I would expect > for a RFC being voted on. Coming back to this point. I very much like what is presented here. However I think it is pre mature to vote on as there was (sorry) not explicit discussions about it. A couple of things are unclear. See the numerous questions in this thread. I also do not like other things. zend.assertions: I understand we need to be able to disable them. Is production vs development/debug mode specific to assertion? I do not think so, we should have a more general setting for that so other areas can be used for it. INI_SYSTEM may also reduce the usage of this feature to local development or dedicated hosts. Any shared hoster (those not allowing to change php.ini) won't be able to test in similar tests environment. It is not critical but it is something you may reconsider. assert.exceptions: Let solve the exception usages in the engine first and see how to deal with them more globally, including naming, NS or where and how they can be used. This is in my eyes a pre requise to this RFC. INI_ALL is used here. That means that just like error_reporting (which is actually very painful), calling some random codes may makes my code (caller) raised exceptions when I do not want to, or the other way round? I am not too keen on that idea. Cheers, -- Pierre @pierrejoye | http://www.libgd.org