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

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

WBOY
WBOYOriginal
2016-06-13 12:42:36833browse

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

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