diff options
author | Thies C. Arntzen <thies@php.net> | 2000-07-23 16:49:42 +0000 |
---|---|---|
committer | Thies C. Arntzen <thies@php.net> | 2000-07-23 16:49:42 +0000 |
commit | 9752d1a089e21bc2dd2f2018169f21d59ab3aeef (patch) | |
tree | 5aa5a98bbee80ac4abb5dd7b46ca7ea998972ba3 | |
parent | 7c296bd9cc0fcbd21ae370243a5425b554c271be (diff) | |
download | php-git-9752d1a089e21bc2dd2f2018169f21d59ab3aeef.tar.gz |
(getimagesize) fix FORCE_REF.
-rw-r--r-- | ext/standard/basic_functions.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/ext/standard/basic_functions.c b/ext/standard/basic_functions.c index 29dbf82e26..809afb5786 100644 --- a/ext/standard/basic_functions.c +++ b/ext/standard/basic_functions.c @@ -60,6 +60,7 @@ php_basic_globals basic_globals; #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 @@ function_entry basic_functions[] = { 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) |