(PECL runkit >= 0.7.0)
runkit_lint — Check the PHP syntax of the specified php code
$code
) : boolThe 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.
Note: 沙锟斤拷支锟街o拷锟斤拷 runkit_lint()锟斤拷runkit_lint_file() 锟斤拷锟斤拷锟斤拷锟斤拷 Runkit_Sandbox 锟斤拷锟斤拷锟斤拷锟借)锟斤拷锟斤拷锟斤拷锟斤拷 PHP 5.1.0 锟斤拷 PHP 5.0 锟斤拷锟截憋拷锟睫诧拷锟芥本锟斤拷锟斤拷锟斤拷锟斤拷锟斤拷锟竭程帮拷全锟斤拷锟斤拷锟斤拷锟斤拷息锟缴参硷拷 runkit 锟斤拷锟叫碉拷 README 锟侥硷拷锟斤拷
code
PHP Code to be lint checked
锟缴癸拷时锟斤拷锟斤拷 TRUE
锟斤拷 锟斤拷锟斤拷锟斤拷失锟斤拷时锟斤拷锟斤拷 FALSE
锟斤拷