Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:72191 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 75144 invoked from network); 4 Feb 2014 11:30:20 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 4 Feb 2014 11:30:20 -0000 Authentication-Results: pb1.pair.com header.from=yohgaki@gmail.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=yohgaki@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.217.172 as permitted sender) X-PHP-List-Original-Sender: yohgaki@gmail.com X-Host-Fingerprint: 209.85.217.172 mail-lb0-f172.google.com Received: from [209.85.217.172] ([209.85.217.172:41848] helo=mail-lb0-f172.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 5D/02-64896-A4FC0F25 for ; Tue, 04 Feb 2014 06:30:20 -0500 Received: by mail-lb0-f172.google.com with SMTP id c11so6396704lbj.31 for ; Tue, 04 Feb 2014 03:30:15 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc:content-type; bh=2mMuwtN2ZSXTncFUlEw95+VdbGwdRUokBjzq39gFtnM=; b=fThWr/ybYESy61fb7U/QiRgbhO4xoeOxcPftDZdIjfQIzxpUbEfHrhgJEOgnuJ26Ql suG4StN1zgldq4YrWBXjJleGG0JlCS6YNbJliPZt6hhIG032oUjHsmfASPF6G56SjCUa hUp2NjR6JEiA8x57GXJdVCHc4i5k+puqxbTqdtwiHdkSw250ebqfm2Bxku62yMKJWOU8 hmuTnDpWd9LcHzfluTuAv0fsDxcEDdeYyDTnjo4DRrBIERwHkWSlJmRR5bRQuvf55noq XV164pOcEhgQrDOUSP7adQ2r5uVV4FJpCOyRT+9EY88jnDwpw6Og3DHc2lBCByKuKWCN WIxQ== X-Received: by 10.112.164.5 with SMTP id ym5mr1243009lbb.48.1391513415780; Tue, 04 Feb 2014 03:30:15 -0800 (PST) MIME-Version: 1.0 Sender: yohgaki@gmail.com Received: by 10.112.199.37 with HTTP; Tue, 4 Feb 2014 03:29:35 -0800 (PST) In-Reply-To: <52EE2B66.4040005@pthreads.org> References: <52EE2B66.4040005@pthreads.org> Date: Tue, 4 Feb 2014 20:29:35 +0900 X-Google-Sender-Auth: hCVdVb5Tp_Nb64_icf3TPm8yuUw Message-ID: To: Joe Watkins Cc: PHP internals Content-Type: multipart/alternative; boundary=001a11c26818d90e2004f192f618 Subject: Re: [PHP-DEV] RE: RFC: expectations/assertions From: yohgaki@ohgaki.net (Yasuo Ohgaki) --001a11c26818d90e2004f192f618 Content-Type: text/plain; charset=UTF-8 Hi Joe, On Sun, Feb 2, 2014 at 8:26 PM, Joe Watkins wrote: > https://wiki.php.net/rfc/expectations > Current assert() may call functions php > assert(version_compare(PHP_VERSION, '4', '<')); Warning: assert(): Assertion failed in php shell code on line 1 but it seem not closure like this php > assert(function() {return 2>1;}); php > assert(function() {return 2<1;}); Is it possible write closure like this? Regards, -- Yasuo Ohgaki yohgaki@ohgaki.net --001a11c26818d90e2004f192f618--