How to use php to pluck array