0

So according to this stackoverflow answer:

Are the PHP preg_functions multibyte safe?

whether or not the preg_* functions support multibyte characters out of the box is dependent on what version of PCRE php was compiled with. On a linux web server, is there a command or bit of PHP code I can run to determine if the PCRE version is >= 8?

Community
  • 1
  • 1
thatidiotguy
  • 8,701
  • 13
  • 60
  • 105
  • @JosephSible I was wondering if there was a way to do it from the linux command line as well, though admittedly that is not necessarily enough distinction to warrant my question remaning. I will let the community decide that. – thatidiotguy Feb 27 '17 at 20:31
  • Just run those statements from the command line, like this: `php -r 'echo PCRE_VERSION;'` – Joseph Sible-Reinstate Monica Feb 27 '17 at 20:33

0 Answers0