#78495ArrayUtility::setValueByPath(['foo' => []], 'foo/0', 'value') throws exception
Description
Code executed
ArrayUtility::setValueByPath(['foo' => []], 'foo/0', 'value')
Expected result:
['foo' => ['value']
Actual result:
\RuntimeException('Invalid path segment specified', 1341406846)