Skip to content

Commit 6412e65

Browse files
author
Derick Rethans
committed
- CS
1 parent 76097ed commit 6412e65

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

ext/standard/string.c

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3377,7 +3377,9 @@ PHP_FUNCTION(setlocale)
33773377
}
33783378
while (1) {
33793379
if (Z_TYPE_PP(args[1]) == IS_ARRAY) {
3380-
if(!zend_hash_num_elements(Z_ARRVAL_PP(args[1]))) break;
3380+
if (!zend_hash_num_elements(Z_ARRVAL_PP(args[1]))) {
3381+
break;
3382+
}
33813383
zend_hash_get_current_data(Z_ARRVAL_PP(args[1]),(void **)&plocale);
33823384
} else {
33833385
plocale = args[i];

0 commit comments

Comments
 (0)