Closed harryfk closed 6 years ago
The /e modifier was deprecated and removed in PHP7, so here’s a fix using preg_replace_callback(…) to make this work again. 👍
/e
preg_replace_callback(…)
Not sure why I didn't see this before I accepted #2 , as this would've been an equally good fix! Thank you for your PR anyways :)
The
/e
modifier was deprecated and removed in PHP7, so here’s a fix usingpreg_replace_callback(…)
to make this work again. 👍