mirror of
https://github.com/php/php-src.git
synced 2026-03-26 09:12:14 +01:00
this should be here..styles must be array
This commit is contained in:
@@ -499,6 +499,7 @@ PHP_FUNCTION(imagesetstyle)
|
||||
}
|
||||
|
||||
ZEND_FETCH_RESOURCE(im, gdImagePtr, IM, -1, "Image", le_gd);
|
||||
convert_to_array_ex(styles);
|
||||
|
||||
/* copy the style values in the stylearr */
|
||||
stylearr = emalloc(sizeof(int) * zend_hash_num_elements(HASH_OF(*styles)));
|
||||
|
||||
Reference in New Issue
Block a user