PhpToken::isTells whether the token is of given kind. Description
public bool PhpToken::is(intstringarray
$kind )
Tells whether the token is of given Parameters
Return ValuesA boolean value whether the token is of given kind. ExamplesExample #1 PhpToken::is example
Example #2 Usage with array
See Also
|