Bug #78570 [Fbk->NoF]: no error printing if parent class's __destruct not defined

From: Date: Sun, 29 Sep 2019 04:22:08 +0000
Subject: Bug #78570 [Fbk->NoF]: no error printing if parent class's __destruct not defined
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-222941@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=78570&edit=1

 ID:               78570
 Updated by:       php-bugs@lists.php.net
 Reported by:      747937257 at qq dot com
 Summary:          no error printing if parent class's __destruct not
                   defined
-Status:           Feedback
+Status:           No Feedback
 Type:             Bug
 Package:          *General Issues
 Operating System: fedore
 PHP Version:      Irrelevant
 Private report:   N

 New Comment:

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.


Previous Comments:
------------------------------------------------------------------------
[2019-09-20 07:46:28] nikic@php.net

Works for me: https://3v4l.org/E4STq

------------------------------------------------------------------------
[2019-09-20 02:23:36] 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




------------------------------------------------------------------------



--
Edit this bug report at https://bugs.php.net/bug.php?id=78570&edit=1


Thread (3 messages)

« previous php.bugs (#222941) next »