lesserphp
lesserphp copied to clipboard
Deprecated warning on PHP 8.1
PHP Deprecated: preg_match(): Passing null to parameter #4 ($flags) of type int is deprecated in./lessc.inc.php on line 3739
Replacing null
with 0
should do the trick.
https://github.com/MarcusSchwarz/lesserphp/blob/68db44f0574d298472d2367ecef80433d080e7cb/lessc.inc.php#L3739