|
@@ 229-232 (lines=4) @@
|
| 226 |
|
if ($comma === false) { // end of the line |
| 227 |
|
array_push($values, $value); |
| 228 |
|
$value = ''; |
| 229 |
|
} else { // split by comma [hex] |
| 230 |
|
array_push($values, substr($value, 0, $comma)); |
| 231 |
|
$value = trim(substr($value, $comma + 1)); |
| 232 |
|
} |
| 233 |
|
} else { // split by comma [rgb, rgba, hsl, hsla] |
| 234 |
|
array_push($values, substr($value, 0, $isother + 1)); |
| 235 |
|
$value = trim(substr($value, $isother + 2)); |
|
@@ 233-236 (lines=4) @@
|
| 230 |
|
array_push($values, substr($value, 0, $comma)); |
| 231 |
|
$value = trim(substr($value, $comma + 1)); |
| 232 |
|
} |
| 233 |
|
} else { // split by comma [rgb, rgba, hsl, hsla] |
| 234 |
|
array_push($values, substr($value, 0, $isother + 1)); |
| 235 |
|
$value = trim(substr($value, $isother + 2)); |
| 236 |
|
} |
| 237 |
|
} |
| 238 |
|
|
| 239 |
|
return $values; |