Home >Backend Development >PHP Tutorial >php-PHP中preg_replace怎么能换成preg_replace_callback

php-PHP中preg_replace怎么能换成preg_replace_callback

WBOY
WBOYOriginal
2016-06-02 11:34:03893browse

php

PHP中preg_replace怎么能换成preg_replace_callback
preg_replace('#{([a-z_0-9]+)}#Uei', "\$data[\1]", $data['setting']['url']['list']);

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn