Skip to content

Commit cf43caf

Browse files
committed
Add comment
1 parent f70d07c commit cf43caf

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

ext/standard/basic_functions.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2506,6 +2506,7 @@ static void php_simple_ini_parser_cb(zval *arg1, zval *arg2, zval *arg3, int cal
25062506
break;
25072507
}
25082508

2509+
/* entry in the form x[a]=b where x might need to be an array index */
25092510
if (!(Z_STRLEN_P(arg1) > 1 && Z_STRVAL_P(arg1)[0] == '0') && is_numeric_string(Z_STRVAL_P(arg1), Z_STRLEN_P(arg1), NULL, NULL, 0) == IS_LONG) {
25102511
zend_ulong key = (zend_ulong) ZEND_STRTOUL(Z_STRVAL_P(arg1), NULL, 0);
25112512
if ((find_hash = zend_hash_index_find(Z_ARRVAL_P(arr), key)) == NULL) {

0 commit comments

Comments
 (0)