Array as Comma Separated List in PHP

Print a comma separated list from an array with this snippet, instead of looping through an array using a foreach.