]> granicus.if.org Git - php/commitdiff
count/sizeof had their arguments setup wrong (messup between Beta 1 and 2)
authorZeev Suraski <zeev@php.net>
Fri, 6 Aug 1999 15:34:51 +0000 (15:34 +0000)
committerZeev Suraski <zeev@php.net>
Fri, 6 Aug 1999 15:34:51 +0000 (15:34 +0000)
ext/standard/basic_functions.c

index 14b729c4d78fbde0d2aa386f39b02aec3e682c00..f550a1f22fb6e8284b62edfbb34ca5d05c53a486 100644 (file)
@@ -92,8 +92,8 @@ function_entry basic_functions[] = {
        PHP_FE(uasort,                                                                  first_arg_force_ref)
        PHP_FE(uksort,                                                                  first_arg_force_ref)
        PHP_FE(array_walk,                                                              first_arg_force_ref)
-       PHP_FALIAS(sizeof,                      count,                          first_arg_force_ref)
-       PHP_FE(count,                                                                   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)
        PHP_FE(next,                                                                    first_arg_force_ref)