5 ms·
array_column looks like a half-assed version of map. Looks like PHP hasn't changed a bit. Functions that do half of what their supposed to do and have odd names
by fleitz 14y ago
array_column looks like a half-assed version of map. Looks like PHP hasn't changed a bit. Functions that do half of what their supposed to do and have odd names that depart wildly from industry standard language.
- maratd 14y ago> have odd names that depart wildly from industry standard language Err... what? You want map, use map. http://us3.php.net/manual/en/function.array-map.php http://us3.php.net/manual/en/function.array-map.php
- ricardobeat 14y agoto be fair he did mention array_pluck, but the odds are for the most awkward name.