What are some common methods for breaking down a string with multiple delimiters in PHP?

When dealing with a string that has multiple delimiters in PHP, one common method to break it down is by using the `preg_split()` function with a regular expression pattern that matches all the delimiters. Another approach is to use the `explode()` function multiple times, each time for a different delimiter. Additionally, you can use the `str_replace()` function to replace all delimiters with a single common delimiter and then use `explode()` with that common delimiter.

// Using preg_split() with a regular expression pattern to split the string by multiple delimiters
$string = "apple,orange;banana|grape";
$delimiters = '/[,;|]/';
$parts = preg_split($delimiters, $string);
print_r($parts);