case PDO_PARAM_EVT_EXEC_PRE:
if (!S->param_values) {
S->param_values = ecalloc(
- zend_hash_num_elements(stmt->bound_params),
+ zend_hash_num_elements(stmt->bound_param_map),
sizeof(char*));
S->param_lengths = ecalloc(
- zend_hash_num_elements(stmt->bound_params),
+ zend_hash_num_elements(stmt->bound_param_map),
sizeof(int));
S->param_formats = ecalloc(
- zend_hash_num_elements(stmt->bound_params),
+ zend_hash_num_elements(stmt->bound_param_map),
sizeof(int));
}