Bug #78570 [NEW]: no error printing if parent class's __destruct not defined
| From: | 747937257 at qq dot com | Date: | Fri, 20 Sep 2019 02:23:36 +0000 |
| Subject: | Bug #78570 [NEW]: no error printing if parent class's __destruct not defined | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-222832@lists.php.net to get a copy of this message | ||
From: 747937257 at qq dot com
Operating system: fedore
PHP version: Irrelevant
Package: *General Issues
Bug Type: Bug
Bug description:no error printing if parent class's __destruct not defined
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 bug report at https://bugs.php.net/bug.php?id=78570&edit=1
--
Fix committed: https://bugs.php.net/fix.php?id=78570&r=fixed
Fixed in release: https://bugs.php.net/fix.php?id=78570&r=alreadyfixed
Need backtrace: https://bugs.php.net/fix.php?id=78570&r=needtrace
Need Reproduce Script: https://bugs.php.net/fix.php?id=78570&r=needscript
Try newer version: https://bugs.php.net/fix.php?id=78570&r=oldversion
Not developer issue: https://bugs.php.net/fix.php?id=78570&r=support
Expected behavior: https://bugs.php.net/fix.php?id=78570&r=notwrong
Not enough info: https://bugs.php.net/fix.php?id=78570&r=notenoughinfo
Submitted twice: https://bugs.php.net/fix.php?id=78570&r=submittedtwice
register_globals: https://bugs.php.net/fix.php?id=78570&r=globals
PHP version support discontinued: https://bugs.php.net/fix.php?id=78570&r=phptooold
Daylight Savings: https://bugs.php.net/fix.php?id=78570&r=dst
IIS Stability: https://bugs.php.net/fix.php?id=78570&r=isapi
Install GNU Sed: https://bugs.php.net/fix.php?id=78570&r=gnused
Floating point limitations: https://bugs.php.net/fix.php?id=78570&r=float
No Zend Extensions: https://bugs.php.net/fix.php?id=78570&r=nozend
MySQL Configuration Error: https://bugs.php.net/fix.php?id=78570&r=mysqlcfg