Stanislav Malyshev wrote:
>> Initializing a static class resp. default instance variable with f.e.
>> an array is an obvious use case.
> 
> Err, I'm afraid I don't understand neither your abbreviations nor what
> the actual use case is. Can you describe real use case - i.e. "module X
> has functionality A and B, and to make A work with B I would use
> persistent zvals so that when Foo is called Bar happens".
> 

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);
}

Regards,
-- 
Michael

-- 
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to