Re: RE: RFC: expectations/assertions

From: Date: Tue, 04 Feb 2014 11:29:35 +0000
Subject: Re: RE: RFC: expectations/assertions
References: 1  Groups: php.internals 
Request: Send a blank email to internals+get-72191@lists.php.net to get a copy of this message
Hi Joe, On Sun, Feb 2, 2014 at 8:26 PM, Joe Watkins <pthreads@pthreads.org> 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

« previous php.internals (#72191) next »