Drop map/reduction/filter warnings
| From: | Tim Bezhashvyly | Date: | Tue, 02 Feb 2016 21:53:01 +0000 |
| Subject: | Drop map/reduction/filter warnings | ||
| Groups: | php.internals | ||
| Request: | Send a blank email to internals+get-91057@lists.php.net to get a copy of this message | ||
Dear internals,
I would like to propose the following RFC:
If an exception is thrown inside array_reduce, array_map, array_filter, etc callback don't
flush meaningless warnings like:
> An error occurred while invoking the reduction callback ...
but pass an exception from a closure outside.
Currently this can be achieved by muting array_* with a @ but this is ugly.
Regards,
Tim