ID:               28720
 Updated by:       [EMAIL PROTECTED]
 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

Reply via email to