чт, 24 июн. 2021 г. в 17:38, Claude Pache :
> Le 18 juin 2021 à 16:35, Дмитрий Елисеев a écrit :
>
> Hello! When I use a static anonymous function as an HTTP-action in
> some frameworks like:
>
> $app = new App();
> $app->get('/', static function () {
> return new Response('Hello!);
> })
>
> I g
> Le 18 juin 2021 à 16:35, Дмитрий Елисеев a écrit :
>
> Hello! When I use a static anonymous function as an HTTP-action in
> some frameworks like:
>
> $app = new App();
> $app->get('/', static function () {
> return new Response('Hello!);
> })
>
> I get a warning "Cannot bind an instance t