|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #72205 try catch crash~
Submitted: 2016-05-12 08:06 UTC Modified: 2016-08-07 04:22 UTC
From: oksbsb at 126 dot com Assigned: pierrick (profile)
Status: No Feedback Package: *General Issues
PHP Version: master-Git-2016-05-12 (Git) OS: WINDOWS
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If this is not your bug, you can add a comment by following this link.
If this is your bug, but you forgot your password, you can retrieve your password here.
Bug Type:
From: oksbsb at 126 dot com
New email:
PHP Version: OS:


 [2016-05-12 08:06 UTC] oksbsb at 126 dot com
after 2016/5/2 commit: 0aed2cc2 by Pierrick Charron

"Add catching multiple exception"

php.exe will crash when running below code 

crash at:


funtion zend_compile_try(...)

if (! zend_is_const_default_class_ref(class_ast) )

because class_ast is null!

Test script:

try{}catch( \Exception $e ) {}



Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2016-05-17 12:03 UTC]
-Assigned To: +Assigned To: pierrick
 [2016-05-17 12:03 UTC]
Pierrick, can you please have a look at this issue?
 [2016-07-27 17:18 UTC]
-Status: Assigned +Status: Feedback
 [2016-07-27 17:18 UTC]
Thank you for this bug report. To properly diagnose the problem, we
need a backtrace to see what is happening behind the scenes. To
find out how to generate a backtrace, please read for *NIX and for Win32

Once you have generated a backtrace, please submit it to this bug
report and change the status back to "Open". Thank you for helping
us make PHP better.

 [2016-08-07 04:22 UTC] php-bugs at lists dot php dot net
No feedback was provided. The bug is being suspended because
we assume that you are no longer experiencing the problem.
If this is not the case and you are able to provide the
information that was requested earlier, please do so and
change the status of the bug back to "Re-Opened". Thank you.
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Mon May 20 07:01:34 2024 UTC