<?php $s = "12v some, Item, which contains comma, Another item";$res = preg_split('~\s*,(?!\s*\p{Ll})\s*~', $s);print_r($res);
Standard input is empty
Array ( [0] => 12v some [1] => Item, which contains comma [2] => Another item )
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!