php - Inserting variables when using HEREDOC?

one text

Solution:

Figured out I don't even need to break the EOT to enter the variable, I can just add {$player_name} directly in to the EOT code. Who would've known I was overcomplicating it...

Source