Stanislav Malyshev wrote:
Hi!
language syntax, whereas the "use" construct after the argument list
is inconsistent with the ordinary function definition unless my proposal
Because it is _not_ an ordinary function definition. It's like saying
'+' is "inconsistent" with '-' because $a+$b=$b+$a but $a-$b!=$b-$a.
Your argument sounds far too extreme.
P.S. btw, in your proposal functions would be "inconsistent" with methods.
Should I follow like "methods are not functions"? or "PHP has
inconsistent language features." That seems oddly enough.
Moriyoshi
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php