runkit_lint_file()
runkit_lint_file - Check the PHP syntax of the specified file
Syntax
bool runkit_lint_file (
string $filename)
Arguments
- filename - File containing PHP Code to be lint checked
Description
The runkit_lint_file() function performs a syntax (lint) check on the specified filename testing for scripting errors. This is similar to using php -l from the commandline.
Version
PHP PECL runkit >= 0.7.0
Return value
Returns TRUE on success or FALSE on failure.