/* headers and cookies need extra attention -- thus cannot use zend_hash_merge() or php_array_merge() directly */
for ( zend_hash_internal_pointer_reset(Z_ARRVAL_P(opts));
zend_hash_get_current_data(Z_ARRVAL_P(opts), (void **) &opt) == SUCCESS;
/* headers and cookies need extra attention -- thus cannot use zend_hash_merge() or php_array_merge() directly */
for ( zend_hash_internal_pointer_reset(Z_ARRVAL_P(opts));
zend_hash_get_current_data(Z_ARRVAL_P(opts), (void **) &opt) == SUCCESS;