downloads | documentation | faq | getting help | mailing lists | licenses | wiki | reporting bugs | php.net sites | links | conferences | my php.net

search for in the

runkit_method_add> <runkit_lint_file
[edit] Last updated: Fri, 24 Feb 2012

view this page in

runkit_lint

(PECL runkit >= 0.7.0)

runkit_lint Check the PHP syntax of the specified php code

Descrição

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.

Nota: Suporte para Sandbox (necessário para runkit_lint(), runkit_lint_file(), e a classe Runkit_Sandbox) esta disponível apenas com o PHP 5.1 com versões do PHP 5.0 com patch especial e precisam que seja uma versão segura para thread. Veja o arquivo README incluído no pacote runkit para maiores informações.

Parâmetros

code

PHP Code to be lint checked

Valor Retornado

Retorna TRUE em caso de sucesso ou FALSE em falhas.

Veja Também



add a note add a note User Contributed Notes runkit_lint
There are no user contributed notes for this page.

 
show source | credits | stats | sitemap | contact | advertising | mirror sites