PHP 杂项函数: September 2011 Archives

PHP eval() 函数

| | Comments (0)

PHP eval() 函数,为什么提到这个函数,最近学木马,本部想学,被逼得,不学清不清木马,又不想网站清空重建,清了几天了,她是批量挂代码,查找不容易啊,还时不时回马枪,爱,大家都是混饭吃,何必呢。

定义和用法

eval() 函数把字符串按照 PHP 代码来计算。

该字符串必须是合法的 PHP 代码,且必须以分号结尾。

如果没有在代码字符串中调用 return 语句,则返回 NULL。如果代码中存在解析错误,则 eval() 函数返回 false。

About this Archive

This page is a archive of entries in the PHP 杂项函数 category from September 2011.

Find recent content on the main index or look in the archives to find all content.