$line="111<script>asdfkjasdklfjaksdfjl;asdfkl</script>222";
$a=preg_replace_callback(
'/<script[\s\S]*?<\/script>/',
function ($matches) {
return strtolower($matches[0]);
},
$line
);
$line="111<script>asdfkjasdklfjaksdfjl;asdfkl</script>222";
$a=preg_replace_callback(
'/<script[\s\S]*?<\/script>/',
function ($matches) {
return strtolower($matches[0]);
},
$line
);
本文标题:php 过滤<script></script&
本文链接:https://www.haomeiwen.com/subject/jgrgyqtx.html
网友评论