freebsd-ports/lang/php4/files/patch-ext_standard_basic_functions.c
Alex Dupre f60c3c0a79 - Make key() and current() functions work by reference
- Bump PORTREVISION

PR:		ports/88481
Submitted by:	Matthew Luckie <mjl@luckie.org.nz>
Obtained from:	PHP CVS
2005-11-04 08:39:28 +00:00

13 lines
508 B
C

--- ext/standard/basic_functions.c.orig Fri Nov 4 09:30:04 2005
+++ ext/standard/basic_functions.c Fri Nov 4 09:30:56 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)