Re: PHP 6.0 Wishlist

From: Date: Sun, 14 Aug 2005 14:20:39 +0000
Subject: Re: PHP 6.0 Wishlist
References: 1 2 3  Groups: php.internals 
Request: Send a blank email to internals+get-18052@lists.php.net to get a copy of this message
It occurred to me, while reading different parts of this thread, that if the named parameter feature makes it in to PHP 6.0, there's a solution for both sides of the parameter order argument. 1) yes, would be really nice to clean up the param order for two main reasons: a) constant manual checking b) people whine about param order, incessantly 2) yes, changing this order would break many years of code Named parameters, no matter what the syntax, as long as it is implemented throughout PHP's function-space, will solve this cleanly: strpos(needle: $foo, haystack: $bar) strpos(needle: $bar, haystack: $foo) This /is/ going to be a headache to implement and document, though. S

« previous php.internals (#18052) next »