PHP-CSS-Parser icon indicating copy to clipboard operation
PHP-CSS-Parser copied to clipboard

Move the string handling functions from `ParserState` to a `StringUtility`

Open oliverklee opened this issue 1 year ago • 1 comments

oliverklee avatar Feb 17 '25 20:02 oliverklee

As I understand, these mimick PHP's inbuilt functions, but are adapted to observe the @charset of the CSS. Though substr is a bit different and works on the entire CSS string originally passed, with it split into characters according to the charset (and is not passed a string parameter to split).

JakeQZ avatar Feb 17 '25 22:02 JakeQZ