Bug #78570 [Opn->Fbk]: no error printing if parent class's __destruct not defined
Edit report at https://bugs.php.net/bug.php?id=78570&edit=1
ID: 78570
Updated by: nikic@php.net
Reported by: 747937257 at qq dot com
Summary: no error printing if parent class's __destruct not
defined
-Status: Open
+Status: Feedback
Type: Bug
Package: *General Issues
Operating System: fedore
PHP Version: Irrelevant
Block user comment: N
Private report: N
New Comment:
Works for me: https://3v4l.org/E4STq
Previous Comments:
------------------------------------------------------------------------
[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)