|
PHP5中文手册
runkit_lint(PECL runkit:0.7-0.9) runkit_lint — Check the PHP syntax of the specified php code 说明
bool runkit_lint
( string $code
)
The runkit_lint() function performs a syntax (lint) check on the specified php code testing for scripting errors. This is similar to using php -l from the command line except runkit_lint() accepts actual code rather than a filename.
参数
返回值如果成功则返回 TRUE,失败则返回 FALSE。 |