]> granicus.if.org Git - php/commitdiff
Just some rearranging.
authorAndrei Zmievski <andrei@php.net>
Tue, 16 Nov 1999 20:14:55 +0000 (20:14 +0000)
committerAndrei Zmievski <andrei@php.net>
Tue, 16 Nov 1999 20:14:55 +0000 (20:14 +0000)
ext/standard/array.c

index 4884546e3b7c622245189af17798831790894bff..f12e68f1cf6f8c1c2b2203e127fdfedb18c69cc1 100644 (file)
@@ -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}
 };