Merge branch 'PHP-7.0'

This commit is contained in:
Xinchen Hui 2016-01-24 03:57:17 -08:00
commit 6d674b3d91

View File

@ -1329,7 +1329,7 @@ int pdo_hash_methods(pdo_dbh_object_t *dbh_obj, int kind)
func.num_args = 0;
func.required_num_args = 0;
}
zend_set_function_arg_flags(&func);
zend_set_function_arg_flags((zend_function*)&func);
namelen = strlen(funcs->fname);
lc_name = emalloc(namelen+1);
zend_str_tolower_copy(lc_name, funcs->fname, namelen);