#33824 [NEW]: __destruct() mechanism propably incorrect
| From: | rusaxakep at mail dot ru | Date: | Fri, 22 Jul 2005 16:16:04 +0000 |
| Subject: | #33824 [NEW]: __destruct() mechanism propably incorrect | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-82327@lists.php.net to get a copy of this message | ||
From: rusaxakep at mail dot ru
Operating system: Linux
PHP version: 5.0.4
PHP Bug Type: Class/Object related
Bug description: __destruct() mechanism propably incorrect
Description:
------------
I don't know, maybe is not bug, but in my opinion __destruct() must call
in "FIFO" standart's and not "Stack".
I think not correct kill parent's classes, and after child classes.
Need a "tree effect", first kill child's classes (subtree), and after kill
parent's classes.
Right? Sorry for bad english, is not native for me.
--
Edit bug report at http://bugs.php.net/?id=33824&edit=1
--
Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=33824&r=trysnapshot4
Try a CVS snapshot (php5.0): http://bugs.php.net/fix.php?id=33824&r=trysnapshot50
Try a CVS snapshot (php5.1): http://bugs.php.net/fix.php?id=33824&r=trysnapshot51
Fixed in CVS: http://bugs.php.net/fix.php?id=33824&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=33824&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=33824&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=33824&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=33824&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=33824&r=support
Expected behavior: http://bugs.php.net/fix.php?id=33824&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=33824&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=33824&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=33824&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=33824&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=33824&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=33824&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=33824&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=33824&r=float
No Zend Extensions: http://bugs.php.net/fix.php?id=33824&r=nozend
MySQL Configuration Error: http://bugs.php.net/fix.php?id=33824&r=mysqlcfg