diff --git a/ext/standard/aggregation.c b/ext/standard/aggregation.c index 63f40630150..e1334337850 100644 --- a/ext/standard/aggregation.c +++ b/ext/standard/aggregation.c @@ -536,7 +536,7 @@ PHP_FUNCTION(aggregate_properties_by_regexp) /* {{{ proto array aggregation_info(object obj) */ -PHP_FUNCTION(aggregation_info) +PHP_FUNCTION(aggregate_info) { zval *obj; aggregation_info *aggr_info; diff --git a/ext/standard/aggregation.h b/ext/standard/aggregation.h index 551782fdfe5..96000dee6fd 100644 --- a/ext/standard/aggregation.h +++ b/ext/standard/aggregation.h @@ -46,6 +46,6 @@ PHP_FUNCTION(aggregate_properties_by_list); PHP_FUNCTION(aggregate_properties_by_regexp); PHP_FUNCTION(aggregate); PHP_FUNCTION(deaggregate); -PHP_FUNCTION(aggregation_info); +PHP_FUNCTION(aggregate_info); #endif /* AGGREGATION_H */ diff --git a/ext/standard/basic_functions.c b/ext/standard/basic_functions.c index d5fbe427422..daa02cfda5d 100644 --- a/ext/standard/basic_functions.c +++ b/ext/standard/basic_functions.c @@ -871,7 +871,8 @@ function_entry basic_functions[] = { PHP_FE(aggregate_properties_by_regexp, first_arg_force_ref) #endif PHP_FE(deaggregate, first_arg_force_ref) - PHP_FE(aggregation_info, first_arg_force_ref) + PHP_FE(aggregate_info, first_arg_force_ref) + PHP_FALIAS(aggregation_info, aggregate_info, first_arg_force_ref) PHP_FE(output_add_rewrite_var, NULL) PHP_FE(output_reset_rewrite_vars, NULL)