php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #78570 no error printing if parent class's __destruct not defined
Submitted: 2019-09-20 02:23 UTC Modified: 2019-09-29 04:22 UTC
Votes:1
Avg. Score:4.0 ± 0.0
Reproduced:0 of 1 (0.0%)
From: 747937257 at qq dot com Assigned:
Status: No Feedback Package: *General Issues
PHP Version: Irrelevant OS: fedore
Private report: No CVE-ID: None
View Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
If you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: 747937257 at qq dot com
New email:
PHP Version: OS:

 

 [2019-09-20 02:23 UTC] 747937257 at qq dot com
Description:
------------
if sub claas trys to call
parent::__destruct

and it's not defined in parent class
php will exit without any error printing

in this case, it's very hard to know what happened



Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2019-09-20 07:46 UTC] nikic@php.net
-Status: Open +Status: Feedback
 [2019-09-20 07:46 UTC] nikic@php.net
Works for me: https://3v4l.org/E4STq
 [2019-09-29 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: Thu Oct 10 23:01:26 2024 UTC