From edabed5604fe7d542c45ad64087864e40fa795ab Mon Sep 17 00:00:00 2001 From: Zeev Suraski Date: Fri, 6 Aug 1999 15:34:51 +0000 Subject: [PATCH] count/sizeof had their arguments setup wrong (messup between Beta 1 and 2) --- ext/standard/basic_functions.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ext/standard/basic_functions.c b/ext/standard/basic_functions.c index 14b729c4d78..f550a1f22fb 100644 --- a/ext/standard/basic_functions.c +++ b/ext/standard/basic_functions.c @@ -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)