rfc:token_as_object
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | Next revisionBoth sides next revision | ||
rfc:token_as_object [2020/02/15 15:46] – nikic | rfc:token_as_object [2020/02/25 15:58] – nikic | ||
---|---|---|---|
Line 120: | Line 120: | ||
/** Get the name of the token. */ | /** Get the name of the token. */ | ||
- | public function getTokenName(): | + | public function getTokenName(): |
if ($this-> | if ($this-> | ||
return chr($this-> | return chr($this-> | ||
+ | } elseif (' | ||
+ | return $name; | ||
} else { | } else { | ||
- | return | + | return |
} | } | ||
} | } |
rfc/token_as_object.txt · Last modified: 2020/11/12 13:33 by nikic