As you can not send an enclosure value to explode, use str_getcsv,
if you want to explode a string when the delimiter is in some cells. (Comma in quotes)
<?php
$a = "aaa1,bbb1,'ccc,ccc1',ddd1";
$b = 'aaa2,bbb2,"ccc,ccc2",ddd2';
print "<PRE>a output using explode():\n";
print_r( explode(",",$a) );
print "</PRE>\n";
print "<PRE>b output using explode():\n";
print_r( explode(",",$b) );
print "</PRE>\n";
print "<PRE>a output using str_getcsv():\n";
print_r( str_getcsv($a,",","'") );
print "</PRE>\n";
print "<PRE>b output using str_getcsv():\n";
print_r( str_getcsv($b,",","\"") );
print "</PRE>\n";
?>
explode() returns;
[0] => aaa1
[1] => bbb1
[2] => 'ccc
[3] => ccc1'
[4] => ddd1
str_getcsv() returns;
[0] => aaa1
[1] => bbb1
[2] => ccc,ccc1
[3] => ddd1