mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-02 19:46:58 -04:00
10 lines
294 B
Text
10 lines
294 B
Text
$user_name = 'Fred';
|
|
echo "<tt>Hello <strong>$user_name</tt></strong>";
|
|
|
|
// XHP: Typechecked, well-formed, and secure
|
|
$user_name = 'Andrew';
|
|
$xhp = <tt>Hello <strong>{$user_name}</strong></tt>;
|
|
// ^ @tag
|
|
// ^ @tag
|
|
// ^ @string
|
|
echo await $xhp->toStringAsync();
|