Re: PHP 7.1 - Address PHPSadness #28?
| From: | Lauri Kenttä | Date: | Sat, 19 Sep 2015 07:10:09 +0000 |
| Subject: | Re: PHP 7.1 - Address PHPSadness #28? | ||
| References: | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-88368@lists.php.net to get a copy of this message | ||
On 2015-09-17 11:58, Rowan Collins wrote:
Interestingly, ... there's no way I know of to detect if a parameter was omitted from your function call rather than passed an explicit null;There is! It's called func_num_args, and it's very ugly. -- Lauri Kenttä