phpspider
phpspider copied to clipboard
彩蛋有毒啊...
根据文档,一个一个对照...采用测试的方法进行测试都没有问题。但是就是一直[error] Unknown error... 无奈之下怒查源码,发现有毒彩蛋一枚。
// 彩蛋
$included_files = get_included_files();
$content = file_get_contents($included_files[0]);
if (!preg_match("#/\* Do NOT delete this comment \*/#", $content) || !preg_match("#/\* 不要删除这段注释 \*/#", $content))
{
$msg = "Unknown error...";
log::error($msg);
exit;
}
嘿嘿,第一次我就发现了,哈哈
好玩吗,让你随便删除注释
preg_match正则支持中文?
原来是这样!!!
这实在很棒棒哟 : )
作者狠毒呀😄