Re: RE: RFC: expectations/assertions
| From: | Andrea Faulds | Date: | Tue, 04 Feb 2014 21:12:30 +0000 |
| Subject: | Re: RE: RFC: expectations/assertions | ||
| References: | 1 2 3 4 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-72213@lists.php.net to get a copy of this message | ||
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/