Skip to content

Commit

Permalink
Merge branch 'PHP-5.3' into PHP-5.4
Browse files Browse the repository at this point in the history
* PHP-5.3:
  Adding Braces in json.c to conform with coding standards
  • Loading branch information
dsp committed Mar 20, 2012
2 parents 14ccdd1 + 76ef76d commit 71d894c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion ext/json/json.c
Expand Up @@ -174,8 +174,9 @@ static int json_determine_array_type(zval **val TSRMLS_DC) /* {{{ */
idx = 0;
for (;; zend_hash_move_forward_ex(myht, &pos)) {
i = zend_hash_get_current_key_ex(myht, &key, &key_len, &index, 0, &pos);
if (i == HASH_KEY_NON_EXISTANT)
if (i == HASH_KEY_NON_EXISTANT) {
break;
}

if (i == HASH_KEY_IS_STRING) {
return 1;
Expand Down

0 comments on commit 71d894c

Please sign in to comment.