PHP implode_wrapped(); Implode with before and after

function implode_wrapped($before, $after, $array, $glue = '') {
    return $before . implode($after . $glue . $before, $array) . $after;
}
View this page on GitHub.
Posted .

2 comments

  1. anonymous

    Clever!

  2. anonymous

    You are the man!!!

Leave a Reply