This article is a mirror article of machine translation, please click here to jump to the original article.

View: 9067|Reply: 0

preg_replace(): The /e modifier is deprecated, use preg_replace_callback inst...

[Copy link]
Posted on 2/17/2015 5:24:33 PM | | |


PHP message: PHP Deprecated:  preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /source/plugin/mw_syntaxhighlighter/mw_syntaxhighlighter.class.php How to solve on line 514


Workaround:

Since the method preg_replace() is a deprecated feature in PHP 5.5.x, it is recommended to replace preg_replace() with a function preg_replace_callback in the code, which can solve the problem. (For details, please refer to the official introduction:

http://www.php.net/manual/zh/migration55.deprecated.php)






Previous:2015 Spring Festival Gala Program Schedule
Next:Jack Ma's Alipay red envelope password "Who does a foreigner look like" answer
Disclaimer:
All software, programming materials or articles published by Code Farmer Network are only for learning and research purposes; The above content shall not be used for commercial or illegal purposes, otherwise, users shall bear all consequences. The information on this site comes from the Internet, and copyright disputes have nothing to do with this site. You must completely delete the above content from your computer within 24 hours of downloading. If you like the program, please support genuine software, purchase registration, and get better genuine services. If there is any infringement, please contact us by email.

Mail To:help@itsvse.com