Re: [RFC] skipping optional parameters
| From: | Stefan Neufeind | Date: | Wed, 18 Apr 2012 11:08:02 +0000 |
| Subject: | Re: [RFC] skipping optional parameters | ||
| References: | 1 2 3 4 5 6 7 8 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-60184@lists.php.net to get a copy of this message | ||
On 04/18/2012 01:05 PM, Arvids Godjuks wrote:
> I personally would vote for the "default" keyword if I want to skip the
> param rather than just doing it with , - the keyword approach is much more
> readable and error prone.
I also agree that the "comma-train" (multiple commas without anything
inbetween) might be too confusing and that using a default-keyword
(whatever it might be) might imho be an option.
Regards,
Stefan