From 61142e4341ff68aae0ff137e1c757c00d39d6df5 Mon Sep 17 00:00:00 2001 From: Andrei Zmievski Date: Tue, 16 Nov 1999 20:14:55 +0000 Subject: [PATCH] Just some rearranging. --- ext/standard/array.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/ext/standard/array.c b/ext/standard/array.c index 4884546e3b..f12e68f1cf 100644 --- a/ext/standard/array.c +++ b/ext/standard/array.c @@ -57,7 +57,6 @@ function_entry array_functions[] = { PHP_FE(uksort, first_arg_force_ref) PHP_FE(shuffle, first_arg_force_ref) PHP_FE(array_walk, first_arg_force_ref) - PHP_FALIAS(sizeof, count, first_arg_allow_ref) PHP_FE(count, first_arg_allow_ref) PHP_FE(end, first_arg_force_ref) PHP_FE(prev, first_arg_force_ref) @@ -65,7 +64,6 @@ function_entry array_functions[] = { PHP_FE(reset, first_arg_force_ref) PHP_FE(current, first_arg_force_ref) PHP_FE(key, first_arg_force_ref) - PHP_FALIAS(pos, current, first_arg_force_ref) PHP_FE(min, NULL) PHP_FE(max, NULL) PHP_FE(in_array, NULL) @@ -85,6 +83,10 @@ function_entry array_functions[] = { PHP_FE(array_count_values, NULL) PHP_FE(array_reverse, NULL) PHP_FE(array_pad, NULL) + + /* Aliases */ + PHP_FALIAS(pos, current, first_arg_force_ref) + PHP_FALIAS(sizeof, count, first_arg_allow_ref) {NULL, NULL, NULL} }; -- 2.50.1