cvs: php4 /ext/standard basic_functions.c

From: Date: Sun, 23 Jul 2000 16:49:42 +0000
Subject: cvs: php4 /ext/standard basic_functions.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-872@lists.php.net to get a copy of this message
thies Sun Jul 23 09:49:42 2000 EDT Modified files: /php4/ext/standard basic_functions.c Log: (getimagesize) fix FORCE_REF. Index: php4/ext/standard/basic_functions.c diff -u php4/ext/standard/basic_functions.c:1.229 php4/ext/standard/basic_functions.c:1.230 --- php4/ext/standard/basic_functions.c:1.229 Fri Jul 21 18:12:24 2000 +++ php4/ext/standard/basic_functions.c Sun Jul 23 09:49:42 2000 @@ -60,6 +60,7 @@ #endif static unsigned char second_and_third_args_force_ref[] = { 3, BYREF_NONE, BYREF_FORCE, BYREF_FORCE }; +static unsigned char second_args_force_ref[] = { 2, BYREF_NONE, BYREF_FORCE }; static unsigned char third_argument_force_ref[] = { 3, BYREF_NONE, BYREF_NONE, BYREF_FORCE }; static unsigned char third_and_fourth_args_force_ref[] = { 4, BYREF_NONE, BYREF_NONE, BYREF_FORCE, BYREF_FORCE }; @@ -104,7 +105,7 @@ PHP_FE(gettype, NULL) PHP_FE(settype, first_arg_force_ref) - PHP_FE(getimagesize, NULL) + PHP_FE(getimagesize, second_args_force_ref) PHP_FE(wordwrap, NULL) PHP_FE(htmlspecialchars, NULL)

« previous php.cvs (#872) next »