PHP 4.0 Bug #7766: not OO until automatic class destructor is added
| From: | shelby at DownloadFAST dot com | Date: | Sun, 12 Nov 2000 08:24:44 +0000 |
| Subject: | PHP 4.0 Bug #7766: not OO until automatic class destructor is added | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-37806@lists.php.net to get a copy of this message | ||
From: shelby@DownloadFAST.com
Operating system: FreeBSD Apache
PHP version: 4.0.3pl1
PHP Bug Type: Class/Object related
Bug description: not OO until automatic class destructor is added
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 Bug report at: http://bugs.php.net/?id=7766&edit=1