From: Sara Golemon Date: Thu, 5 Dec 2002 21:20:47 +0000 (+0000) Subject: Bug #20746. Renamed aggregation_info() to aggregate_info() per naming conventions... X-Git-Tag: RELEASE_1_0b3~158 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=ad65d01cbefff24b92da5576ca63f026018f3b33;p=php Bug #20746. Renamed aggregation_info() to aggregate_info() per naming conventions and created alias for BC. --- diff --git a/ext/standard/aggregation.c b/ext/standard/aggregation.c index 63f4063015..e133433785 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 551782fdfe..96000dee6f 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 d5fbe42742..daa02cfda5 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)