Answer the question
In order to leave comments, you need to log in
What was wrong with ArrayHelper::index before Yii2 2.0.8?
Until version 2.0.7, the documentation described the action of a function index
with three attributes - $array, $key, $groups
, although in the helper itself the entire branch of version 2 was with two - $array, $key
.
So what was the matter, if only in version 2.0.8 such a simple code with three attributes was implemented? Why was there a discrepancy between the documentation and the code? Wanted to implement, but forgot?
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question