Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:69694 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 3210 invoked from network); 19 Oct 2013 00:18:04 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 19 Oct 2013 00:18:04 -0000 Authentication-Results: pb1.pair.com header.from=ajf@ajf.me; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=ajf@ajf.me; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain ajf.me designates 198.187.29.241 as permitted sender) X-PHP-List-Original-Sender: ajf@ajf.me X-Host-Fingerprint: 198.187.29.241 imap3-1.ox.registrar-servers.com Received: from [198.187.29.241] ([198.187.29.241:58802] helo=imap3-1.ox.registrar-servers.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 14/AD-23638-9BFC1625 for ; Fri, 18 Oct 2013 20:18:01 -0400 Received: from localhost (localhost [127.0.0.1]) by oxmail.registrar-servers.com (Postfix) with ESMTP id 6F3EA2A006F for ; Fri, 18 Oct 2013 20:17:57 -0400 (EDT) X-Virus-Scanned: Debian amavisd-new at imap3.ox.registrar-servers.com Received: from oxmail.registrar-servers.com ([127.0.0.1]) by localhost (imap3.ox.registrar-servers.com [127.0.0.1]) (amavisd-new, port 10024) with LMTP id EHGiWT7ngQ-t for ; Fri, 18 Oct 2013 20:17:57 -0400 (EDT) Received: from [192.168.0.200] (unknown [94.3.245.95]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by oxmail.registrar-servers.com (Postfix) with ESMTPSA id 1472A2A0053 for ; Fri, 18 Oct 2013 20:17:56 -0400 (EDT) Message-ID: <5261CFAD.90300@ajf.me> Date: Sat, 19 Oct 2013 01:17:49 +0100 User-Agent: Mozilla/5.0 (Windows NT 6.2; WOW64; rv:25.0) Gecko/20100101 Thunderbird/25.0 MIME-Version: 1.0 To: internals@lists.php.net References: <3D.BC.23638.84CA1625@pb1.pair.com> In-Reply-To: <3D.BC.23638.84CA1625@pb1.pair.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] RFC: Expectations From: ajf@ajf.me (Andrea Faulds) On 18/10/2013 22:46, Joe Watkins wrote: > Evening Chaps, > > Following on from discussion regarding assertion API in PHP, the > following RFC is now up for discussion: > > https://wiki.php.net/rfc/expectations > > Please do point out any missing sections or information, so that it > can be clarified as quickly as possible. > > I hope this conveys the idea a bit clearer to everyone ? > > Cheers > Joe > I like it, but I'd rather we just called them what they are and use AssertionException, because expect is really just a new assert statement, with a different name to avoid conflicting with assert() for backwards-compatibility :) Otherwise, I have no objections. Thanks. -- Andrea Faulds http://ajf.me/