Hacker News new | ask | show | jobs
by tcdent 5481 days ago
Minor nitpick given the scope of these additions, but his use of a boolean argument to enhance implode is not my favorite.

  implode(',', $array, true)
A new function (or even leaving it the way it was) is far more readable.

  implode_keys(',', $array)

  implode(',', array_keys($array))