mirror of
https://github.com/php/php-src.git
synced 2026-04-11 10:03:18 +02:00
(getimagesize) fix FORCE_REF.
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user