Foreach Comma отделенная String Php

$variable = 'value1, value2, value3, value4, value5';
   $var=explode(',',$variable);
   foreach($var as row)
    {
    //do your code here
    }
Jittery Jellyfish