#28720 [Opn->WFx]: what about a __static() method
| From: | derick@php.net | Date: | Thu, 10 Jun 2004 07:04:01 +0000 |
| Subject: | #28720 [Opn->WFx]: what about a __static() method | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-60693@lists.php.net to get a copy of this message | ||
ID: 28720
Updated by: derick@php.net
Reported By: dardo at gigared dot com
-Status: Open
+Status: Wont fix
-Bug Type: *General Issues
+Bug Type: Feature/Change Request
Operating System: all
PHP Version: 5CVS-2004-06-10 (dev)
New Comment:
No thanks, we will not add this. PHP is not Java.
Previous Comments:
------------------------------------------------------------------------
[2004-06-10 05:33:55] dardo at gigared dot com
Description:
------------
i need to execute a static block of code only one time per
class
this is a OOP improvement to php
i wish this
class foo{
$var=123;
function __static(){
$this->var+=40;
}
}
like static { } java statement
:P
thanks..
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=28720&edit=1