runkit_lint_file
(PECL runkit:0.7-0.9)
runkit_lint_file — Check the PHP syntax of the specified file
Popis
bool runkit_lint_file
( string $filename
)
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.
Note: Podpora pieskoviska (potrebná pre runkit_lint(), runkit_lint_file(), a triedu Runkit_Sandbox) je dostupná len v PHP 5.1, alebo špeciálne upravených verziách PHP 5.0 a vyžaduje, aby bola povolená bezpečnosť vlákien. Pozri súbor README zahrnutý v runkit balíku pre ďaľšie informácie.
Parametre
- filename
-
File containing PHP Code to be lint checked
Vrátené hodnoty
Vracia TRUE pri úspechu alebe FALSE pri chybe.