Token pattern matching.
public static match ( string $code, string $parameters, array $options = [] ) : array | ||
$code | string | Source code to be analyzed. |
$parameters | string | An array containing token patterns to be matched. |
$options | array | The list of options to be used when matching `$code`: - 'ignore': An array of language tokens to ignore. - 'return': If set to 'content' returns an array of matching tokens. |
리턴 | array | Array of matching tokens. |