Hacker News new | ask | show | jobs
by Reubensson 1511 days ago
> array functions have the same parameter order and string functions have theirs

Except when they have different order :)

  array_filter(array $array, ?callable $callback = null, int $mode = 0): array
  array_map(?callable $callback, array $array, array ...$arrays): array