On 6/11/2016 5:48 PM, Fleshgrinder wrote: > Currently error_get_last() always contains the last error that occurred, > however, this is actually not desired if the last error was an exception > that was caught. > > https://github.com/php/php-src/pull/1936 > > With the above change only uncaught exceptions are retrievable via > error_get_last(). This is consistent with the behavior of custom error > handlers that successfully handle the error; they are not retrievable > via error_get_last(0. > > Note that this change is a breaking change since users might rely on > exactly this behavior. However, it is undocumented and there is a bug > report for it too: > > https://bugs.php.net/bug.php?id=54043 >
Any feedback here? Should we treat it as a simple bug fix? -- Richard "Fleshgrinder" Fussenegger
signature.asc
Description: OpenPGP digital signature