What PHP function can be used to split a string into multiple parts based on specific delimiters?

To split a string into multiple parts based on specific delimiters in PHP, you can use the `explode()` function. This function takes two parameters: the delimiter on which to split the string and the string to be split. It returns an array of strings that were separated by the delimiter.

$string = "apple,banana,cherry";
$delimiter = ",";
$parts = explode($delimiter, $string);

print_r($parts);