preg_match_all(): Unknown modifier '�'
<ol start="156">
<li class="line-156"><code> // echo $content;
</code></li>
<li class="line-157"><code> // echo "<pre class="brush:php;toolbar:false">";
</code></li>
<li class="line-158"><code> // print_r($download_list);
</code></li>
<li class="line-159"><code> // die;
</code></li>
<li class="line-160"><code>
</code></li>
<li class="line-161"><code> if($download_list)
</code></li>
<li class="line-162"><code> {
</code></li>
<li class="line-163"><code> $download_reg = preg_quote(implode('|',$download_list));
</code></li>
<li class="line-164"><code>
</code></li>
<li class="line-165"><code> preg_match_all('/'.$download_reg.'/is', $content, $matches);
</code></li>
<li class="line-166"><code> if (!empty($matches[0])) {
</code></li>
<li class="line-167"><code> $games = $matches[0];
</code></li>
<li class="line-168"><code> foreach ($matches[0] as $key => $match) {
</code></li>
<li class="line-169"><code> $tempTag = "<🎜>";
</code></li>
<li class="line-170"><code> $tempTags[] = $match;
</code></li>
<li class="line-171"><code> $content = str_replace($match, $tempTag, $content);
</code></li>
<li class="line-172"><code> }
</code></li>
<li class="line-173"><code> $content = html_translate($content,$to);
</code></li>
<li class="line-174"><code> }
</code></li>
</ol>
Copier après la connexion
Environment Variables
POST Data
content
%3Cp%3E%E6%82%A8%E6%98%AF%E5%90%A6%E6%AD%A3%E5%9C%A8%E5%AF%BB%E6%89%BE%E4%B8%80%E6%AC%BE%E8%9E%8D%E5%90%88%E7%BB%8F%E5%85%B8%E6%9A%97%E9%BB%91%E5%85%83%E7%B4%A0%E4%B8%8E%E5%87%AF%E5%B0%94%E7%89%B9%E7%A5%9E%E8%AF%9D%E7%A5%9E%E7%A7%98%E6%B0%94%E8%B4%A8%E7%9A%84%E5%83%8F%E7%B4%A0%E9%A3%8E%E6%A0%BC%E5%8A%A8%E4%BD%9C%E8%A7%92%E8%89%B2%E6%89%AE%E6%BC%94%E6%B8%B8%E6%88%8F%EF%BC%9Fphp%E5%B0%8F%E7%BC%96%E7%99%BE%E8%8D%89%E4%B8%BA%E6%82%A8%E5%B8%A6%E6%9D%A5Drova+Forsaken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%8B%E5%86%85%E5%AE%B9%EF%BC%8C%E6%B7%B1%E5%85%A5%E4%BA%86%E8%A7%A3Drova+Forsaken+Kin%E7%9A%84%E5%BC%95%E4%BA%BA%E5%85%A5%E8%83%9C%E7%9A%84%E4%B8%96%E7%95%8C%E3%80%82%3C%2Fp%3E%3Ch3%3E%09Drova+Forsaken+Kin%E4%BB%B7%E6%A0%BC%E4%BB%8B%E7%BB%8D%3C%2Fh3%3E%3Cp%3E%09%E7%AD%94%EF%BC%9ADrova+Forsaken+Kin%E5%94%AE%E4%BB%B7%E4%B8%BA92%E5%85%83%E3%80%82%3C%2Fp%3E%3Cp%3E%09%E5%85%B3%E4%BA%8E%E5%94%AE%E4%BB%B7%E8%AF%B4%E6%98%8E%3C%2Fp%3E%3Cp%3E%09%E5%9B%BD%E5%86%85Steam%E5%B9%B3%E5%8F%B0%E4%B8%8A%EF%BC%8C%E8%AF%A5%E6%AC%BE%E6%B8%B8%E6%88%8F%E7%8E%B0%E5%94%AE%E4%BB%B7%E4%B8%BA82.8%E5%85%83%EF%BC%88%E5%8E%9F%E4%BB%B792%E5%85%83%EF%BC%89%E3%80%82%3C%2Fp%3E%3Cp%3E%09%E6%AD%A4%E4%BB%B7%E6%A0%BC%E4%B8%BA%E9%A6%96%E5%8F%91%E4%BC%98%E6%83%A0%E6%97%B6%E6%9C%9F%E6%8A%98%E6%89%A3%E4%BB%B7%EF%BC%8C%E9%94%99%E8%BF%87%E5%B0%86%E6%97%A0%E6%B3%95%E5%9C%A8%E8%BF%91%E6%9C%9F%E5%86%85%E4%BA%AB%E5%8F%97%E7%B1%BB%E4%BC%BC%E4%BC%98%E6%83%A0%E3%80%82%3C%2Fp%3E%3Cp+style%3D%22text-align%3Acenter%3B%22%3E%09%3Cimg+src%3D%22https%3A%2F%2Fimg.php.cn%2Fupload%2Farticle%2F000%2F000%2F000%2F172959333642115.jpg%22+alt%3D%22Drova+Forsaken+Kin%E4%BB%B7%E6%A0%BC%E4%BB%8B%E7%BB%8D%22+%2F%3E+%3C%2Fp%3E%3Cp%3E%09%E8%B4%AD%E5%85%A5%E6%B8%B8%E6%88%8F%E7%9A%84%E6%8E%A8%E8%8D%90%3C%2Fp%3E%3Cp%3E%09%E5%A6%82%E6%9E%9C%E6%82%A8%E5%AF%B9%E3%80%8ADrova+Forsaken+Kin%E3%80%8B%E6%84%9F%E5%85%B4%E8%B6%A3%EF%BC%8C%E5%B9%B6%E8%AE%A1%E5%88%92%E4%BB%A5%E4%BC%98%E6%83%A0%E4%BB%B7%E6%A0%BC%E8%B4%AD%E5%85%A5%EF%BC%8C%E5%BB%BA%E8%AE%AE%E5%9C%A8%E9%A6%96%E5%8F%91%E4%BC%98%E6%83%A0%E9%98%B6%E6%AE%B5%E5%B0%BD%E5%BF%AB%E8%A1%8C%E5%8A%A8%E3%80%82%3C%2Fp%3E%3Cp%3E%09%E6%AD%A4%E5%A4%96%EF%BC%8C%E8%AF%B7%E9%9A%8F%E6%97%B6%E7%95%99%E6%84%8F%E5%90%84%E5%A4%A7%E6%B8%B8%E6%88%8F%E5%94%AE%E5%8D%96%E5%B9%B3%E5%8F%B0%E7%9A%84%E4%BC%98%E6%83%A0%E4%BF%A1%E6%81%AF%EF%BC%8C%E6%9C%89%E6%9C%9B%E8%8E%B7%E5%BE%97%E6%9B%B4%E4%B8%B0%E5%8E%9A%E7%9A%84%E4%BC%98%E6%83%A0%E5%92%8C%E7%A6%8F%E5%88%A9%E3%80%82%3C%2Fp%3E%3Cp+style%3D%22text-align%3Acenter%3B%22%3E%09%3Cimg+src%3D%22https%3A%2F%2Fimg.php.cn%2Fupload%2Farticle%2F000%2F000%2F000%2F172959333860610.jpg%22+alt%3D%22Drova+Forsaken+Kin%E4%BB%B7%E6%A0%BC%E4%BB%8B%E7%BB%8D%22+%2F%3E+%3C%2Fp%3E
Server/Request Data
PATH
/usr/local/bin:/usr/bin:/bin
HTTP_CONTENT_TYPE
application/x-www-form-urlencoded;charset=UTF-8
HTTP_CONNECTION
Keep-Alive
PATH_INFO
/api/index/fanyi_article_content
SERVER_NAME
td.880772.xyz
SERVER_ADDR
188.165.242.95
SERVER_SOFTWARE
nginx/1.20.2
GATEWAY_INTERFACE
CGI/1.1
DOCUMENT_ROOT
/data/wwwroot/td.880772.xyz/public
REQUEST_URI
/api/index/fanyi_article_content
CONTENT_TYPE
application/x-www-form-urlencoded;charset=UTF-8
QUERY_STRING
s=/api/index/fanyi_article_content
SCRIPT_FILENAME
/data/wwwroot/td.880772.xyz/public/index.php
PHP_VALUE
open_basedir=/data/wwwroot/td.880772.xyz/public:/tmp/:/proc/:/data/wwwroot/td.880772.xyz/
REQUEST_TIME_FLOAT
1729593409.9581
Environment Variables
empty
ThinkPHP Constants
PUBLIC_PATH
/data/wwwroot/td.880772.xyz/public/../public/
APP_PATH
/data/wwwroot/td.880772.xyz/public/../application/
THINK_START_TIME
1729593409.9586
THINK_PATH
/data/wwwroot/td.880772.xyz/thinkphp/
LIB_PATH
/data/wwwroot/td.880772.xyz/thinkphp/library/
CORE_PATH
/data/wwwroot/td.880772.xyz/thinkphp/library/think/
TRAIT_PATH
/data/wwwroot/td.880772.xyz/thinkphp/library/traits/
ROOT_PATH
/data/wwwroot/td.880772.xyz/
EXTEND_PATH
/data/wwwroot/td.880772.xyz/extend/
VENDOR_PATH
/data/wwwroot/td.880772.xyz/vendor/
RUNTIME_PATH
/data/wwwroot/td.880772.xyz/runtime/
LOG_PATH
/data/wwwroot/td.880772.xyz/runtime/log/
CACHE_PATH
/data/wwwroot/td.880772.xyz/runtime/cache/
TEMP_PATH
/data/wwwroot/td.880772.xyz/runtime/temp/
CONF_PATH
/data/wwwroot/td.880772.xyz/public/../application/
ADDON_PATH
/data/wwwroot/td.880772.xyz/addons/
ThinkPHP
V5.0.24
{ 十年磨一剑-为API开发设计的高性能框架 }
<script>
var LINE = 165;
function $(selector, node){
var elements;
node = node || document;
if(document.querySelectorAll){
elements = node.querySelectorAll(selector);
} else {
switch(selector.substr(0, 1)){
case '#':
elements = [node.getElementById(selector.substr(1))];
break;
case '.':
if(document.getElementsByClassName){
elements = node.getElementsByClassName(selector.substr(1));
} else {
elements = get_elements_by_class(selector.substr(1), node);
}
break;
default:
elements = node.getElementsByTagName();
}
}
return elements;
function get_elements_by_class(search_class, node, tag) {
var elements = [], eles,
pattern = new RegExp('(^|\\s)' + search_class + '(\\s|$)');
node = node || document;
tag = tag || '*';
eles = node.getElementsByTagName(tag);
for(var i = 0; i < eles.length; i++) {
if(pattern.test(eles[i].className)) {
elements.push(eles[i])
}
}
return elements;
}
}
$.getScript = function(src, func){
var script = document.createElement('script');
script.async = 'async';
script.src = src;
script.onload = func || function(){};
$('head')[0].appendChild(script);
}
;(function(){
var files = $('.toggle');
var ol = $('ol', $('.prettyprint')[0]);
var li = $('li', ol[0]);
// 短路径和长路径变换
for(var i = 0; i < files.length; i++){
files[i].ondblclick = function(){
var title = this.title;
this.title = this.innerHTML;
this.innerHTML = title;
}
}
// 设置出错行
var err_line = $('.line-' + LINE, ol[0])[0];
err_line.className = err_line.className + ' line-error';
$.getScript('//cdn.bootcss.com/prettify/r298/prettify.min.js', function(){
prettyPrint();
// 解决Firefox浏览器一个很诡异的问题
// 当代码高亮后,ol的行号莫名其妙的错位
// 但是只要刷新li里面的html重新渲染就没有问题了
if(window.navigator.userAgent.indexOf('Firefox') >= 0){
ol[0].innerHTML = ol[0].innerHTML;
}
});
})();
</script>
Ce qui précède est le contenu détaillé de. pour plus d'informations, suivez d'autres articles connexes sur le site Web de PHP en chinois!