Zend compatibility - join

Zend raises a notice whenever either the `$glue` or any element of `$pieces` is an array (raising one notice for each piece that is an array).