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