Pavel Kouřil wrote on 03/09/2015 07:32:
I wouldn't mind the
mandatory ( ) around parameters, but at the same time I think that
it's an useless rule and makes the written code more "cluttered" (too
much ( and ) imho make the code less readable).

Bear in mind that under the current proposal, the parentheses are only optional in the special case of a closure with exactly one parameter. Any time you want zero parameters, or more than one, you have to put them in anyway.

--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to