mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-02 11:36:54 -04:00
10 lines
291 B
Text
10 lines
291 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();
|