preg_split替换



示例

$style_arr = preg_split('/\n/', $styles);