Home > Backend Development > PHP Tutorial > 帮忙看看这段代码是什么意思?看了1个多小时也没看懂,多谢

帮忙看看这段代码是什么意思?看了1个多小时也没看懂,多谢

WBOY
Release: 2016-06-13 12:42:36
Original
867 people have browsed it

帮忙看看这段代码是什么意思?看了1个多小时也没看懂,谢谢!
$patt     = array('__PUBLIC__', '__ACTION__', '__CONTROL__', '__WEB__', '__APP__');
$replace  = array('', '', '', '', '');
$content  = str_ireplace('../public', '', $content);
$content  = str_replace($patt, $replace, $content);

Related labels:
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