Jump to content

Use of UTF8 modifier in regex crashes PHP


AudiS2

Recommended Posts

preg_replace, returning an empty string with /u.

...So it's not a crash. Not even close to a crash.

 

Your expression isn't matching. preg_replace would have complained if you tried to use an invalid flag: look for error messages (if you don't see anything, check your error_reporting and display_errors settings)>

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.