Lazare Inepologlou wrote:
> Thank you for your interest. This is just a proposal that I have tested and
> works. Of course, the final syntax can be different. Syntax is always a
> matter of taste :-)

As much as I love the idea, I have to agree that using | doesn't really
make sense here and actually makes the readability worse, IMO. However,
I can't really think of a better operator. ( $x ) => $x + 1 for example
would be ambiguous if used in an array definition, but is otherwise the
best in terms of readability.

-- 
Ryan McCue
<http://ryanmccue.info/>

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

Reply via email to