On Thu, Jul 2, 2020 at 12:26 PM Dan Ackroyd wrote:
> On Wed, 1 Jul 2020 at 20:40, Larry Garfield
> wrote:
>
> > it would also offer a way to do effectively the same thing
>
> One use-case that would need to be covered for that would be for
> callables where you don't know how many parameters the
On Wed, 1 Jul 2020 at 20:40, Larry Garfield wrote:
> it would also offer a way to do effectively the same thing
One use-case that would need to be covered for that would be for
callables where you don't know how many parameters there would be in
the callable.
> duplicate functionality needlessl
On Wed, Jul 1, 2020, at 4:55 AM, Dan Ackroyd wrote:
> On Tue, 26 May 2020 at 18:08, Iván Arias wrote:
> > Just a Little question. I see this other document in the same repo:
> >
> > https://github.com/Danack/FunctionTypes/blob/master/3_referencing_functions_and_callables.md
> >
> > Are you plannin
On Tue, 26 May 2020 at 18:08, Iván Arias wrote:
> Just a Little question. I see this other document in the same repo:
>
> https://github.com/Danack/FunctionTypes/blob/master/3_referencing_functions_and_callables.md
>
> Are you planning to also raise it?
Yes, but for PHP 8.1.
Although I think it'
as.
De: Dan Ackroyd<mailto:dan...@basereality.com>
Enviado: miércoles, 20 de mayo de 2020 15:01
Para: PHP internals<mailto:internals@lists.php.net>
Asunto: [PHP-DEV] Draft RFC callable types + callable type/function autoloading
Hi internals,
A while ago, I spent some time thinking a
> On 20 May 2020, at 20:07, Dan Ackroyd wrote:
>
> Hi internals,
>
> A while ago, I spent some time thinking about callables, and how they
> are not very consistent, which makes people sad:
> https://wiki.php.net/rfc/consistent_callables
>
> The reason I didn't pursue that RFC is that althou
Hi Dan Ackroyd,
> I'd be happy to see function autoloading support in php overall.
> It'd help in avoiding loading unnecessary polyfills,
> or in large codebases with many global functions that are only occasionally
> used.
I forgot, but I'd also started the thread https://externals.io/message/1
Hi Dan Ackroyd,
> Function + callable type autoloading
> https://github.com/Danack/FunctionTypes/blob/master/2_autoloading_part_2.md
I'd be happy to see function autoloading support in php overall.
It'd help in avoiding loading unnecessary polyfills, or in large codebases with
many global functi
Hi internals,
A while ago, I spent some time thinking about callables, and how they
are not very consistent, which makes people sad:
https://wiki.php.net/rfc/consistent_callables
The reason I didn't pursue that RFC is that although tidying up PHP
core to be more consistent would be nice, it would