Currently, when passing an array into the decodeVIN() function, the splat operator must be used (...$keys).
Need to find a way to expand this process so that the splat operator isn't required but can still be used.
The function should be able to accept the following options as a secondary parameter:
- Blank/empty
- Single string
- Multiple strings as multiple parameters
- Single array with splat operator
- Single array without splat operator
- Multiple string, array, or mixture of string & array parameters
Currently, when passing an array into the
decodeVIN()function, the splat operator must be used (...$keys).Need to find a way to expand this process so that the splat operator isn't required but can still be used.
The function should be able to accept the following options as a secondary parameter: