Am 10.03.2023 um 20:04 schrieb Eugene Sidelnyk <zsidel...@gmail.com>: > Another simplified example: > > ``` > // partial application > foo(bar(1, ...));
While it is not as concise as your version I think the work-around with short arrow functions works ok unless your code is full of partial applications: foo(fn(...$a) => bar(1, ...$a)); Regards, - Chris -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: https://www.php.net/unsub.php