Levi Morrison wrote on 01/10/2015 19:09:
You are capped to saving about 5-7 characters no matter what you do with this functionality.
I see an upper limit to savings of 21 - using "|" to stand in for "some single character delimiting the sections" gives:
|$x|$y|$x*$y| // 13 chars vs function($x)use($y){return $x*$y;} // 34 chars -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php