diff options
author | Sara Golemon <pollita@php.net> | 2002-12-05 21:20:47 +0000 |
---|---|---|
committer | Sara Golemon <pollita@php.net> | 2002-12-05 21:20:47 +0000 |
commit | ad65d01cbefff24b92da5576ca63f026018f3b33 (patch) | |
tree | bd3ce2b7a2fbbf960d5bf71ad9cfd6a0ff3694ee | |
parent | 49a99a98f4ce898c891cfa6fa313570de58a40db (diff) | |
download | php-git-ad65d01cbefff24b92da5576ca63f026018f3b33.tar.gz |
Bug #20746. Renamed aggregation_info() to aggregate_info() per naming conventions and created alias for BC.
-rw-r--r-- | ext/standard/aggregation.c | 2 | ||||
-rw-r--r-- | ext/standard/aggregation.h | 2 | ||||
-rw-r--r-- | ext/standard/basic_functions.c | 3 |
3 files changed, 4 insertions, 3 deletions
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) |