create array from string with commas php

PHP
$myString = "9,[email protected],8";
$myArray = explode(',', $myString);
print_r($myArray);

Source

Also in PHP: