We can build a custom function that will act as a multi-separators explode using str_replace() and explode() . <?php /** * Multi-separators ... ... <看更多>
<?php. /**. * Same as implode, but escape the separator when it exists in the array elements being imploded. * If the separator is longer than 1 character, ... ... <看更多>