summaryrefslogtreecommitdiff
path: root/www/php4/patches/patch-ab
blob: dd9a1d16673b6ff529f77eae2b2017006b254fda (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
$NetBSD: patch-ab,v 1.20 2005/11/08 20:33:55 bouyer Exp $

--- ext/standard/basic_functions.c.orig	Tue Nov  8 18:08:58 2005
+++ ext/standard/basic_functions.c	Tue Nov  8 18:08:28 2005
@@ -802,8 +802,8 @@
 	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)