Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:72213 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 47500 invoked from network); 4 Feb 2014 21:12:40 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 4 Feb 2014 21:12:40 -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.247 as permitted sender) X-PHP-List-Original-Sender: ajf@ajf.me X-Host-Fingerprint: 198.187.29.247 imap4-3.ox.registrar-servers.com Received: from [198.187.29.247] ([198.187.29.247:59129] helo=imap4-3.ox.registrar-servers.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 33/F3-13782-5C751F25 for ; Tue, 04 Feb 2014 16:12:39 -0500 Received: from localhost (localhost [127.0.0.1]) by oxmail.registrar-servers.com (Postfix) with ESMTP id 839B556007E; Tue, 4 Feb 2014 16:12:34 -0500 (EST) X-Virus-Scanned: Debian amavisd-new at imap4.ox.registrar-servers.com Received: from oxmail.registrar-servers.com ([127.0.0.1]) by localhost (imap4.ox.registrar-servers.com [127.0.0.1]) (amavisd-new, port 10024) with LMTP id RL2OWQzVl32w; Tue, 4 Feb 2014 16:12:34 -0500 (EST) Received: from [192.168.0.200] (unknown [176.25.177.94]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by oxmail.registrar-servers.com (Postfix) with ESMTPSA id D9BE9560075; Tue, 4 Feb 2014 16:12:32 -0500 (EST) Message-ID: <52F157BE.3020804@ajf.me> Date: Tue, 04 Feb 2014 21:12:30 +0000 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.2.0 MIME-Version: 1.0 To: Yasuo Ohgaki , Sebastian Krebs CC: Joe Watkins , PHP internals References: <52EE2B66.4040005@pthreads.org> In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] RE: RFC: expectations/assertions From: ajf@ajf.me (Andrea Faulds) On 04/02/14 21:09, Yasuo Ohgaki wrote: > It's inconsistent as closure is valid expression. > Allowing callable make behavior consistent. It enables more > complex assertion inline, thus it's possible name space clean. Might also help assert() performance, given that I expect executing a closure to be quicker than eval() (though I may be wrong). -- Andrea Faulds http://ajf.me/