PhpStringTokenParser

PhpStringTokenParser

class PhpStringTokenParser

Methods

static string parse(string $str)

Parses a string token.

static string parseEscapeSequences(string $str, null|string $quote)

Parses escape sequences in strings (all string types apart from single quoted).

static string parseDocString(string $startToken, string $str)

Parses a constant doc string.

Details

static string parse(string $str)

Parses a string token.

Parameters

登录查看完整内容
string $str String token content