openbsd-ports/www/php4/patches/patch-ext_standard_basic_functions_c

15 lines
630 B
Plaintext
Raw Normal View History

$OpenBSD: patch-ext_standard_basic_functions_c,v 1.1 2005/11/07 21:33:58 bernd Exp $
--- ext/standard/basic_functions.c.orig Mon Nov 7 17:07:59 2005
+++ ext/standard/basic_functions.c Mon Nov 7 17:08:25 2005
@@ -802,8 +802,8 @@ function_entry basic_functions[] = {
PHP_FE(prev, first_arg_force_ref)
PHP_FE(next, first_arg_force_ref)
PHP_FE(reset, first_arg_force_ref)
- PHP_FE(current, NULL)
- PHP_FE(key, NULL)
+ PHP_FE(current, first_arg_force_ref)
+ PHP_FE(key, first_arg_force_ref)
PHP_FE(min, NULL)
PHP_FE(max, NULL)
PHP_FE(in_array, NULL)