We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 36d02a3 commit c8778ebCopy full SHA for c8778eb
ext/intl/grapheme/grapheme_string.c
@@ -800,9 +800,9 @@ PHP_FUNCTION(grapheme_extract)
800
{
801
char *str, *pstr;
802
UText ut = UTEXT_INITIALIZER;
803
- size_t str_len;
804
- zend_long size; /* maximum number of grapheme clusters, bytes, or characters (based on extract_type) to return */
805
- zend_long lstart = 0; /* starting position in str in bytes */
+ int str_len;
+ long size; /* maximum number of grapheme clusters, bytes, or characters (based on extract_type) to return */
+ long lstart = 0; /* starting position in str in bytes */
806
int32_t start = 0;
807
long extract_type = GRAPHEME_EXTRACT_TYPE_COUNT;
808
UErrorCode status;
0 commit comments