What function can be used to split values separated by commas in PHP?

To split values separated by commas in PHP, you can use the `explode()` function. This function takes a delimiter (in this case, a comma) and a string as input, and returns an array of substrings that were separated by the delimiter. You can then access each value in the array individually.

// Example of splitting values separated by commas
$string = "apple,banana,orange";
$values = explode(",", $string);

foreach($values as $value){
    echo $value . "<br>";
}