#33824 [Opn]: __destruct() mechanism propably incorrect

From: Date: Fri, 22 Jul 2005 16:19:07 +0000
Subject: #33824 [Opn]: __destruct() mechanism propably incorrect
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-82328@lists.php.net to get a copy of this message
ID: 33824 User updated by: rusaxakep at mail dot ru Reported By: rusaxakep at mail dot ru Status: Open Bug Type: Class/Object related Operating System: Linux PHP Version: 5.0.4 New Comment: Please ignore previous comment. I don't know, maybe is not bug, but in my opinion __destruct() must call in "FIFO" standart's and not "STACK". I think isn't correct kill parent's classes, before child classes. Right? Previous Comments: ------------------------------------------------------------------------ [2005-07-22 18:15:50] rusaxakep at mail dot ru 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 this bug report at http://bugs.php.net/?id=33824&edit=1

« previous php.bugs (#82328) next »