zend_hash_get_current_data_ex(request->env, (void **) &val, &pos) == SUCCESS;
zend_hash_move_forward_ex(request->env, &pos)
) {
- unsigned int new_val_len;
-
- if (php_register_variable_with_conv(conv, var.s, strlen(var.s), val, strlen(*val), array_ptr, filter_arg TSRMLS_CC) == FAILURE) {
+ if (php_register_variable_with_conv(conv, var.s, strlen(var.s), *val, strlen(*val), array_ptr, filter_arg TSRMLS_CC) == FAILURE) {
php_error(E_WARNING, "Failed to decode %s array entry", (filter_arg == PARSE_ENV?"_ENV":"_SERVER"));
}
}