Re: [PHP-DEV] Re: Question regarding extension function entries.

2006-06-02 Thread Michael Walter
At least the C++ standard guarantees that all remaining members of the struct are initialized with their respective default value (which would is be 0/NULL). So technically speaking, simply using {NULL} is absolutely fine. From a cursory glance it appears to me that it is the same with C, but f

[PHP-DEV] Re: Question regarding extension function entries.

2006-06-01 Thread Sara Golemon
According to all documentation I've found, a zend_function_entry[] array should be ended with { NULL, NULL, NULL }, but I've noticed that _zend_function_entry now has five parts; Your analysis is correct, however(functionally speaking) the only attribute that NEEDs to be explicitly set NULL is f