Req #28720 [Com]: what about a __static() method
Edit report at http://bugs.php.net/bug.php?id=28720&edit=1
ID: 28720
Comment by: markus at malkusch dot de
Reported by: dardo at gigared dot com
Summary: what about a __static() method
Status: Wont fix
Type: Feature/Change Request
Package: Feature/Change Request
Operating System: all
PHP Version: 5CVS-2004-06-10 (dev)
New Comment:
This autoloader implementation supports the class constructor
__static():
http://php-autoloader.malkusch.de/en/
Previous Comments:
------------------------------------------------------------------------
[2004-06-10 09:03:59] derick@php.net
No thanks, we will not add this. PHP is not Java.
------------------------------------------------------------------------
[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/bug.php?id=28720&edit=1
Thread (3 messages)