PHP - Array Functions
You have an array of user ages:
[15, 22, 17, 30]. Use array_map to create a new array that labels each age as "minor" if under 18, or "adult" otherwise. Which code snippet correctly does this?