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

php-PHP中preg_replace怎么能换成preg_replace_callback

WBOY
Release: 2016-06-02 11:34:03
Original
892 people have browsed it

php

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

Related labels:
php
source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template