I wrote: > So why burden the weigh of allocation, initialization, destruction > and freeing on the extension developer? This will force every extension > writer to implement a kind of my dup_zval() function, wouldn't it? > And as there's not much reference devs will spam the list on how > to use static properties right. I think we could avoid this by > stretching the minimalistic approach a bit and provide at least > a zend_init_static_properties().
One note more though :-/ If we leave out the zend_update_static_property() API, extension developers need to reinvent the wheel again and again. Regards, -- Michael - < mike(@)php.net > -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php