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 a4685d8 commit 8a3dbb0Copy full SHA for 8a3dbb0
ext/date/php_date.c
@@ -5291,7 +5291,7 @@ PHP_METHOD(DatePeriod, getIterator)
5291
zend_create_internal_iterator_zval(return_value, ZEND_THIS);
5292
}
5293
5294
-static int check_id_allowed(const char *id, zend_long what) /* {{{ */
+static bool check_id_allowed(const char *id, zend_long what) /* {{{ */
5295
{
5296
if ((what & PHP_DATE_TIMEZONE_GROUP_AFRICA) && strncasecmp(id, "Africa/", 7) == 0) return 1;
5297
if ((what & PHP_DATE_TIMEZONE_GROUP_AMERICA) && strncasecmp(id, "America/", 8) == 0) return 1;
0 commit comments