PHP 4.0 Bug #7766 Updated: not OO until automatic class destructor is added
| From: | rasmus@php.net | Date: | Sun, 12 Nov 2000 09:00:29 +0000 |
| Subject: | PHP 4.0 Bug #7766 Updated: not OO until automatic class destructor is added | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-37807@lists.php.net to get a copy of this message | ||
ID: 7766
Updated by: rasmus
Reported By: shelby@DownloadFAST.com
Status: Closed
Bug Type: Class/Object related
Assigned To:
Comments:
Nobody ever claimed that PHP was an OO language.
Previous Comments:
---------------------------------------------------------------------------
[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.
---------------------------------------------------------------------------
Full Bug description available at: http://bugs.php.net/?id=7766