diff options
Diffstat (limited to 'ext/standard/image.c')
| -rw-r--r-- | ext/standard/image.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/standard/image.c b/ext/standard/image.c index 266c3d3b1f..ea11afebc3 100644 --- a/ext/standard/image.c +++ b/ext/standard/image.c @@ -339,7 +339,7 @@ PHP_FUNCTION(getimagesize) char temp[64]; struct gfxinfo *result = NULL; - switch(ARG_COUNT(ht)){ + switch(ZEND_NUM_ARGS()){ case 1: if (zend_get_parameters_ex(1, &arg1) == FAILURE) { WRONG_PARAM_COUNT; |
