高亮显示|函数|字符串
///// by iwind.org coldwind/iwind/month/ccterran
//这个函数是对标签里的内容进行分析,并输出
//例如:
//
以下内容为程序代码
$hello="hello";?>
sssssssssssss';// highlight($string);
// ?>
//保留了不完全的标签,如只有
以下内容为程序代码
,没有
,则输出中含有[code]function highlight($string){
$arr=explode("[code]",$string);
$total=sizeof($arr);
for($i=0;$i if(ereg("(.+)\[/code\]",$arr[$i])){
list($astr,$bstr)=split("\[/code\]",$arr[$i],"2");
highlight_string($astr);
echo"$bstr";
}
else{
if($i!="0"){
echo"[code]";
}
echo"$arr[$i]";
}
}
}

Hot AI Tools

Undresser.AI Undress
AI-powered app for creating realistic nude photos

AI Clothes Remover
Online AI tool for removing clothes from photos.

Undress AI Tool
Undress images for free

Clothoff.io
AI clothes remover

Video Face Swap
Swap faces in any video effortlessly with our completely free AI face swap tool!

Hot Article

Hot Tools

VSCode Windows 64-bit Download
A free and powerful IDE editor launched by Microsoft

SAP NetWeaver Server Adapter for Eclipse
Integrate Eclipse with SAP NetWeaver application server.

SecLists
SecLists is the ultimate security tester's companion. It is a collection of various types of lists that are frequently used during security assessments, all in one place. SecLists helps make security testing more efficient and productive by conveniently providing all the lists a security tester might need. List types include usernames, passwords, URLs, fuzzing payloads, sensitive data patterns, web shells, and more. The tester can simply pull this repository onto a new test machine and he will have access to every type of list he needs.

Atom editor mac version download
The most popular open source editor

PhpStorm Mac version
The latest (2018.2.1) professional PHP integrated development tool
