A::move()
Move an array item to a new index
A::move(array $array, int $from, int $to): array
Parameters
| Name | Type | Default |
|---|---|---|
| $array * | array |
– |
| $from * | int |
– |
| $to * | int |
– |
Return type
array
Move an array item to a new index
A::move(array $array, int $from, int $to): array
| Name | Type | Default |
|---|---|---|
| $array * | array |
– |
| $from * | int |
– |
| $to * | int |
– |
array