Re: A little syntactic sugar on array_* function calls?
| From: | someniatko | Date: | Tue, 25 May 2021 10:07:24 +0000 |
| Subject: | Re: A little syntactic sugar on array_* function calls? | ||
| References: | 1 2 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-114573@lists.php.net to get a copy of this message | ||
Sorry, I made a typo here. In combination with the proposed Partial
Function Application RFC
(https://wiki.php.net/rfc/partial_function_application), which is
however is under active discussion, and changes will probably be made
to it, it would look roughly like this:
```php
$array |> array_map($somefunction, ?);
```
Best wishes,
someniatko