Re: Skipping of defaulted parameters.
| From: | Michael Shadle | Date: | Thu, 21 Oct 2010 08:12:17 +0000 |
| Subject: | Re: Skipping of defaulted parameters. | ||
| References: | 1 2 3 4 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-49948@lists.php.net to get a copy of this message | ||
On Thu, Oct 21, 2010 at 1:10 AM, Ferenc Kovacs <info@tyrael.hu> wrote:
> With #6, you would lose the argument hinting(either be native, or phpdoc)
> feature for your method.
you would, however
a) it's already supported
b) there's no language changes required
c) do your own typecasting, sanity checking, bounds checking, etc.
inside of the function
i put an example in another email.