summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSara Golemon <pollita@php.net>2002-12-05 21:20:47 +0000
committerSara Golemon <pollita@php.net>2002-12-05 21:20:47 +0000
commitad65d01cbefff24b92da5576ca63f026018f3b33 (patch)
treebd3ce2b7a2fbbf960d5bf71ad9cfd6a0ff3694ee
parent49a99a98f4ce898c891cfa6fa313570de58a40db (diff)
downloadphp-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.c2
-rw-r--r--ext/standard/aggregation.h2
-rw-r--r--ext/standard/basic_functions.c3
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)