array getValuesForChoices(array $choices)
Returns the values corresponding to the given choices.
The values must be strings.
The values must be returned with the same keys and in the same order as the corresponding choices in the given array.
array getValuesForChoices(array $choices)
Returns the values corresponding to the given choices.
The values must be strings.
The values must be returned with the same keys and in the same order as the corresponding choices in the given array.
array | $choices | An array of choices. Not existing choices in this array are ignored |
array | An array of choice values with ascending, 0-based numeric keys |
Designed by : w10schools
service@w10schools.com
Please login to continue.