php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #74830 Exceptions thrown by set_error_handler can't always be caught
Submitted: 2017-06-29 15:07 UTC Modified: 2017-12-28 17:23 UTC
From: marco dot marangoni1 at gmail dot com Assigned:
Status: Duplicate Package: *General Issues
PHP Version: 7.1.6 OS: Windows
Private report: No CVE-ID: None
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
MUST BE VALID
Solve the problem:
26 + 27 = ?
Subscribe to this entry?

 
 [2017-06-29 15:07 UTC] marco dot marangoni1 at gmail dot com
Description:
------------
As you can see here: https://3v4l.org/BaUji, sometimes an Exception thrown by set_error_handler cannot be caught.

Test script:
---------------
https://3v4l.org/BaUji


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2017-12-28 17:23 UTC] nikic@php.net
-Status: Open +Status: Duplicate
 [2017-12-28 17:23 UTC] nikic@php.net
Duplicate of bug #53648. Nothing special relating to set_error_handler here, this applies to all exceptions thrown from __toString().
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Mar 29 12:01:27 2024 UTC