FAQ
This is already the case for PHP 7.x: https://3v4l.org/0Qinj

Marco Pivetta

http://twitter.com/Ocramius

http://ocramius.github.com/
On 2 February 2016 at 22:53, Tim Bezhashvyly wrote:

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
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Search Discussions

Discussion Posts

Previous

Follow ups

Related Discussions

Discussion Navigation
viewthread | post
posts ‹ prev | 2 of 3 | next ›
Discussion Overview
groupphp-internals @
categoriesphp
postedFeb 2, '16 at 9:53p
activeFeb 2, '16 at 9:58p
posts3
users3
websitephp.net

People

Translate

site design / logo © 2019 Grokbase