Skip to content

Commit 71d894c

Browse files
committed
Merge branch 'PHP-5.3' into PHP-5.4
* PHP-5.3: Adding Braces in json.c to conform with coding standards
2 parents 14ccdd1 + 76ef76d commit 71d894c

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

‎ext/json/json.c‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -174,8 +174,9 @@ static int json_determine_array_type(zval **val TSRMLS_DC) /* {{{ */
174174
idx = 0;
175175
for (;; zend_hash_move_forward_ex(myht, &pos)) {
176176
i = zend_hash_get_current_key_ex(myht, &key, &key_len, &index, 0, &pos);
177-
if (i == HASH_KEY_NON_EXISTANT)
177+
if (i == HASH_KEY_NON_EXISTANT) {
178178
break;
179+
}
179180

180181
if (i == HASH_KEY_IS_STRING) {
181182
return 1;

0 commit comments

Comments
 (0)