Bug #7766 Updated: not OO until automatic class destructor is added

From: Date: Sun, 06 Jan 2002 16:52:00 +0000
Subject: Bug #7766 Updated: not OO until automatic class destructor is added
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-76058@lists.php.net to get a copy of this message
ID: 7766 Updated by: jan Reported By: shelby@DownloadFAST.com Old Status: Open Status: Closed Bug Type: Feature/Change Request Operating System: FreeBSD Apache PHP Version: 4.0.3pl1 New Comment: we'll have destructors with ZE2 (PHP5). closing Previous Comments: ------------------------------------------------------------------------ [2000-11-12 04:49:46] stas@php.net Moved to feature requests ------------------------------------------------------------------------ [2000-11-12 04:33:56] shelby@DownloadFAST.com Then why add classes? Are you implying to businesses that if they invest in your features, you do not intend to complete them? ------------------------------------------------------------------------ [2000-11-12 04:21:58] shelby@DownloadFAST.com Then why add classes? Are you implying to businesses that if they invest in your features, you do not intend to complete them? ------------------------------------------------------------------------ [2000-11-12 04:00:29] rasmus@php.net Nobody ever claimed that PHP was an OO language. ------------------------------------------------------------------------ [2000-11-12 03:24:44] shelby@DownloadFAST.com The lack of an automatic class destructor makes it impossible to make code completely OO. For example, we have a Table class which outputs an HTML <TABLE> with error checking. It is impossible to detect the case where Table::EndTable() is not called (</TABLE> not issued) because class destructors do not exist in the PHP4 language. PLEASE CORRECT THIS GLARING DEFICIENCY ASAP! I am a prolific commercial programming of $million products (Corel Painter, Cool Page, etc). PHP4 is a an incredible tool. We are considering purchasing the new compiler technology. So please fix this silly omission. Please. Please. ------------------------------------------------------------------------ Edit this bug report at http://bugs.php.net/?id=7766&edit=1

« previous php.dev (#76058) next »