Skip to content

Conversation

nicolasform
Copy link

In some versions of PHP (and/or PCRE) the hyphen has to be escaped or moved at the end of the regexp class to be considered as the literal '-' character. More info: https://stackoverflow.com/questions/24764212/preg-match-compilation-failed-invalid-range-in-character-class-at-offset#comment38430767_24767090
Tested on Wordpress 5.3 with PHP 7.4.

In some versions of PHP (and/or PCRE) the hyphen has to be escaped or moved at the end of the regexp class to be considered as the literal '-' character. More info: https://stackoverflow.com/questions/24764212/preg-match-compilation-failed-invalid-range-in-character-class-at-offset#comment38430767_24767090
Tested on Wordpress 5.3 with PHP 7.4.
@okcom125
Copy link

okcom125 commented Jun 4, 2020

Hi,
I am a Github newbie.

Deprecated: implode(): Passing glue string after array is deprecated. Swap the parameters in /Volumes/Macintosh HD - xxxxx/wp-content/plugins/crayon-syntax-highlighter/util/crayon_util.class.php on line 73

on PHP ver 7.4.2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants