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
Have you experienced this issue?
Rate the importance of this bug to you:

 [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

Add a Patch

Pull Requests

Add a Pull Request

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 Apr 18 13:01:27 2024 UTC