Re: PHP6 todo list

From: Date: Mon, 16 Apr 2007 18:36:53 +0000
Subject: Re: PHP6 todo list
References: 1 2 3 4 5 6 7 8 9 10 11 12  Groups: php.internals 
Request: Send a blank email to internals+get-28865@lists.php.net to get a copy of this message
Sorry for the cryptic reply. I think that initializing a static class property as well as initializing a default property with for example an array is an obvious use case. Try to do the following in an extension: class c { static $prop1 = array("foo", "bar"); var $prop2 = array(1,2,3); }
I see, thanks. Are there any existing internal classes that need this capability? -- Stanislav Malyshev, Zend Products Engineer stas@zend.com http://www.zend.com/

« previous php.internals (#28865) next »